Microsoft KB Archive/35829

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 17:55, 18 July 2020 by 3155ffGd (talk | contribs) (importing KB archive)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Knowledge Base


SOUND WAIT Fails Without Multivoice Mode in Macintosh BASIC

Article ID: 35829

Article Last Modified on 11/21/2006

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



Additional query words: BasicCom MQuickB

Keywords: KB35829