Newbie in Matlab. Simple voice recording?

Status
Not open for further replies.

ImbaDouz

Newbie level 2
Joined
Nov 3, 2009
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Malaysia
Activity points
1,293
Hey all,

I just started with Matlab a few days ago and am currently doing a project.
I have to record my voice(single word) using the built in funtions in Matlab. Anyone knows how to do it? Please advice.

I tried doing this, but the only output was a 'ticking' sound and nothing else.

r = audiorecorder(22050, 16, 1);
record(r,6); % speak into microphone, recording length 6 seconds
stop(r);
p = play(r); % listen

p/s: do I use audiorecorder or wavrecord to record my voice.

All advice and help are sincerely appreciated.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…