Real time recording using audiorecorder()
I'm trying to record a sound and play it out loud as it's recording, I was wondering if this was possible on matlab. What I have so far only lets me play after recording is complete.
f = 30000;
bt = 16;
a = audiorecorder(f,bt,1);
record(a,6);
%%
b = getaudiodata(a);plot(b); p1 = audioplayer(b,f);play(p1);
Posted Apr 15, 2016, 2:20 AM UTC
23