Why I love linux!
- April 9th, 2010
- By nino
- Write comment
I have my iPhone plugged into the A5 using the Audi AMI function but it seems that the between the mighty Apple and Audi none of them thought of normalising the audio tracks. The result being bleeding ears as the audio levels jump from a low to high track!
No problem to fix tho if your using Linux, literally 5 commands ( 4 if you don’t want to screen it
):
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | user@host:~$ apt-cache search mp3 | grep volume normalize-audio - adjusts the volume of WAV, MP3 and OGG files to a standard volume level user@host:~$ sudo apt-get install normalize-audio [sudo] password for user: Reading package lists... Done Building dependency tree Reading state information... Done ....snip.... ldconfig deferred processing now taking place user@host:~$ normalize-audio --help Usage: normalize-audio [OPTION]... [FILE]... Normalize volume of multiple audio files ....snip.... Report bugs to chrisvaill@gmail.com. user@host:~$ screen -S mp3_normal user@host:~$ find /media/storage/music/ -iname \*.mp3 -exec normalize-audio {} \; Computing levels... Chocolate.mp3 99% done, ETA 00:00:00 (batch 99% done, ETA 00:00:00) Applying adjustment of -4.82dB to /media/storage/music/Snow Patrol/Final Straw/Chocolate.mp3... find: ânormalize-audioâ terminated by signal 11ch 0% done, ETA 00:00:00) Computing levels... Tiny Little Fract 99% done, ETA 00:00:00 (batch 99% done, ETA 00:00:00) Applying adjustment of -5.55dB to /media/storage/music/Snow Patrol/Final Straw/Tiny Little Fractures.mp3... find: ânormalize-audioâ terminated by signal 11ch 0% done, ETA 00:00:00) Computing levels... Gleaming Auction. 61% done, ETA 00:00:02 (batch 61% done, ETA 00:00:02) [ctrl+a+d] user@host:~$ echo $profit |
Job done!
