j***@telia.com
2004-01-01 15:30:57 UTC
Hi list and thanks Rob for your answer,
A few complementary questions, again maybe a bit OT:
I do not really need wav format (by the way, is wav in some way a ms
invention?). What I'm trying to do is to decode a lot of mp3s to a format
usable for listening with a non-mp3-capable cd player, i.e in my car, and
then burn them to CDs with k3b. At the first stage (before burning) I would
like to save the mp3s as individual output files in another directory than
the mp3s.
1. Is .cdr a format for my purposes?
2. Shell scripts are a bit beyond my capacity for the moment (but I'm
learning fast). What do you mean with "The above is for Bourne-derived
shells; hopefully yours is not of Csh variety."?
What about this? If i navigate to the directory where the mp3s are and then:
for file .mp3; do madplay -o -v $file.cdr $file; done
Where in this little script should I put the target directory name (called
"cdr)? What does "done" mean? Close?
TIA
/jrx, Stockholm
-----Original Message-----
From: mad-user-***@lists.mars.org [mailto:mad-user-***@lists.mars.org]
On Behalf Of mad-user-***@lists.mars.org
Sent: Wednesday, December 31, 2003 3:27 PM
To: mad-***@lists.mars.org
Subject: mad-user digest, Vol 1 #172 - 4 msgs
Send mad-user mailing list submissions to
mad-***@lists.mars.org
To subscribe or unsubscribe via the World Wide Web, visit
http://www.mars.org/bin/mailman/listinfo/mad-user
or, via email, send a message with subject or body 'help' to
mad-user-***@lists.mars.org
You can reach the person managing the list at
mad-user-***@lists.mars.org
When replying, please edit your Subject line so it is more specific than
"Re: Contents of mad-user digest..."
Today's Topics:
1. Decode an old mp3, originally recorded in June-50 (***@telia.com)
2. Decode directories, how to? (***@telia.com)
3. Re: Decode an old mp3, originally recorded in June-50 (Rob Leslie)
4. Re: Decode directories, how to? (Rob Leslie)
--__--__--
Message: 1
From: <***@telia.com>
To: <mad-***@lists.mars.org>
Date: Tue, 30 Dec 2003 22:00:19 +0100
Subject: [mad-user] Decode an old mp3, originally recorded in June-50
Hi, maybe OT.
I have tried to decode an old mp3 with various settings to wav with mad, and
the decoding seems to work fine.
But when I try to burn the wav with k3b, k3b says "wrong format". madplay -v
-i -m --output=wave gives "Layer III, 64 kbps, 22050 Hz, single channel, no
CRC, 7095 frames decoded, -7.4 dB peak amplitude, 0 clipped samples"
Does anybody have any suggestions about what options I should choose when
decoding. I would like to have it in wav.
Or maybe I should look in my k3b settings for this particular file..?
Best regards
/jrx
--__--__--
Message: 2
From: <***@telia.com>
To: <mad-***@lists.mars.org>
Date: Tue, 30 Dec 2003 22:00:19 +0100
Subject: [mad-user] Decode directories, how to?
Hi list,
I would like to decode a whole directory in a bunch. Probably I have to use
some kind of ordinary *nix command (I'm from the other side), but I can't
figure it out, and I can't find any description of this presumably easy
matter in man madplay
Thanks in advance.
jrx
--__--__--
Message: 3
From: Rob Leslie <***@mars.org>
Subject: Re: [mad-user] Decode an old mp3, originally recorded in June-50
Date: Tue, 30 Dec 2003 18:09:11 -0800
madplay -o cdda:track.cdr
The result is a raw CD audio track ready to be burned.
If you really must have a WAV file, you'll have to specify all the
parameters yourself:
madplay -o foo.wav --stereo --bit-depth=16 --sample-rate=44100
--
Rob Leslie
***@mars.org
--__--__--
Message: 4
From: Rob Leslie <***@mars.org>
Subject: Re: [mad-user] Decode directories, how to?
Date: Tue, 30 Dec 2003 18:17:10 -0800
madplay -o out.wav *.mp3
(in this case there is only one output)
or if you need individual output files you can use some shell scripting
to decode files one-at-a-time:
for file in *.mp3; do madplay -o $file.wav $file; done
The above is for Bourne-derived shells; hopefully yours is not of Csh
variety.
A few complementary questions, again maybe a bit OT:
I do not really need wav format (by the way, is wav in some way a ms
invention?). What I'm trying to do is to decode a lot of mp3s to a format
usable for listening with a non-mp3-capable cd player, i.e in my car, and
then burn them to CDs with k3b. At the first stage (before burning) I would
like to save the mp3s as individual output files in another directory than
the mp3s.
1. Is .cdr a format for my purposes?
2. Shell scripts are a bit beyond my capacity for the moment (but I'm
learning fast). What do you mean with "The above is for Bourne-derived
shells; hopefully yours is not of Csh variety."?
What about this? If i navigate to the directory where the mp3s are and then:
for file .mp3; do madplay -o -v $file.cdr $file; done
Where in this little script should I put the target directory name (called
"cdr)? What does "done" mean? Close?
TIA
/jrx, Stockholm
-----Original Message-----
From: mad-user-***@lists.mars.org [mailto:mad-user-***@lists.mars.org]
On Behalf Of mad-user-***@lists.mars.org
Sent: Wednesday, December 31, 2003 3:27 PM
To: mad-***@lists.mars.org
Subject: mad-user digest, Vol 1 #172 - 4 msgs
Send mad-user mailing list submissions to
mad-***@lists.mars.org
To subscribe or unsubscribe via the World Wide Web, visit
http://www.mars.org/bin/mailman/listinfo/mad-user
or, via email, send a message with subject or body 'help' to
mad-user-***@lists.mars.org
You can reach the person managing the list at
mad-user-***@lists.mars.org
When replying, please edit your Subject line so it is more specific than
"Re: Contents of mad-user digest..."
Today's Topics:
1. Decode an old mp3, originally recorded in June-50 (***@telia.com)
2. Decode directories, how to? (***@telia.com)
3. Re: Decode an old mp3, originally recorded in June-50 (Rob Leslie)
4. Re: Decode directories, how to? (Rob Leslie)
--__--__--
Message: 1
From: <***@telia.com>
To: <mad-***@lists.mars.org>
Date: Tue, 30 Dec 2003 22:00:19 +0100
Subject: [mad-user] Decode an old mp3, originally recorded in June-50
Hi, maybe OT.
I have tried to decode an old mp3 with various settings to wav with mad, and
the decoding seems to work fine.
But when I try to burn the wav with k3b, k3b says "wrong format". madplay -v
-i -m --output=wave gives "Layer III, 64 kbps, 22050 Hz, single channel, no
CRC, 7095 frames decoded, -7.4 dB peak amplitude, 0 clipped samples"
Does anybody have any suggestions about what options I should choose when
decoding. I would like to have it in wav.
Or maybe I should look in my k3b settings for this particular file..?
Best regards
/jrx
--__--__--
Message: 2
From: <***@telia.com>
To: <mad-***@lists.mars.org>
Date: Tue, 30 Dec 2003 22:00:19 +0100
Subject: [mad-user] Decode directories, how to?
Hi list,
I would like to decode a whole directory in a bunch. Probably I have to use
some kind of ordinary *nix command (I'm from the other side), but I can't
figure it out, and I can't find any description of this presumably easy
matter in man madplay
Thanks in advance.
jrx
--__--__--
Message: 3
From: Rob Leslie <***@mars.org>
Subject: Re: [mad-user] Decode an old mp3, originally recorded in June-50
Date: Tue, 30 Dec 2003 18:09:11 -0800
I have tried to decode an old mp3 with various settings to wav with
mad, and the decoding seems to work fine.
But when I try to burn the wav with k3b, k3b says "wrong format".
madplay -v -i -m --output=wave gives "Layer III, 64 kbps, 22050 Hz,
single channel, no CRC, 7095 frames decoded, -7.4 dB peak amplitude, 0
clipped samples"
Does anybody have any suggestions about what options I should choose
when decoding. I would like to have it in wav.
If you're trying to burn an audio CD, try:mad, and the decoding seems to work fine.
But when I try to burn the wav with k3b, k3b says "wrong format".
madplay -v -i -m --output=wave gives "Layer III, 64 kbps, 22050 Hz,
single channel, no CRC, 7095 frames decoded, -7.4 dB peak amplitude, 0
clipped samples"
Does anybody have any suggestions about what options I should choose
when decoding. I would like to have it in wav.
madplay -o cdda:track.cdr
The result is a raw CD audio track ready to be burned.
If you really must have a WAV file, you'll have to specify all the
parameters yourself:
madplay -o foo.wav --stereo --bit-depth=16 --sample-rate=44100
--
Rob Leslie
***@mars.org
--__--__--
Message: 4
From: Rob Leslie <***@mars.org>
Subject: Re: [mad-user] Decode directories, how to?
Date: Tue, 30 Dec 2003 18:17:10 -0800
I would like to decode a whole directory in a bunch. Probably I have
to use some kind of ordinary *nix command (I'm from the other side),
but I can't figure it out, and I can't find any description of this
presumably easy matter in man madplay
You can either have madplay decode everything in one go:to use some kind of ordinary *nix command (I'm from the other side),
but I can't figure it out, and I can't find any description of this
presumably easy matter in man madplay
madplay -o out.wav *.mp3
(in this case there is only one output)
or if you need individual output files you can use some shell scripting
to decode files one-at-a-time:
for file in *.mp3; do madplay -o $file.wav $file; done
The above is for Bourne-derived shells; hopefully yours is not of Csh
variety.
--
Rob Leslie
***@mars.org
End of mad-user Digest
Rob Leslie
***@mars.org
End of mad-user Digest