|
GetSoundFreq | ||
FreqValue = GetSoundFreq(SoundIndex) | ||
Parameters: SoundIndex = The Index of the sound you wish to query |
||
Returns: FreqValue = The play back frequency of this sound (0 to 44000) |
||
GetSoundFreq will return the current frequency value of a sound. The frequency value returned will be between 0 (slowest) and 44000( fastest). FACTS: * GetSoundFreq will only return the play back fequency of sounds you've manually set with using the SoundFreq command. It can not read back the play back frequency of loaded sound files at this time. Mini Tutorial: This simple example, loads a sound file as sound 1, sets the sounds volume, panning and play back frequency, then displays this information back to the user.
This example would output.
|
Related Info: | : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |