System object: dsp.AudioFileReader
Package: dsp

Information about specific audio file


S = info(H)


S = info(H) returns a MATLAB® structure, S, with information about the audio file specified in the Filename property. The number of fields in S varies depending on the audio content of the file. For possible fields and values for the structure S, see the following table.

SampleRate Audio sampling rate of the audio file in Hz.
NumBits Number of bits used to encode the audio stream.
NumChannelsNumber of audio channels.

Was this topic helpful?