SOUND WAIT Fails Without Multivoice Mode in Macintosh BASIC (35829)






This article was previously published under Q35829

SUMMARY

The SOUND WAIT and SOUND RESUME statements only work with multivoice mode. If SOUND WAIT and SOUND RESUME are used with single-voice sound mode in a compiled application, the system will hang when the sound queue overflows. In the interpreter, your program will stop, but you can press COMMAND-PERIOD to return to the environment. The sound queue is limited by the Macintosh to 12 elements.

The easiest way to invoke multivoice mode is to use a WAVE 0,SIN statement, or replace a WAVE 0 statement with the WAVE 0,SIN statement. The SOUND WAIT and SOUND RESUME statements will now work correctly, and the timbre or tone of the sound will be different.

MORE INFORMATION

The above information should be added to the SOUND statement documentation in the "BASIC Language Reference" manual in the following products:

  1. Microsoft QuickBASIC Version 1.00 for Apple Macintosh
  2. Microsoft BASIC Compiler Version 1.00 for Apple Macintosh
  3. Microsoft BASIC Interpreter Versions 2.00, 2.10, and 3.00 for Apple Macintosh

Modification Type: Minor Last Reviewed: 1/8/2003
Keywords: KB35829