How is audio data stored in matlab?

3 Ansichten (letzte 30 Tage)
Febin Benjamin
Febin Benjamin am 14 Aug. 2013
is it stored in simple arrays or multidimensional arrays?

Akzeptierte Antwort

Azzi Abdelmalek
Azzi Abdelmalek am 14 Aug. 2013
Bearbeitet: Azzi Abdelmalek am 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')

Weitere Antworten (0)

Kategorien

Mehr zu Audio I/O and Waveform Generation finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by