AudioSampleRate
AudioSampleRate[audio]
returns the sample rate of the Audio object audio.
AudioSampleRate[video]
returns the sample rate of the first audio track of video.
Examples
open allclose allBasic Examples (3)
Sample rate of an Audio object:
Properties & Relations (4)
The sample rate can be imported directly from files:
Use AudioResample to change the sample rate of an audio:
The sample rate of an audio can be computed by dividing AudioLength by Duration:
For Audio, dividing the number of samples by the sample rate is equivalent to the duration:
This could be achieved by dividing AudioLength by AudioSampleRate:
Text
Wolfram Research (2016), AudioSampleRate, Wolfram Language function, https://reference.wolfram.com/language/ref/AudioSampleRate.html (updated 2021).
CMS
Wolfram Language. 2016. "AudioSampleRate." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2021. https://reference.wolfram.com/language/ref/AudioSampleRate.html.
APA
Wolfram Language. (2016). AudioSampleRate. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/AudioSampleRate.html