Ripping and encoding an Audio CD to MP3

tested on focal

Requirements

apt install cdparanoia lame

Rip

cdparanoia -vsQ
cdparanoia -B

Encode

lame --help
lame --longhelp
lame --preset help

mkdir -p dist/
for track in *.wav; do
        lame -V 0 --lowpass -1 --highpass -1 -Y $track ${track%\.cdda\.wav}.mp3 \
        && mv -i $track dist/
    echo
done; unset track

Acceptance

apt install mpg123 jackd2

as user

jack_control start
mpg123 -v *.mp3

Resources

https://www.cyberciti.biz/faq/linux-ripping-and-encoding-audio-files/

https://www.linuxunderground.be/lame.html

lowpass

https://forums.afterdawn.com/threads/disabling-lowpass-filter-in-lame.286936/

https://hydrogenaud.io/index.php?topic=108605.0

https://sound.stackexchange.com/questions/38109/lame-why-is-a-lowpass-filter-used-with-preset-insane

https://hydrogenaud.io/index.php?topic=90808.0

https://www.reddit.com/r/audioengineering/comments/afmag7/does_mp3_cut_low_frequencies_20hz/

highpass

https://www.reddit.com/r/audioengineering/comments/3ris8a/how_is_mp3_v0_able_to_go_way_above_the_frequency/

https://wiki.hydrogenaud.io/index.php?title=LAME_Y_switch


HOME | GUIDES | BENCHMARKS | html