Audio signal characteristics information
1 次查看(过去 30 天)
显示 更早的评论
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);
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Audio I/O and Waveform Generation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!