You can convert .wma to .wav file using some available software, load
the .wav file in matlab and save it to .mat file. The file size will
increase by a lot though.
Not all .mat files are Matlab files.
Currently, I'm using Switch to convert .wma file to .wav
format,and load using the following command:
************************************************************
load ('song.wav');
player=audioplayer(y,Fs);
play(player)
A message of "Unknown text on line number 1 of ASCII file"
appear,
and
************************************************************
player=wavread('song.wav')
play(player)
A message of "Incorrect chunk size information in WAV file"
appear
************************************************************
what is the mistake I have made ?
The second method using wavread is correct. Looks like the header of
the wav file was not right. I would try to wavread a different wav
file from a different source (ex. windows recorder) and see if it
works.
"Stephanie Micallef" <eff...@yahoo.com> wrote in message
news:iphao5$i8i$1...@fred.mathworks.com...
You probably don't want to use the LOAD function; use WAVREAD instead, and
make sure that either the file is in the current directory or that you've
specified the full path to the file in the WAVREAD call.
--
Steve Lord
sl...@mathworks.com
To contact Technical Support use the Contact Us link on
http://www.mathworks.com
Yumnam Kirani Singh
Tronglaobi Awang Leikai