Path: utzoo!news-server.csri.toronto.edu!rutgers!sun-barr!apple!snorkelwacker.mit.edu!ai-lab!cz@.ai.mit.edu From: cz@.ai.mit.edu (Christopher R Zach) Newsgroups: comp.sys.next Subject: Sync/Timing on sounds Keywords: Sounds Message-ID: <13960@life.ai.mit.edu> Date: 13 Mar 91 22:42:59 GMT Sender: news@ai.mit.edu Organization: The Internet Lines: 15 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)