Wednesday, November 18, 2009

Program to read a .wav file, plot the graph & play the file.

CODE



InputFilename = 'chord.wav';
[inspeech, Fs, bits] = wavread(InputFilename);
figure(1);
subplot(3,1,1);
plot(inspeech);
grid;
soundsc(inspeech, Fs);

No comments:

Post a Comment