|
LoadSound | ||
LoadSound Filename$, SoundIndex | ||
Parameters: Filename$ = The file name of the sound you wish to load SoundIndex = The Index where this sound data should be stored |
||
Returns: NONE | ||
LoadSound will load a sound file into your computers sound memory. You must provide it will the filename and path of the sound file you wish to load, plus a free Sound Index where the loaded sound data should be stored. Once the sound data has been loaded, you can play the sound using the PlaySound, PlayDynamicSound commands. FACTS: * LoadSound Expects sound files to be in the WAV format. Mini Tutorial: This example will load the sound file called "explosion.wav" as sound #1. ONce the sound is loaded into
This example would output (as long as the sound loaded).
|
Related Info: | GetFreeSound | LoopSound | PlaySound | SoundFreq | SoundMasterVolume | SoundPan | SoundVolume | StopSound : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |