Find size of a audio file

4 Ansichten (letzte 30 Tage)
Kishore
Kishore am 6 Dez. 2011
Hi all,
i was working on an audio file and landed in a position where i have to find the size of the file. How can i get the size of the audio file in matlab ?

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 6 Dez. 2011
For the special case of .wav files, you can use wavread():
siz = wavread(filename,'size') returns the size of the audio data contained in filename instead of the actual audio data, returning the vector siz = [samples channels].

Weitere Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by