MATLAB Answers

Audio signal characteristics information

1 view (last 30 days)
RoboKid on 14 Nov 2013
Edited: Walter Roberson on 14 Nov 2013
I wanted to analyse the audio signal, it's amplitude, frequency, etc. using matlab.
What's data stored by 'getaudiodata' ,I understand that the audio signal gets quantified in magnitude and time. I appreciate all comments.
% Record audio signal for 5 seconds.
recObj = audiorecorder;
disp('Start speaking.')
recordblocking(recObj, 5);
disp('End of Recording.');
% Play back the recording.
% Store data in double-precision array.
recordedSig = getaudiodata(recObj)
% Plot the waveform.

Answers (0)

Community Treasure Hunt

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

Start Hunting!