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 visualizzazione (ultimi 30 giorni)
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..

Risposta accettata

Weird Rando
Weird Rando il 8 Mag 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 Commenti
Star Strider
Star Strider il 8 Mag 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

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Audio I/O and Waveform Generation in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by