|
SoundFreq | |
SoundFreq SoundIndex, FreqValue | |
Parameters: SoundIndex = The Index identifier of sound you wish the change the volume of FreqValue = The play back frequency of this sound. |
|
Returns: NONE | |
SoundFreq will set the play back frequency of this sound. Frequency lets you manually control the speed at which a sound is played back. By changing the speed, you also change the pitch of the sound. Playing it faster will make it higher, slower will be lower. By default sounds get their play back frequency during loading with LoadSound. Frequencies range from 0 through 44000. FACTS: * SoundFreq values range between 0 to 44000 * Changing SoundFreq while a sound is playing, will alter the played sounds frequency also. Mini Tutorial: This example loads a sound file as sound #1, sets it to loop and plays it. Then in the main Do/Loop section of the code it is constantly adjusting the sounds play back frequency, to slow and speed up the looping sound.
|
Related Info: | GetSoundFreq | GetSoundMasterVolume | GetSoundPan | GetSoundStatus | GetSoundVolume | SoundMasterVolume | SoundPan | SoundVolume : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |