Hi Folks, I have a bunch of MP3s, and would like to convert them to AudioCD files so that I can burn them as succesive tracks on an Audio CD (i.e. in particular, you can pick a track on a CD player, or play the lot through in one go).
Any suggestions?
And, in case I {don't reply before Christmas | forget},
Happy Christmas and New Year to All!
Cheers, Ted.
-------------------------------------------------------------------- E-Mail: (Ted Harding) Ted.Harding@nessie.mcc.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 20-Dec-06 Time: 19:59:21 ------------------------------ XFMail ------------------------------
On Wed, Dec 20, 2006 at 07:59:24PM -0000, Ted Harding wrote:
Hi Folks, I have a bunch of MP3s, and would like to convert them to AudioCD files so that I can burn them as succesive tracks on an Audio CD (i.e. in particular, you can pick a track on a CD player, or play the lot through in one go).
Any suggestions?
sox and a for loop?
for i in *.mp3 do sox $i ${i/.mp3}.cdr done
or something like that.
Mike
On Wednesday 20 December 2006 19:59, Ted Harding wrote:
Hi Folks, I have a bunch of MP3s, and would like to convert them to AudioCD files so that I can burn them as succesive tracks on an Audio CD (i.e. in particular, you can pick a track on a CD player, or play the lot through in one go).
I use sox for this.
http://sox.sourceforge.net/ (There are packages for Ubuntu and Debian, and probably most other distros.)
The cdrecord command is fairly picky about the details of the WAVE file format (sampling rate, data size, etc), so
$ sox foo.mp3 -w -c 2 -r 44100 foo.wav
And here's my (probably dodgy) Perl program to do a bunch of these as a batch:
#!/usr/bin/perl # For each "*.wav" produces "*.mp3". while (@ARGV>0) { $oldfile = shift(@ARGV) ; if ($oldfile =~ /(.*).\w+/) { $base = $1 ; } else { $base = $oldfile ; } $newfile = $base . "_w.wav" ; @command = ("sox", $oldfile, "-w", "-c", "2", "-r", "44100", $newfile); print ("about to run: @command\n"); system(@command) ; print ("done with: $base\n") ; }
Happy Christmas and New Year to All!
Same from me!
I use graveman and the 'create audio cd' option, which just seems to work with whatever (audio) files i tell it to.
Rob.
On 12/20/06, Adam Funk A.Funk@dcs.shef.ac.uk wrote:
On Wednesday 20 December 2006 19:59, Ted Harding wrote:
Hi Folks, I have a bunch of MP3s, and would like to convert them to AudioCD files so that I can burn them as succesive tracks on an Audio CD (i.e. in particular, you can pick a track on a CD player, or play the lot through in one go).
I use sox for this.
http://sox.sourceforge.net/ (There are packages for Ubuntu and Debian, and probably most other distros.)
The cdrecord command is fairly picky about the details of the WAVE file format (sampling rate, data size, etc), so
$ sox foo.mp3 -w -c 2 -r 44100 foo.wav
And here's my (probably dodgy) Perl program to do a bunch of these as a batch:
#!/usr/bin/perl # For each "*.wav" produces "*.mp3". while (@ARGV>0) { $oldfile = shift(@ARGV) ; if ($oldfile =~ /(.*).\w+/) { $base = $1 ; } else { $base = $oldfile ; } $newfile = $base . "_w.wav" ; @command = ("sox", $oldfile, "-w", "-c", "2", "-r", "44100", $newfile); print ("about to run: @command\n"); system(@command) ; print ("done with: $base\n") ; }
Happy Christmas and New Year to All!
Same from me!
main@lists.alug.org.uk http://www.alug.org.uk/ http://lists.alug.org.uk/mailman/listinfo/main Unsubscribe? See message headers or the web site above!
(Ted Harding) Ted.Harding@nessie.mcc.ac.uk wrote:
I have a bunch of MP3s, and would like to convert them to AudioCD files so that I can burn them as succesive tracks on an Audio CD [...]
I think I've used mp3burn in the past. It burns Ogg and FLAC too.
Hope that helps,
I've just been doing this for my son using lame. We have converted mp3's back to wav's using: lame --decode xxx.mp3 xxx.wav
We can then burn a CD using k3b, adding the wav's to an audio project.
Stuart
Hi Folks,
I have a bunch of MP3s, and would like to convert them to AudioCD files so that I can burn them as succesive tracks on an Audio CD (i.e. in particular, you can pick a track on a CD player, or play the lot through in one go).
Any suggestions?
And, in case I {don't reply before Christmas | forget},
Happy Christmas and New Year to All!
Cheers, Ted.
E-Mail: (Ted Harding) Ted.Harding@nessie.mcc.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 20-Dec-06 Time: 19:59:21 ------------------------------ XFMail ------------------------------
main@lists.alug.org.uk http://www.alug.org.uk/ http://lists.alug.org.uk/mailman/listinfo/main Unsubscribe? See message headers or the web site above!
On Wed, 2006-12-20 at 22:41 +0000, stuart@linusoft.co.uk wrote:
We can then burn a CD using k3b, adding the wav's to an audio project.
If you have k3b MAD decoder plugin installed you can just add the mp3's to the project and k3b will decode them on the fly.
On ubuntu this package is called libk3b2-mp3
Before I started doing this in k3b (you need k3b and the mp3 plugin) I used to do something using mpg123 with the wav output option to make uncompressed audio and then burn the audio tracks with cdrecord (remembering to tell cdrecord you want an Audio CD and not a data one)
Sorry been so long since I've done it from the terminal, I can't remember the exact commands I used.
On Wednesday 20 December 2006 19:59, Ted Harding wrote:
Hi Folks, I have a bunch of MP3s, and would like to convert them to AudioCD files so that I can burn them as succesive tracks on an Audio CD (i.e. in particular, you can pick a track on a CD player, or play the lot through in one go).
Any suggestions?
And, in case I {don't reply before Christmas | forget},
Happy Christmas and New Year to All!
Cheers, Ted.
E-Mail: (Ted Harding) Ted.Harding@nessie.mcc.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 20-Dec-06 Time: 19:59:21 ------------------------------ XFMail ------------------------------
main@lists.alug.org.uk http://www.alug.org.uk/ http://lists.alug.org.uk/mailman/listinfo/main Unsubscribe? See message headers or the web site above!
I know this isn't quite what you meant, but did you know that in current Konqueror, you can select the appropriate mp3s/oggs, right click and select actions>create audio CD?
Of course, it still uses k3b to do it.
Ten.