Microphone:getSampleRate

Returns the number of samples recorded each second. Higher sample rates lead to higher quality audio, but they can reduce performance and may not be supported by all microphones.

sampleRate = Microphone:getSampleRate()

Arguments

None

Returns

NameTypeDescription
sampleRatenumberThe number of samples recorded every second.

See also