GetSoundFrequency()

Syntax

Result = GetSoundFrequency(#Sound [, Channel])
Description
Get the current frequency of the sound.

Parameters

#Sound The sound to use.
Channel (optional) The channel to use. It's the value returned by PlaySound() when using the #PB_Sound_MultiChannel flag.

Return value

Returns the current frequency (in Hz) of the sound.

See Also

SetSoundFrequency()

Supported OS

Windows

<- FreeSound() - Sound Index - GetSoundPosition() ->