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 view (last 30 days)
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..

Accepted Answer

Weird Rando
Weird Rando on 8 May 2016
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 Comments
Star Strider
Star Strider on 8 May 2016
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

Sign in to comment.

More Answers (0)

Categories

Find more on Audio I/O and Waveform Generation in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!