LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Convert .mp3 to .wav (https://www.linuxquestions.org/questions/linux-software-2/convert-mp3-to-wav-33711/)

GtkUser 10-25-2002 07:56 AM

Convert .mp3 to .wav
 
This is what I know:

I know how to rip music with xcdroast. I can rip it to .wav format. I used to have Grip with Mandrake 8.2 and I could even rip to .ogg file format.

I downloaded some music and it is in .mp3 format. I need to turn this into .wav so that xcdroast will recognize the files and allow me to create a music CD (.cda).

How can I turn my .mp3 files into .wav? I searched to no avail. Everything is from .wav to .mp3.

acid_kewpie 10-25-2002 08:03 AM

try using a decent burner like eroaster of gnome-toaster (or gcombust) which will autoamtically convert them for you. or use xmms's diskwriter output to write to wav, or use mpg123 / mpg321 or a billion other ways. xcdroast still sucks big time.

GtkUser 10-25-2002 08:17 AM

Nothing works. The XCDRoast is the only thing that works. Okay you say use eroaster, sure I have it on my screen, now how the hell does it work? How do you turn the .mp3 (on my HD) into a .wav (to the same directory)? I 'm just looking for one single solution I don't care, just anything that works. The names of programs don't help in most cases, but I'll look into mpg321.

GtkUser 10-25-2002 08:29 AM

Okay this worked, finally!

mpg123 -w newfilepath.wav sourcepath.mp3

That is how to do it with mpg123. Christ, I don't know why you just couldn't give a straight answer. Anyway, it worked. I'm happy. But now I have to test XCDroast.

acid_kewpie 10-25-2002 09:15 AM

eroaster IS a single solution, you add oggs, wav's mp3's to the audio compilation window, and that's it! NOTHING else...

acid_kewpie 10-25-2002 09:16 AM

and how on earth wasn't that a straight answer...??

MasterC 10-25-2002 02:54 PM

Because it wasn't an entire how-to :rolleyes:

Acid was right, eroaster was a single answer. He is leading you to the water, but he can't exactly make you drink buddy. ;)

Cool

brufleth 12-12-2002 11:24 PM

I can't even get eroaster to install because it wants pygnome and pygnome wants libzvt-2 but since I have libzvt (no 2) it insists that the package is alreayd installed and won't do anything about it. Thus six package downloads later I'm trying to find mpg123 as it is not included with Redhat 8.0 due to issues with software rights.

Shyrl41 06-06-2006 07:18 PM

still need too know what program too install too convert mp3 too wav

freaknfarker 06-06-2006 08:35 PM

Copy this shell script into a text editor and make changes (ie add your own name)

#!/bin/bash
# allmp3wav
for i in *.mp3; do
echo "$i"
tgt=$(echo "$i" | sed -e "s/mp3/wav/")
mpg123 -b 10000 -s -r 44100 "$i" | sox -t raw -r 44100 -s -w -c2 - ~/name_for_your_files"$tgt"
done


Test this first on directory you can restore.

Open a konsole and cd into the folder with mp3s.

Copy shell script to this folder.

Then run this command "chmod a+rwx allmp3wav" then this command "./allmp3wav"

rickh 06-06-2006 09:18 PM

lame is probably the best at anything to do with mp3s,... lame --decode infile outfile


...but you'd have to dl and install lame, and it appears you have problems with that. Of course, most normal people use k3b.

Shyrl41 06-07-2006 06:25 AM

thanks for all the help .

n e r d 06-07-2006 07:24 AM

Have you tried K3b? I use it to burn MP3 under ubuntu and it works fine. Recent versions of Banshee and Rhythmbox also support CD burning. Have you tried those?


All times are GMT -5. The time now is 04:12 PM.