This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.


System object: dsp.AudioFileReader
Package: dsp

Information about specific audio file


S = info(afr)


S = info(afr) 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?