The output structure displays the sample rate of the audio signal in Hz, number of bits used to encode the audio stream, and the number of audio channels.
S = info(afr)
S = struct with fields:
SampleRate: 22050
NumBits: 16
NumChannels: 1
Information about the audio file specified in the Filename
property, returned as a structure. The number of fields in the structure
S varies depending on the audio content of the file. This table
shows some of the fields that can appear in the structure
S.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.