ImbaDouz
Newbie level 2
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.
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.