From: mohd syauqee on 31 Mar 2010 09:54 panabiker <ghuang(a)comcast.net> wrote in message <1186156817.532316.274430(a)z24g2000prh.googlegroups.com>... > On Aug 3, 9:51 am, "Ryan Underwood" <ryan8...(a)hotmail.com> wrote: > > 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. > > can i know how to save matlab file in .wav format?
|
Pages: 1 Prev: Problem with Genetic Algorithm Next: Stop windows sleeping while matlab running |