tclwavp: playing .WAV files in Tcl under win32 This is a trivial extension, giving access to the PlaySound win32 call from within Tcl. To use it: ---------- 1) unzip tclwavp.zip 2) copy tclwavp.dll to somewhere in your path (or near tclsh.exe) 3) In Tcl: load tclwavp wavplay tada.wav ;# starts an asynchronous playing after 300 wavplay "" ;# stops the playing Remarks: -------- - This is just a wrapper. The shortcomings are those of PlaySound: (a) No way to know when a sound is finished playing. (b) No way to queue a new sound for playing AFTER the current one. If a sound is already playing, the new one overrides it. - However it may help those with simple needs ! (like me) Alexandre Ferrieux, Mar 12 1998