How is audio data stored in matlab?
1 view (last 30 days)
Show older comments
is it stored in simple arrays or multidimensional arrays?
0 Comments
Accepted Answer
Azzi Abdelmalek
on 14 Aug 2013
Edited: Azzi Abdelmalek
on 14 Aug 2013
[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')
0 Comments
More Answers (0)
See Also
Categories
Find more on Audio and Video Data in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!