Ak An Audio Toolkit for Tcl & Tk Andrew Payne Digital - - PowerPoint PPT Presentation

ak
SMART_READER_LITE
LIVE PREVIEW

Ak An Audio Toolkit for Tcl & Tk Andrew Payne Digital - - PowerPoint PPT Presentation

Ak An Audio Toolkit for Tcl & Tk Andrew Payne Digital Equipment Corporation Cambridge Research Laboratory June, 1993 dT Slide 1 Outline t AudioFile t Ak details and code examples t Implementation t Future work dT Slide 2 AudioFile t


slide-1
SLIDE 1

Slide 1

dT

Ak

An Audio Toolkit for Tcl & Tk Andrew Payne

Digital Equipment Corporation Cambridge Research Laboratory June, 1993

slide-2
SLIDE 2

Slide 2

dT

Outline

t AudioFile t Ak details and code examples t Implementation t Future work

slide-3
SLIDE 3

Slide 3

dT

AudioFile

t Network-transparent, device-independent audio system t Emphasis on client-side handling of audio t Unique model of time

slide-4
SLIDE 4

Slide 4

dT

Abstractions

t Connections to AudioFile servers: audioserver main "north-fork:0" t Device contexts: main context room-device -device 1 t Requests ("audio widgets") t Types: play, action, record, passthrough t Operations: create, config, delete

slide-5
SLIDE 5

Slide 5

dT

Request Examples

t Create play request: set req [room-dev create play "hello.au"\

  • start {now +5s} -stop {now +6s}\
  • offset {+10s}]

t Configure the request: room-dev reqconfig $req -stop {now} t Create an action: room-dev create action \ "puts stdout STOP!" -at {now +5s}

slide-6
SLIDE 6

Slide 6

dT

Events

t AudioFile events: ring, hookswitch, loop current, DTMF detect phone-dev bind <RingStart> \ "phone-dev hook off" t Command substitution

slide-7
SLIDE 7

Slide 7

dT

Implementation

t 2,500 lines of C t Request type table t Audio time scheduler t Mostly independent of Tk

slide-8
SLIDE 8

Slide 8

dT

The Future

t Lots of work left! t Applications: t Full-featured tape deck t Multimedia presentations and tutorials t Telephone inquiry system t Design a signal processing architecture t First release at end of summer