May i ask what is mean by length of audio? is that same with number of sample in audio? can give me some example to explain..

1 次查看(过去 30 天)
May i ask what is mean by length of audio? is that same with number of sample in audio? can give me some example to explain..

采纳的回答

Weird Rando
Weird Rando 2016-5-8
Length of the audio can be expressed in time. Example,this audio is 30 second long.
It can also be express as the number of sample. Example the audio has 14000 samples
  3 个评论
Star Strider
Star Strider 2016-5-8
Yes.
The sampling frequency, ‘Fs’ is in units of samples/second, so use that to convert them:
Number of samples = Fs * time
Time = number of samples / Fs

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Audio I/O and Waveform Generation 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by