[comp.sys.next] Sync/Timing on sounds

cz@.ai.mit.edu (Christopher R Zach) (03/14/91)

Ok, I have been trying to write a C program segment to make the Next read in
a soundfile, and play it n times in succession (a beep sound, can't use the 
DSP because it is already allocated). Anyway, if I send 5 messages to the
sound id I defined (ex:
[sound play];
[sound play];
The sound starts playing in the background and only plays once. I need a way
for the program to stall inbetween sounds. Is there a way to put the CPU to
sleep for say 1/10 of a second? Not tie it up in a loop, just have it wait
for a clock alarm to go off...

Pls. Email me since I don't get to read news often

CZ
(cz@pogo.ai.mit.edu)