Audio signal characteristics information

2 views (last 30 days)
RoboKid
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.
play(recObj);
% Store data in double-precision array.
recordedSig = getaudiodata(recObj)
% Plot the waveform.
plot(recordedSig);

Answers (0)

Categories

Find more on Audio I/O and Waveform Generation in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!