Example of Playing a Sound Resource in Macintosh QuickBasic (43253)
The information in this article applies to:
- Microsoft QuickBASIC Compiler for the Apple Macintosh 1.0
- Microsoft QuickBASIC Compiler for the Apple Macintosh 1.0a
- Microsoft QuickBASIC Compiler for the Apple Macintosh 1.0b
This article was previously published under Q43253 SUMMARY
The SOUND and WAVE statements in QuickBasic for the Macintosh let you
generate four-voice sound. In addition, using Macintosh Sound Manager
routines, you can also play sounds that have been stored on disk as
resources, as described below.
The following is an explanation and example of playing a sound or
"snd " resource using Macintosh QuickBasic. The routines for playing
sounds are managed by the Sound Manager. The Sound Manager is
documented in Volume V of "Inside Macintosh" by Apple Computer
(published by Addison-Wesley).
There are seven routines that call the Sound Manager. SndPlay is the
one that plays "snd " resources. The seven Sound Manager routines are
not available as QuickBasic Toolbox Library routines (MBLCs), and they
must be called with a modified version of QuickBasic's ToolBox
statement. The ToolBox statement itself is an MBLC.
This information applies to Microsoft QuickBasic versions 1.0, 1.0a,
and 1.0b for Apple Macintosh.
Modification Type: | Major | Last Reviewed: | 10/20/2003 |
---|
Keywords: | KB43253 |
---|
|