Hi Chris!
Christopher Wise schrieb am Mon, 17 Jul 2000:
> I want to encode a number of wave files into a single mp3 file.
> Since lame doesn't appear to be able to do this, the obvious solution
> woudl be to concatenate the wave files first. Are there any utilites under
> linux or windows (preferrably both) that can do this in batch mode?
>
> Chris Wise
>
Linux (Bash):
for i in *.wav
do sox $i -t raw -c2 -r44100 -s -w -x -
done |
lame --preset cd -mj -r - big.mp3
this should generate a big gapless MP3 of all your Waves.
Sox is needed to strip the Wave headers:
-t raw -> raw pcm output
-c2 -> two channels
-r44100 -> 44.1 kHz samplerate
-s -> signed integer
-w -> 16 bit
-x -> byte swapping
Robert
--
MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )