LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-25-2002, 07:56 AM   #1
GtkUser
Member
 
Registered: Sep 2002
Location: Canada
Distribution: Redhat 9.0
Posts: 637

Rep: Reputation: 30
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.
 
Old 10-25-2002, 08:03 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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.
 
Old 10-25-2002, 08:17 AM   #3
GtkUser
Member
 
Registered: Sep 2002
Location: Canada
Distribution: Redhat 9.0
Posts: 637

Original Poster
Rep: Reputation: 30
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.
 
Old 10-25-2002, 08:29 AM   #4
GtkUser
Member
 
Registered: Sep 2002
Location: Canada
Distribution: Redhat 9.0
Posts: 637

Original Poster
Rep: Reputation: 30
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.
 
Old 10-25-2002, 09:15 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
eroaster IS a single solution, you add oggs, wav's mp3's to the audio compilation window, and that's it! NOTHING else...
 
Old 10-25-2002, 09:16 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
and how on earth wasn't that a straight answer...??
 
Old 10-25-2002, 02:54 PM   #7
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Because it wasn't an entire how-to

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
 
Old 12-12-2002, 11:24 PM   #8
brufleth
LQ Newbie
 
Registered: Sep 2002
Posts: 15

Rep: Reputation: 0
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.
 
Old 06-06-2006, 07:18 PM   #9
Shyrl41
LQ Newbie
 
Registered: Jun 2006
Posts: 3

Rep: Reputation: 0
still need too know what program too install too convert mp3 too wav
 
Old 06-06-2006, 08:35 PM   #10
freaknfarker
LQ Newbie
 
Registered: Jun 2006
Posts: 10

Rep: Reputation: 0
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"
 
Old 06-06-2006, 09:18 PM   #11
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
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.
 
Old 06-07-2006, 06:25 AM   #12
Shyrl41
LQ Newbie
 
Registered: Jun 2006
Posts: 3

Rep: Reputation: 0
thanks for all the help .
 
Old 06-07-2006, 07:24 AM   #13
n e r d
Member
 
Registered: Oct 2003
Posts: 46

Rep: Reputation: 16
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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
using mpg123 to convert .mp3 to .wav files cddesjar Linux - Software 7 06-26-2018 11:28 PM
Convert mp3 to wav trey85stang Linux - Software 5 08-23-2006 09:57 PM
convert mov to mp3 or wav laurelglenn Linux - Software 2 06-22-2005 07:54 PM
mp3 to wav convert shibainucan SUSE / openSUSE 1 10-22-2004 10:46 AM
rpm to convert wav to mp3 jct842 Linux - Software 5 07-14-2003 11:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration