Help - Search - Members - Calendar
Full Version: New Vorbis ReplayGain tool
Hydrogenaudio Forums > Hydrogenaudio Forum > Validated News
Garf
A new ReplayGain tool for Ogg Vorbis is available, which is a lot more powerfull than the old one.

New features:

[list]

Unix version will move into Vorbis CVS soon.

Most of the new stuff was done by Magnus Holmgren (lear)

--
GCP
Benjamin Lebsanft
maybe someone could generate a frontend for it, so that average windows users (wtf is a commandline tool ?biggrin.gif) can use it!
Garf
Average-Windows-using-person-that-doesn't-know -how-to-use-his-computer Users Guide to ReplayGain:

Click Start->Run

Enter c:i_put_the_vorbisgain_program_herevorbisgain -s -r -a c:

Wait

--
GCP
Benjamin Lebsanft
well i doubt that will help biggrin.gif Many people need a graphical attractive GUI for a program to be good, even if the backend is bad...ohmy.gif
YinYang
Thanks a lot.

Bug? It seems I cannot use it on specified files in a directory using wildcards.

using a line like
..vorbisgain.exe *gimme*.ogg

(in a directory containing the file "Rolling Stones - Gimme Shelter.ogg"amongst others)

doesn't produce any output. It's like Vorbisgain doesn't find the file.

Another question. If no switches are used, does it use radiogain by default?

the --fast option: How about it recognising only RG_ tags and not tags in general. Then you can use it on already tagged (but not replaygained) files too? In my experience it seems also to skip tagged files that do not have RG_ tags.


Edit: a / to a
Garf
QUOTE
Originally posted by YinYang
Thanks a lot.

Bug? It seems I cannot use it on specified files in a directory using wildcards.

using a line like
..vorbisgain.exe *gimme*.ogg 


Try

..vorbisgain "*gimme*.ogg"

or something similar.

QUOTE

Another question. If no switches are used, does it use radiogain by default?


Yes. (It'll always do radiogain actually, and additionally audiophile gain if asked for)

QUOTE

the --fast option: How about it recognising only RG_ tags and not tags in general. Then you can use it on already tagged (but not replaygained) files too? In my experience it seems also to skip tagged files that do not have RG_ tags.


??? Works fine here ???

--
GCP
Lear
QUOTE
Originally posted by YinYang
Thanks a lot.

Bug? It seems I cannot use it on specified files in a directory using wildcards.

using a line like
..vorbisgain.exe *gimme*.ogg 

(in a directory containing the file \"Rolling Stones - Gimme Shelter.ogg\"amongst others) 

doesn't produce any output. It's like Vorbisgain doesn't find the file.


Argh. Stupid bug (for Windows, that is): the pattern matching is case sensitive... Garf, can you fix that? Change

if ((*pattern == *text) || (*pattern == '?'))

in misc.c/match() to

#ifdef WIN32
if ((toupper(*pattern) == toupper(*text))
|| (*pattern == '?'))
#else
if ((*pattern == *text) || (*pattern == '?'))
#endif

Haven't tested it, but should work.

Note: qoutes around patterns (as Garf mentioned) is only needed on Unix (or if you use some Unix-like shell on Win32 - if there is such a beast smile.gif).

QUOTE
Another question. If no switches are used, does it use radiogain by default?


Rather, it will only calculate the radio gain. Any audiophile gain tag will remain unchanged.

QUOTE
the --fast option: How about it recognising only RG_ tags and not tags in general. Then you can use it on already tagged (but not replaygained) files too? In my experience it seems also to skip tagged files that do not have RG_ tags.


As Garf said, it's supposed to only skip if all "requested" RG_ tags are present.
YinYang
QUOTE
Originally posted by Garf
Try 

..vorbisgain \"*gimme*.ogg\"

or something similar. 


Hmm. Can't get it working. Works fine with [*.ogg] though.

QUOTE
[b]
??? Works fine here ???

My fault. Works here too
Garf
QUOTE
Originally posted by Lear

Note: qoutes around patterns (as Garf mentioned) is only needed on Unix (or if you use some Unix-like shell on Win32 - if there is such a beast smile.gif).


Aren't those required if you have spaces in the filename?

--
GCP
Speek
VorbisGain is now supported in the Oggifier frontend: http://home.wanadoo.nl/~w.speek/download/Oggifier.zip
YinYang
QUOTE
Originally posted by Garf


Aren't those required if you have spaces in the filename?

-- 
GCP


In my experience: Not if you have wildcards substituting them. Otherwise yes.
Lear
QUOTE
Originally posted by Garf


Aren't those required if you have spaces in the filename?


Well, ofcourse, but not to disable filename globbing (which was my point, albeit not entirely clear). And as YinYang said, it is only needed if you want to include a space in a filename or pattern on the command line.
Garf
QUOTE
Originally posted by Lear


Well, ofcourse, but not to disable filename globbing (which was my point, albeit not entirely clear). And as YinYang said, it is only needed if you want to include a space in a filename or pattern on the command line.


Okay. I read it as if you never needed to quote when using Windows. My mistake.

The .exe on my website has been updated with your fix, and seems to work.

If anyone notice another thing that looks strange, give us a yell.

--
GCP
john33
One question only!! When can I get the source?

john33
Garf
QUOTE
Originally posted by john33
One question only!! When can I get the source?


It'll hopefully be in Vorbis CVS soon.

If you need it sooner, email me (gcp at sjeng dot org)

--
GCP
jgalt
I'm prepared to be attacked for posting a stupid newbie question.

Did anyone ever write a GUI interface for vorbisgain?

The instructions I've seen on how to use the command line version are as clear as mud to me. I never was able to use oggenc but have been very happy with the drag and drop version.

I have been normalizing my files to -1db peak but now understand that this is a bad idea and I should use vorbisgain instead. I'm willing ~ if I can figure it out.

Light your fires and flame away.
Garf
I think WinVorbis and Vorbix can do this. Look around the forums for the links.

--
GCP
CiTay
QUOTE
Originally posted by jgalt

Light your fires and flame away.

[img]9dbe12612f[/img]

wink.gif
Volcano
jgalt:

QUOTE
Did anyone ever write a GUI interface for vorbisgain?

The instructions I've seen on how to use the command line version are as clear as mud to me.

Get this package. It installs Oggifier, a frontend for OggEnc, OggDec and VorbisGain, and the commandline backends, and all basic options are preconfigured. (And it even registers tabctl32.ocx, yay. wink.gif)

If you want to apply radio gain (i.e. if you want to make each individual file sound equally loud), leave the Switches field blank or, if you want to modify all .ogg files in the subdirectories of the selected directory, select "--recursive".

If you want to apply album gain (i.e. if you want to make each group of files sound equally loud), select "--album". If you want to process multiple albums at once, make sure each album has its own subdirectory and select "--album --recursive".

Also note that you must enable the appropriate ReplayGain mode in the Winamp plugin for the volume changes to take effect.

HTH

Dominic
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.