plz tell me how i save this audio and after that i will check that this audio file matches or not please help me in this regard....

1 view (last 30 days)
a= audiorecorder(8000,8,1)
record(a,5)
b=getaudiodata(a)
plot(b)
sound(b)

Accepted Answer

Walter Roberson
Walter Roberson on 7 Jan 2016
Save it where?
save('OutputFile.mat', 'b'); %save as .mat file
wavwrite(b, 'OutputFile.wav'); %save as WAV file.

More Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!