MATLAB: How is audio data stored in matlab

audioMATLAB

is it stored in simple arrays or multidimensional arrays?

Best Answer

[y,Fs] = audioread('YourAudioFile');
%Y is a nx1 or nx2 array
% Fs is a sample rate
To get the info of your audio file you can use
audioinfo('YourAudioFile')
Related Question