X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: "Derek" Newsgroups: comp.os.msdos.djgpp Subject: sound(frequency,duration) function? Lines: 12 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Message-ID: Date: Fri, 14 Dec 2001 18:19:11 -0600 NNTP-Posting-Host: 207.109.201.120 X-Trace: news.uswest.net 1008375893 207.109.201.120 (Fri, 14 Dec 2001 18:24:53 CST) NNTP-Posting-Date: Fri, 14 Dec 2001 18:24:53 CST To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hello, is there a function that you can call in which you tell it the frequency and the duration, and the program can still keep executing while the sound is playing, then the sound will turn off once the duration stops? I am aware of sound(), sleep(), and nosound(), but the sleep() will completely stop the whole program, and I don't want that. Thanks, Derek Young