octave:1> audioinfo('technical_difficulties.wav')For further information about this functionality refer to MATLAB manual pages on these functions: here and here.
scalar structure containing the fields:
Filename = technical_difficulties.wav
NumChannels = 2
SampleRate = 44100
TotalSamples = 305576
Duration = 6.9292
BitsPerSample = 16
BitRate = -1
octave:2> [y, Fs] = audioread('technical_difficulties.wav');
octave:3> player = audioplayer(y, Fs);
Tuesday, August 20, 2013
Audio File Reading and Writing
I have implemented audioinfo and audioread and they should work exactly as in MATLAB. Here is an example session.