Tags: 5fs, 8000y, int16, matlab, programming, r12, record, sound, speakers, wavplay, wavrecord, xpmachine

How to Record Sound in Matlab

On Programmer » Matlab

361 words with 0 Comments; publish: Tue, 06 May 2008 23:45:00 GMT; (20046.88, « »)

I want to record sound that comes over the SPEAKERS in an XP

machine with Matlab R12.1.

Fs = 8000;

y = wavrecord(5*Fs, Fs, 'int16');

wavplay(y, Fs);

only captures and plays noise, which I assume is due to sound-card's

line-in port is OPEN.

All assistance is greatly appreciated.

Thanks and Regards,

Brij

All Comments

Leave a comment...

  • 0 Comments