Help - Search - Members - Calendar
Full Version: mp3gain sweep command line
Hydrogenaudio Forums > Lossy Audio Compression > MP3 > MP3 - General
bubka
Is this a good command line to mp3gain my collection which is arranged by /artist/album with singles mixed in?
QUOTE
sweep mp3gain *.mp3


thanks for any help / suggestions
Snelg
QUOTE(bubka @ Sep 11 2003, 07:56 PM)
Is this a good command line to mp3gain my collection which is arranged by /artist/album with singles mixed in?
QUOTE
sweep mp3gain *.mp3


thanks for any help / suggestions

That command will just analyze the mp3s, it won't actually change them.

sweep mp3gain /a *.mp3

will set the average volume of every directory to 89dB. If that's too quiet for you, then use the "/d X" switch to adjust the target volume by X dB. So if you wanted to adjust the albums to 90 dB, you would do

sweep mp3gain /a /d 1 *.mp3

Oh, and for the singles (i.e. individual mp3s which are not part of a complete album in your collection) you want the /r instead of the /a switch. The /r switch makes each and every mp3 the same volume.

-Glen

...oh, and if you're using a non-DOS version of mp3gain, then all the switches use "-" instead of "/".
bubka
OK, I want to do some mp3gain thought having to reanalize all of my files that have already been "gained"

my music is set up as is

d:\my music\artits\albums

only if astrits have full albums or many tracks do they get a folder

i have all the files in the my music\ dir track gained

how would i go about doing the rest?

sweep mp3gain /a *.mp3 ??? but that reanalizes the my music dir...

thanks for any help
bubka
maybe this will simple it up...

is there anything for mp3gain like mpc replaygains --auto --smart ? thanks
YinYang
My suggestion:

1) put a copy of sweep.exe and mp3gain.exe in your path. For instance in the relevant ..\WINDOWS\.. folder

2) Make a subdirectory for your artists or move your "independent" mp3's somewhere else

Assuming the filestructure now is something like this

\Musik\
|
|---\Artists\
| | --------\Bowie\
| |---------\Rolling Stones\
|
|
Independent mp3's.

You can put a BAT-file in your ..\Artists\-dir with the following:

@echo off
[drive]:
cd "[drive]:\...\Artists\"

sweep.exe tag.exe --remove --force id3v1 --force ape2 *.mp3
(For converting to APE2 plus ID3v1 and removing other tags)

sweep.exe tag.exe --rentag --scheme "N - T" *.mp3
(For renaming, but somehow I can't get it to work. Case, help? wink.gif )

sweep.exe mp3gain.exe /a /c /t *.mp3
(For albumgaining without clipping warning and while using a temp-file)
bubka
thanks for the help, i see mp3gain sometimes skips filest that have already been gained, and sometimes does not, don't know if i will do the tags though, will look into it
YinYang
QUOTE(bubka @ Sep 22 2003, 08:45 PM)
...i see mp3gain sometimes skips filest that have already been gained, and sometimes does not...

Then we need to force it to recalculate eventual tags

Try this one
sweep.exe mp3gain /a /c /t /s r *.mp3
bubka
yeah, i dont want it to do this though, when i add an album, or a few songs, i would like to put in a command on my root music dir so all are skipped except for those that have not been gained, thanks
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.