MATLAB Function Reference |
Return information about Microsoft WAVE (.wav
) sound file
Syntax
Description
[m d] = wavfinfo(filename)
returns information about the contents of the WAVE sound file specified by the string filename
.
m
is the string 'Sound (WAV) file'
, if filename
is a WAVE file. Otherwise, it contains an empty string (''
).
d
is a string that reports the number of samples in the file and the number of channels of audio data. If filename
is not a WAVE file, it contains the string 'Not a WAVE file'
.
See Also
waterfall | wavplay |
© 1994-2005 The MathWorks, Inc.