|
SoundVolume | ||
SoundVolume SoundIndex, VolumeLevel | ||
Parameters: SoundIndex = The Index identifier of sound you wish the change the volume of VolumeLevel = The volume of this sound. (range 0 to 255) |
||
Returns: NONE | ||
SoundVolume will set the play back volume of this sound. The volume ranges between zero and 255. Zero being the lowest and 255 being the highest. FACTS: * SoundVolume ranges between 0 and 255. * Changing SoundVolume while the sound is playing, will change the play back volume of that sound also. Mini Tutorial: This example loads a sound file as sound #1, and sets it's play back volume to 100. The user is then prompted to press a key. When they do, the Sound is played. The program then waits until the sound has stopped playing, sets the volume higher and prompts the user again.
This example would output (as long as the sound loaded).
|
Related Info: | GetSoundMasterVolume | GetSoundVolume | PauseSound | PlaySound | SoundFreq | SoundMasterVolume | SoundPan : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |