AudioLength
AudioLength[audio]
returns the number of samples in the Audio object audio.
Details
- AudioLength returns the actual number of samples stored in each channel of the Audio object.
- The duration of an audio is computed as the number of samples divided by the sample rate.
Examples
open allclose all
Wolfram Research (2016), AudioLength, Wolfram Language function, https://reference.wolfram.com/language/ref/AudioLength.html.
Text
Wolfram Research (2016), AudioLength, Wolfram Language function, https://reference.wolfram.com/language/ref/AudioLength.html.
CMS
Wolfram Language. 2016. "AudioLength." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/AudioLength.html.
APA
Wolfram Language. (2016). AudioLength. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/AudioLength.html