From: st on
Hi all, i would like to have your advise on the matter above.

I intended to extract all frequencies / pitch of my .wav file and display all the data on the command window. But the getaudiodata function seems like not supported in MATLAB (I can't find this in HELP).

mydata = getaudiodata('test1.wav','int16');
fprintf (mydata);

*this is the link that i got this function http://www.johnloomis.org/ece202/labs/sound/audiorecorder.html

Then i tried with
[y, Fs, nbits] = wavread('test1.wav');
fprintf (y,Fs,nbits);

but i got error again with the fprintf statement.


I m glad to have your advise on my mistake. I am a beginner in MATLAB and wish to learn from mistakes.

Appreciates for your advise.