SoundData:getSampleRate
Returns the number of samples per second in the SoundData. This is usually a high number like 44100.
frequency = SoundData:getSampleRate()
Arguments
None
Returns
Name | Type | Description |
frequency | number | The number of samples per second in the SoundData. |
See also
AudioStream:getSampleRate
Source:getSampleRate
SoundData