Ripping, converting wav to (32 kbps mono) mp3 with RipperX
Actually, I just learned something--I can drag and drop my mp3s to /usr/bin/lame and a good mp3 gets made!
My problem is I have over 100 wavs I need to convert, with complex names I wish to keep. It's gonna be a helluva lot easier dnd'ing 100 files than it is to type all that out in a terminal/ Think I'll go that way...
Thanks for your help!
My problem is I have over 100 wavs I need to convert, with complex names I wish to keep. It's gonna be a helluva lot easier dnd'ing 100 files than it is to type all that out in a terminal/ Think I'll go that way...
Thanks for your help!
you can check, if you installed another version of lame, that causes problems.
which lame
This should report:
/usr/bin/lame
Now look in /root/.usr/bin/ if there also is a lame.
If yes, then it is not puppys lame.
delete that and reboot ( really: /root/.usr/bin/lame ,NOT /usr/bin/lame ).
Then you have back puppys lame, that is in usr_cram.fs.
Mark
which lame
This should report:
/usr/bin/lame
Now look in /root/.usr/bin/ if there also is a lame.
If yes, then it is not puppys lame.
delete that and reboot ( really: /root/.usr/bin/lame ,NOT /usr/bin/lame ).
Then you have back puppys lame, that is in usr_cram.fs.
Mark
Bugman,
In the directory with your .wav's try this:
for i in *.wav; do lame -h $i `basename $i .wav`.mp3; done
This would save the titles also.
If you have spaces in the titles try this before you convert them (it will replace spaces with underscores):
for i in *.wav; do mv "$i" `echo $i | tr ' ' '_'`; done
I use this little script for burning my cd's.
#!/bin/bash
cd /mnt/home/music/mp3
echo "If the files have spaces in the names, we'll remove them now"
sleep 2
for i in *.mp3; do mv "$i" `echo $i | tr ' ' '_'`; done
echo "Now we need to convert the .mp3's to .wav files"
sleep 2
for i in *.mp3; do lame --decode $i `basename $i .mp3`.wav; done
echo "Files have been converted to .wav"
sleep 2
echo "Now we will burn them to a disc, make sure there is a blank disc in the burner"
echo "The disc tray will open when the burning is complete"
cdrecord dev=ATAPI:0,0,0 -eject speed=2 -pad -audio -text -useinfo *.wav
echo "If the tray has opened, the burn is complete"
sleep 2
echo "Now we'll delete the .wav files that were created for burning"
rm *.wav
sleep 2
echo "The burning process is now complete"
Now if I can only figure out how to extract the titles and artists into an .inf file, I could also have cd text!!
In the directory with your .wav's try this:
for i in *.wav; do lame -h $i `basename $i .wav`.mp3; done
This would save the titles also.
If you have spaces in the titles try this before you convert them (it will replace spaces with underscores):
for i in *.wav; do mv "$i" `echo $i | tr ' ' '_'`; done
I use this little script for burning my cd's.
#!/bin/bash
cd /mnt/home/music/mp3
echo "If the files have spaces in the names, we'll remove them now"
sleep 2
for i in *.mp3; do mv "$i" `echo $i | tr ' ' '_'`; done
echo "Now we need to convert the .mp3's to .wav files"
sleep 2
for i in *.mp3; do lame --decode $i `basename $i .mp3`.wav; done
echo "Files have been converted to .wav"
sleep 2
echo "Now we will burn them to a disc, make sure there is a blank disc in the burner"
echo "The disc tray will open when the burning is complete"
cdrecord dev=ATAPI:0,0,0 -eject speed=2 -pad -audio -text -useinfo *.wav
echo "If the tray has opened, the burn is complete"
sleep 2
echo "Now we'll delete the .wav files that were created for burning"
rm *.wav
sleep 2
echo "The burning process is now complete"
Now if I can only figure out how to extract the titles and artists into an .inf file, I could also have cd text!!
trapster
Maine, USA
Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog
Maine, USA
Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog
For whatever reason, neither of those 2 scripts worked. More excess args errors. Thanks everyone for giving it a go, I'm just going to listen to the music instead of fussing with it.
I know there's probably another thread for this sort of thing, but one of the very few Windows programs I'm longing for at the moment is called RazorLame, and I think you can guess what it does...
I know there's probably another thread for this sort of thing, but one of the very few Windows programs I'm longing for at the moment is called RazorLame, and I think you can guess what it does...
this looks interesting:Now if I can only figure out how to extract the titles and artists into an .inf file, I could also have cd text!!
http://www.ibiblio.org/mp3info/
gmp3info is intended to modify the entries IN the .mp3-file.
If you want to get these informations to be used in a database, you would need to write a script, that uses the comandlineversion (mp3info).
The Help-page explains, what parameters you have to add, to extract single fields from the ID3-tags (the text in the mp3).
So you could write such a script (just structure, not executable):
If you would write the script so, that it creates CSV (Comma Seperated Values), then you could import the database.txt to gnumeric or OpenOffice Calc:
Jackson Michael;Thriller;Greatest Hits
I'm currently too tired to write that.
But if you find out the corrected syntax for mp3info and tell me, how an example-CSV should look like, I could write a small Puppybasic-program tomorrow.
Mark
If you want to get these informations to be used in a database, you would need to write a script, that uses the comandlineversion (mp3info).
The Help-page explains, what parameters you have to add, to extract single fields from the ID3-tags (the text in the mp3).
So you could write such a script (just structure, not executable):
Code: Select all
for each mp3file in thisfolder
values = mp3info mp3file -autor -title -album
echo values >> database.txt
end for
Jackson Michael;Thriller;Greatest Hits
I'm currently too tired to write that.
But if you find out the corrected syntax for mp3info and tell me, how an example-CSV should look like, I could write a small Puppybasic-program tomorrow.
Mark
This is the .inf file that cdroast creates in the directory of the mp3 or wav that you're burning with cdtext. The only problem is I usually have to type everything into cdroast for the text.
#
# X-CD-Roast 0.98alpha15 - INF-File
# created: Mon Mar 6 17:38:31 2006
# by: root@puppypc
#
file = "/mnt/home/music/mp3/Metallica_-_Turn_The_Page.wav"
title = "Turn the Page"
artist = "Metallica"
I believe this is for tao only which is only what I have tried. I think I read somewhere that dao uses a table of contents or something.
It would be nice to have a script that would create the .inf file for each song for the cdtext.
It would be ideal to pick your songs from an .mp3 directory and have it convert/burn/include the cdtext all at once.
#
# X-CD-Roast 0.98alpha15 - INF-File
# created: Mon Mar 6 17:38:31 2006
# by: root@puppypc
#
file = "/mnt/home/music/mp3/Metallica_-_Turn_The_Page.wav"
title = "Turn the Page"
artist = "Metallica"
I believe this is for tao only which is only what I have tried. I think I read somewhere that dao uses a table of contents or something.
It would be nice to have a script that would create the .inf file for each song for the cdtext.
It would be ideal to pick your songs from an .mp3 directory and have it convert/burn/include the cdtext all at once.
trapster
Maine, USA
Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog
Maine, USA
Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog