Skip to content

getFrameRate()

Return the sample's recording rate.

audiosample.getFrameRate()

The rate is fixed by the audio file and is the same for every voice. To change how the sample sounds, use setFrequency() or setPitch() instead.

Returns

return frameRate

Value Type Description
frameRate float The recording rate, in hertz, for example 44100.0; None if an error occurs.