Click to See Complete Forum and Search --> : Convert mp3 to wav
redhatter
11-15-2001, 01:56 PM
Hi all--
I recently got a cd burner, and have been able to duplicate cd's using xcdroast.
My problem is, I can't seem to convert my mp3's to wav's in order to burn them. Is it possible to convert mp3's to wav's in xcdroast, or do I need a different program to do this? Any help would be much appreciated.
-redhatter
"They are called computers simply because computation is the only significant
job that has so far been given to them."
stingray72
11-15-2001, 02:06 PM
XMMS will do if for you if you have the plugin. Look in the output plugins.
mpg123 will also do it. I think it's a -w command if I'm not mistaked.
DO a mpg123 --help, that will tell you how.
Hope this helps..
redhatter
11-15-2001, 02:15 PM
Thanks Gamecock. Rough game last weekend, good to see ESPN in Columbia though.
So I can covert the mp3 to a wav using mpg123, then open xcdroast and burn the wav? I'm not familiar with mpg123.
Thanks
stingray72
11-15-2001, 02:48 PM
Yeah, it was rough. I expected Florida to win. Wish we would have played better. They are awesome though!!
If you have the latest version of XMMS, I think the plugin is already there. It's call diskwriter.so or something like that. I'm at work and not at my Linux machine.
mpg123 works from the command line. Just do a man mpg123 and you will see all the features involved. There are also some GUI front ends for mpg123.
If you put your mp3 files in 1 folder and then go into that folder and do
mpg123 -w *.mp3 (if memory serves me correct)
It should turn all the mp3's in that folder to wav files with the same name. It's pretty simple.
I still think XMMS is the easiest, you don't have to remember all the commands of mpg123 that way.
Hope this helps...
Jomboni
11-15-2001, 05:44 PM
I don't know if xcdroast does it, but I know that 2 other cd recording frontends - kreatecd and gtoaster, will convert the mp3s to wavs and burn them for you. Gtoaster has a tab that lets you pick what each file extension is interpreted as... by default, mp3 files are burned as audio. I had to actually change it to burn it as a data cd because I have one of those nifty car stereos that plays mp3 cds :D
Choozo
11-15-2001, 05:55 PM
I found a simple script somewhere that I use for converting mp3 -> wav:
#!/bin/bash
# mp32wav
mpg123 -b 10000 -s "$1" | sox -t raw -r 44100 -s -w -c2 - "$2"
Put that in a file named 'mp32wav', make it executable, and run it like this: mp32wav filename.mp3 filename.wav
This snippet require that you already have 'mpg123', 'sox', and 'raw' installed (most distros have, at least the fairly recent ones).
Cheers :)
[ 15 November 2001: Message edited by: Choozo ]