Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Lossless adjusting of loudness for MP3 and AAC files' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Lossless adjusting of loudness for MP3 and AAC files
Authored by: jmdennis1967 on May 13, '05 02:06:29PM

I for one would like to see a graphical interface for this kind of like iVolume. It would also be nice to see the changes that were made. I am using the applescripts but it wold be nice to see more then just a comment that they were aacgained. I would like to see exactly what it did to the music. I can hear the difference as now when I listen to my iPod I do not have to turn up the volume or turn it down as each song plays now. I would just like to be able to see what changes were made. I for one like graphical so I can see what is being done and also how far along the process is.



[ Reply to This | # ]
Lossless adjusting of loudness for MP3 and AAC files
Authored by: okto on Jun 02, '05 02:04:04AM
I wrote a shell script to go thru the ~/Music/iTunes/iTunes Music folder and AACGain everything.
I didn't like that Polonus' AACGain iTunes scripts locked up iTunes while they ran (not by fault of the author, that's just how iTunes works--thanks for the work on that, Polonus!), so I thought to myself, "Self, we have a recursing script to write M3U playlists. We could probably hack that into a script to AACGain the contents of the iTunes library, and still be able to play things in iTunes."
Self was right (no, I don't have MPD :P), and here you go.
It's not that complex, just some nested foreaches, but it works well. Feel free to distrubute/modify/include, just drop me a line if you find it useful, modify it, or incorporate it in something else.

#! /bin/tcsh 
#! //okto 2005 
#! Recursively runs aacgain (http://altosdesign.com/aacgain/, 
#! http://www.lexa.ru/andyt/aacgain/aacgain_mac_os_x.zip) 
#! on your iTunes library.

# it breaks otherwise. not quite sure why.
set nonomatch
cd ~/Music/iTunes/iTunes\ Music/

foreach ARTIST ( * )
echo next artist
	if ( ! -d "$ARTIST" ) continue
	echo "artist: $ARTIST"
       cd "$ARTIST"
	foreach ALBUM ( * )
		if ( ! -d "$ALBUM" ) continue
		echo "		album: $ALBUM"
              cd "$ALBUM"
#if you do ``*.mp3 *.m4a'' it fusses about it
		aacgain -r -p -t -k *.m*
		cd ..		
	end
	cd ..
end


[ Reply to This | # ]
Shell script to AACGain files
Authored by: okto on Jun 02, '05 02:05:41AM
I wrote a shell script to go thru the ~/Music/iTunes/iTunes Music folder and AACGain everything.
I didn't like that Polonus' AACGain iTunes scripts locked up iTunes while they ran (not by fault of the author, that's just how iTunes works--thanks for the work on that, Polonus!), so I thought to myself, "Self, we have a recursing script to write M3U playlists. We could probably hack that into a script to AACGain the contents of the iTunes library, and still be able to play things in iTunes."
Self was right (no, I don't have MPD :P), and here you go.
It's not that complex, just some nested foreaches, but it works well. Feel free to distrubute/modify/include, just drop me a line if you find it useful, modify it, or incorporate it in something else.

#! /bin/tcsh 
#! //okto 2005 
#! Recursively runs aacgain (http://altosdesign.com/aacgain/, 
#! http://www.lexa.ru/andyt/aacgain/aacgain_mac_os_x.zip) 
#! on your iTunes library.

# it breaks otherwise. not quite sure why.
set nonomatch
cd ~/Music/iTunes/iTunes\ Music/

foreach ARTIST ( * )
echo next artist
	if ( ! -d "$ARTIST" ) continue
	echo "artist: $ARTIST"
       cd "$ARTIST"
	foreach ALBUM ( * )
		if ( ! -d "$ALBUM" ) continue
		echo "		album: $ALBUM"
              cd "$ALBUM"
#if you do ``*.mp3 *.m4a'' it fusses about it
		aacgain -r -p -t -k *.m*
		cd ..		
	end
	cd ..
end


[ Reply to This | # ]