DSPRelated.com
Forums

reading wave files

Started by c r October 22, 2002
I am currently trying to do some simulations of a graphic equalizer that I am
designing using FIR filters and I am having problem reading in wav files that
are just standard music. I am getting an error 85 and it says it is in the
"wrong format". Is there a proper way to convert a mp3, or audio track to wav
so that I can read it in and record the outputs to another wav file?

Thanks

Craig




Hi Craig,

I'm interested to know more about your FIR equaliser, are you designing a
multi-rate system?

Regards,

Alex Young
DSP software Engineer
Consultant for Philips Digital Systems Laboratories
Philips Technology Campus Leuven
Interleuvenlaan 74-82
B-3001 LEUVEN, BELGIUM
e-mail: c r <decious99@yahoo To: .com> cc: (bcc: Alex
Young/LEU/PDSL/PHILIPS)

Subject: [matlab] reading
wave files

22/10/02 05:36 Classification:
I am currently trying to do some simulations of a graphic equalizer that I am
designing using FIR filters and I am having problem reading in wav files that
are just standard music. I am getting an error 85 and it says it is in the
"wrong format". Is
there a proper way to convert a mp3, or audio track to wav so that I can read it
in and record the outputs to another wav file?

Thanks

Craig _____________________________________
Note: If you do a simple "reply" with your email client, only the author of this
message will receive your answer. You need to do a "reply all" if you want your
answer to be distributed to the entire group.

_____________________________________
About this discussion group:

To Join:

To Post:

To Leave:

Archives: http://www.yahoogroups.com/group/matlab

More DSP-Related Groups: http://www.dsprelated.com/groups.php3

">http://docs.yahoo.com/info/terms/


To use wavread in MATLAB the audio file should be in
Microsoft WAVE sound format. If it is a normal PCM
file you can simply use fread without any problem if
you already know the number of bits per sample.

For converting mp3 to wave, in some audio players the
output can be configured to a file instead of audio
devces. In Winamp you can do this by going to
options->preferences->output and choosing disk writer
plugin. I think this produces a wave file.

You can also search google for mp3 to wave conversion.
But most programs might be commercial.

Navan --- c r <> wrote:
> I am currently trying to do some simulations of a
> graphic equalizer that I am designing using FIR
> filters and I am having problem reading in wav files
> that are just standard music. I am getting an error
> 85 and it says it is in the "wrong format". Is
> there a proper way to convert a mp3, or audio track
> to wav so that I can read it in and record the
> outputs to another wav file?
>
> Thanks
>
> Craig


__________________________________________________


You could use "Goldwave" for this purpose.
WAV <-> RAW
MP3 <-> WAV

You can do transformation to any popular audio format.
visit www.goldwave.com for additional details. Rgds
Shakul -----Original Message-----
From: c r [mailto:]
Sent: Tuesday, October 22, 2002 9:07 AM
To:
Subject: [matlab] reading wave files I am currently trying to do some simulations of a graphic equalizer that I
am designing using FIR filters and I am having problem reading in wav files
that are just standard music. I am getting an error 85 and it says it is in
the "wrong format". Is there a proper way to convert a mp3, or audio track
to wav so that I can read it in and record the outputs to another wav file?

Thanks

Craig _____________________________________
Note: If you do a simple "reply" with your email client, only the author of
this message will receive your answer. You need to do a "reply all" if you
want your answer to be distributed to the entire group.

_____________________________________
About this discussion group:

To Join:

To Post:

To Leave:

Archives: http://www.yahoogroups.com/group/matlab

More DSP-Related Groups: http://www.dsprelated.com/groups.php3

">http://docs.yahoo.com/info/terms/