How is audio data stored in matlab?

1 visualizzazione (ultimi 30 giorni)
is it stored in simple arrays or multidimensional arrays?

Risposta accettata

Azzi Abdelmalek
Azzi Abdelmalek il 14 Ago 2013
Modificato: Azzi Abdelmalek il 14 Ago 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')

Più risposte (0)

Categorie

Scopri di più su Audio I/O and Waveform Generation in Help Center e File Exchange

Tag

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by