Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 09-08-2003, 02:03 PM   #1
Registered: Aug 2003
Location: raleigh
Distribution: Gentoo 2005.1 x86_64
Posts: 931

Rep: Reputation: 31

I just installed lame and im trying to burn mp3's using gnome toaster. Im not sure exactly what to do to make it work though. i tried making the filter name /usr/local/bin/lame but that didnt work. Someone replied to me and told me how to do it but i got the impression that you burn the lame file to the cd with the mp3's but i dont think that would be right. can anyone help me?
Old 09-08-2003, 03:28 PM   #2
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Are you trying to burn an audio-CD from
MP3's or do you want to burn mp3's onto
a CD?


P.S.: Read this :)
Old 09-08-2003, 03:30 PM   #3
Registered: Jul 2003
Distribution: Gentoo
Posts: 168

Rep: Reputation: 30

I'm not sure if I understand your problem, do you want to use lame to convert wave files into mp3 files that you can burn thereafter? Lame is used to do those conversions but it has nothing to do with writing files onto a CDR. If you already have mp3 files you wish to burn then you can just go ahead as if you would with any other files. However if you need help ripping songs off a CD and encoding them as mp3 files, I suggest you read this HOWTO. You should find any information you need there!

Good luck!
Old 09-08-2003, 09:37 PM   #4
Registered: Aug 2003
Location: raleigh
Distribution: Gentoo 2005.1 x86_64
Posts: 931

Original Poster
Rep: Reputation: 31
i am using gnome toaster and when i go to burn my mp3 files to and audio cd it says cant find the filter for the suffix .mp3. and someone told me to use lame
Old 09-08-2003, 11:54 PM   #5
Senior Member
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
lame is normally used to encode mp3's, but it can be used to decode mp3's to wav files which is what's needed for audio cds. i don't use gnome-toaster, so i don't know how it goes about it. but reading the features of gnome-toaster, i doesn't say anything about burning mp3's to audio cds. the only thing i found relating to that was encoding mp3/ogg/wav files and a preview play of music before you burn a cd. if gnome-toaster doesn't decode mp3's to wav files on the fly for burning, there's a few of ways you can go about decoding manually using lame. all basically involve a shell terminal. the first way is to do the lame command individually for each song you want to burn, but who wants to do that? another way is to right click on a mp3 file on your hard drive and choose the Edit filetype option (depending on your desktop environment, you'll have to dig around on how to add programs to a filetype. kde let's you right click on a file and there's an Edit Filetype option from the context menu).

anyway, associate this command, "lame --decode", with mp3 files and make it an available choice when right clicking an mp3 file. then you can just select mp3 files from your file manager like normal, right click it, choose "open with > lame" or "open with > lame --decode" depending on how your desktop environment names these kind of program/filetype associations.
the only drawback is if you have mp3 files on a non accessible directory (you don't have read or exec permissions) because it will try to write the wav files in the same directory as the source mp3 files.

i use x-cdroast myself and have to manually encode mp3 to wav files. so this brings us up to a third way of decoding mp3 files to wav files. i wrote this little diddy, lame wrapper program that handles that. you can choose the target directory where the decoded wav files will go and yadda yadda yadda. it's written in java version 1.4.1_01 so you'll need to have at least the java jre installed, the path, and JAVA_HOME environment variable set. anyway, if you want it, here's the program:

mp3-wav converter

if you have java all set up, then there's no installation. just unzip the zip archive anywhere on your hard drive and create a shortcut to the java command.

unzipped in /home/user which the directory, mp3-wav, is extracted to -> ie. /home/user/mp3-wav

create a shortcut and set the execute command to:
java -cp /home/user/mp3-wav/classes mp3_wav.mp3_wav

wav files are stored by default to your user's home directory, but you can specify any directory where you have write access.

here's the source code if you want it.
mp3-wav converter source code

of course if gnome-toaster does decode mp3 files on the fly, then just ignore this post and pretend i never posted. you could try other cd burners too like e-roaster or k3b which to my knowledge will decode mp3 files on the fly. i just use x-cdroast because that's the only thing i could get working on my system.


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
lame dfowensby cAos 3 09-14-2005 08:11 PM
10.1 - Lame High-gain Linux - Newbie 5 06-22-2005 01:30 AM
Lame garr0323 Linux - Software 2 02-28-2004 02:41 AM
This is really lame - my apologies XavierP Linux - Newbie 20 12-03-2002 03:31 PM
we have the way out - how lame is that! CragStar General 5 04-08-2002 03:11 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:19 PM.

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