HydrogenAudio

Lossy Audio Compression => Ogg Vorbis => Ogg Vorbis - General => Topic started by: Landus on 2006-02-26 19:41:29

Title: Vorbis Normalizer
Post by: Landus on 2006-02-26 19:41:29
After searching these forums and Google, I haven't come up with solutions, so I'm hoping someone here can help.

I've decided to convert all my mp3's using dBpowerAMP using the Ogg Vorbis aoTuV  B4 SSE2 encoder, but before I convert all of them, I need something similar to MP3Gain for Ogg Vorbis files.

I've converted one mp3 file and it's rather easy to notice that the Ogg Vorbis file is quieter.

Also, if anyone more experienced has any better suggestions, this is what I'll be doing to rip CD's into Ogg Vorbis files.



- Rip the CD into Ogg Vorbis files with Winamp using the Xiph.org encoder.

- Run DBpowerAMP on the ripped files.

- Run the Ogg Vorbis volume normalizer.


I'm rather new to using Ogg Vorbis files, so if anyone has a better suggestion on how to do this, let me know.
Title: Vorbis Normalizer
Post by: pepoluan on 2006-02-26 20:03:18
Quote
I've converted one mp3 file and it's rather easy to notice that the Ogg Vorbis file is quieter.[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=367535")
You know, I think I experience the same problem [a href="http://www.hydrogenaudio.org/forums/index.php?showtopic=41100&hl=dbpoweramp#]here[/url]. Not sure if it's really same though...

Well for me, I prefer to do it like this:
- Rip the CD into Ogg Vorbis using EAC and Lancer
- Run VorbisGain (I assume this is what you mean by volume normalizer)
- Transcode to MP3 using WinLame or MediaCoder

Hope this helps.
Title: Vorbis Normalizer
Post by: Landus on 2006-02-26 20:35:20
I've looked into VorbisGain, but I can seem to get it to run. When I open it, a command prompt window opens for half a second and closes.
Title: Vorbis Normalizer
Post by: jaybeee on 2006-02-26 20:38:31
Quote
Well for me, I prefer to do it like this:
- Rip the CD into Ogg Vorbis using EAC and Lancer
- Run VorbisGain (I assume this is what you mean by volume normalizer)
- Transcode to MP3 using WinLame or MediaCoder

Hope this helps.
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=367537")

Why are you ripping audio from a CD to Ogg Vorbis and then transcoding it to mp3????

Rip to mp3 straight with EAC (using LAME of course) and then apply replaygain or mp3gain.

You can also use [a href="http://www.hydrogenaudio.org/forums/index.php?showtopic=35158&view=findpost&p=309563]REACT[/url] to apply wavegain BEFORE converting to a lossy (or lossless) format.  That way you don't even need replaygain/mp3gain/vorbisgain.

I know this doesn't help Landus, but it might help you pepoluan, and maybe Landus and others in the future.

[span style='font-size:8pt;line-height:100%']
EDIT: spelling[/span]
Title: Vorbis Normalizer
Post by: Landus on 2006-02-26 21:16:43
I'm not ripping audio from a CD to Ogg Vorbis and then transcoding it to mp3.

Please pay attention to who your quoting.
Title: Vorbis Normalizer
Post by: Landus on 2006-02-26 21:20:07
REACT does help when I rip CD's now, but I still have the problem of the fair amount of mp3's that when I convert into Ogg Vorbis, are quieter than the mp3 file they came from.
Title: Vorbis Normalizer
Post by: Landus on 2006-02-26 21:36:04
Alright, to give an example of my problem, I've cut down 'You're Everything' by Bo Bice to a nine second ogg file.

The first ogg file is the result of using the July 2005 Lancer encoder with dBpowerAMP because the January 2006 version has stdin problems and doesn't work with the SSE2 dBpowerAMP plugin and the November 2005 zip is corrupted.

The second ogg file is the result of using EAC with the January 2006 Lancer encoder on the exact CD I transcoded the mp3 that was used to create the ogg file that's described above.

1 (http://frontiernet.net/~magic360/Test%201.ogg)

2 (http://frontiernet.net/~magic360/Test%202.ogg)
Title: Vorbis Normalizer
Post by: Landus on 2006-02-27 00:38:45
No one can help?
Title: Vorbis Normalizer
Post by: Landus on 2006-02-27 07:58:36
Quote
Quote
I've converted one mp3 file and it's rather easy to notice that the Ogg Vorbis file is quieter.[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=367535")
You know, I think I experience the same problem [a href="http://www.hydrogenaudio.org/forums/index.php?showtopic=41100&hl=dbpoweramp#]here[/url].
[a href="index.php?act=findpost&pid=367537"][{POST_SNAPBACK}][/a]


That was it. Thanks.
Title: Vorbis Normalizer
Post by: Lear on 2006-02-27 10:37:17
Quote
- Rip the CD into Ogg Vorbis files with Winamp using the Xiph.org encoder.

- Run DBpowerAMP on the ripped files.

- Run the Ogg Vorbis volume normalizer.
[a href="index.php?act=findpost&pid=367535"][{POST_SNAPBACK}][/a]

Just curious, but what is the point of the DBpowerAMP step?

Quote
I've looked into VorbisGain, but I can seem to get it to run. When I open it, a command prompt window opens for half a second and closes.

That's because VorbisGain is a console program. Either get a front-end that supports it (unfortunately, I don't know much about those...), or learn how to open a command prompt, go to the root folder of your Vorbis files and type something like "VorbisGain -far *.ogg" (assuming you do want to apply album gain). 

And note that VorbisGain needs support in the player application for it to work. It doesn't change anything in the file, as MP3Gain can do, it just adds some tags.
Title: Vorbis Normalizer
Post by: vlada on 2006-02-27 12:32:53
Lear> I§m also wondering about the DbPowerAMP step.

I believe the best solution is to rip a whole CD to WAVs, then apply wavegain (album gain) to the tracks and then convert it to whatever format I want (using LAMEDrop, OGGDrop or BeLight for example).

Now I have some questions for you guys:

1) Why there is no dB setting in WaveGain (frontend)? I usually set MP3Gain to 91 dB. I believe this is a basic parametr for normalization. I think WaveGain tries to normalize the files to 89 dB, which is too quiet for me. So I set an extra gain of 2 dB. Am I doing it right?

2) Can I automate this with REACT? If yes, how? The problem I see is that the whole CD has to be ripped to WAV before I use WaveGain.

3) Do you have any other suggestions for me?

Thanks,
Vlada
Title: Vorbis Normalizer
Post by: Garf on 2006-02-27 12:42:19
Quote
I believe the best solution is to rip a whole CD to WAVs, then apply wavegain (album gain) to the tracks and then convert it to whatever format I want (using LAMEDrop, OGGDrop or BeLight for example).


This seems utterly pointless. (Just convert and apply format-specific ReplayGain later. Don't use wavgain)

Quote
1) Why there is no dB setting in WaveGain (frontend)? I usually set MP3Gain to 91 dB. I believe this is a basic parametr for normalization. I think WaveGain tries to normalize the files to 89 dB, which is too quiet for me. So I set an extra gain of 2 dB. Am I doing it right?


Probably because the ReplayGain standard mandates 89dB. If that's not loud enough, the player should boost it. Using different dB levels defeats the entire purpose of ReplayGain.
Title: Vorbis Normalizer
Post by: jaybeee on 2006-02-27 14:18:31
Quote
I'm not ripping audio from a CD to Ogg Vorbis and then transcoding it to mp3.

Please pay attention to who your quoting.
[a href="index.php?act=findpost&pid=367553"][{POST_SNAPBACK}][/a]
What? I didn't quote you.  You should pay attention.

Quote
Quote
I believe the best solution is to rip a whole CD to WAVs, then apply wavegain (album gain) to the tracks and then convert it to whatever format I want (using LAMEDrop, OGGDrop or BeLight for example).


This seems utterly pointless. (Just convert and apply format-specific ReplayGain later. Don't use wavgain)[a href="index.php?act=findpost&pid=367737"][{POST_SNAPBACK}][/a]
I agree that vlada's solution is a little excessive to say the least.  It can all be done via EAC with much less steps (may need to add something like REACT, MAREO, WACT etc into the equation). 
I also agree that wavegain isn't the best option, even though I mentioned it (simply as an option).  For me it's replyagain all the way.  My software (foobar) and hardware (iRiver H120 with Rockbox) support it so I'm happy.
Title: Vorbis Normalizer
Post by: Landus on 2006-02-27 20:17:29
After experimenting, removing the tags from the mp3 files with MP3Gain and then converting them makes the resulting ogg vorbis the same decible level as the mp3 it was created from.

Also, they all seem to be set at the same decible range.
Title: Vorbis Normalizer
Post by: Landus on 2006-02-27 20:59:53
Quote
Quote
- Rip the CD into Ogg Vorbis files with Winamp using the Xiph.org encoder.

- Run DBpowerAMP on the ripped files.

- Run the Ogg Vorbis volume normalizer.
[a href="index.php?act=findpost&pid=367535"][{POST_SNAPBACK}][/a]

Just curious, but what is the point of the DBpowerAMP step?

Quote
I've looked into VorbisGain, but I can seem to get it to run. When I open it, a command prompt window opens for half a second and closes.

That's because VorbisGain is a console program. Either get a front-end that supports it (unfortunately, I don't know much about those...), or learn how to open a command prompt, go to the root folder of your Vorbis files and type something like "VorbisGain -far *.ogg" (assuming you do want to apply album gain). 

And note that VorbisGain needs support in the player application for it to work. It doesn't change anything in the file, as MP3Gain can do, it just adds some tags.
[a href="index.php?act=findpost&pid=367712"][{POST_SNAPBACK}][/a]



Because before I wrote that, I was ripping them with the Xiph.org encoder with Winamp. Using dBpowerAMP would be re-encoding them with the Lancer encoder.

Now I'm using EAC
Title: Vorbis Normalizer
Post by: Landus on 2006-02-27 21:02:17
Quote
Quote
- Rip the CD into Ogg Vorbis files with Winamp using the Xiph.org encoder.

- Run DBpowerAMP on the ripped files.

- Run the Ogg Vorbis volume normalizer.
[a href="index.php?act=findpost&pid=367535"][{POST_SNAPBACK}][/a]

Just curious, but what is the point of the DBpowerAMP step?

Quote
I've looked into VorbisGain, but I can seem to get it to run. When I open it, a command prompt window opens for half a second and closes.

That's because VorbisGain is a console program. Either get a front-end that supports it (unfortunately, I don't know much about those...), or learn how to open a command prompt, go to the root folder of your Vorbis files and type something like "VorbisGain -far *.ogg" (assuming you do want to apply album gain). 

And note that VorbisGain needs support in the player application for it to work. It doesn't change anything in the file, as MP3Gain can do, it just adds some tags.
[a href="index.php?act=findpost&pid=367712"][{POST_SNAPBACK}][/a]


Is there a program  that does change the file?

EDIT: If there isn't, I've been trying to get VorbisGain to write the tags in so all the Ogg files I have are set at 94.5 dB.

What switch(es) would I use to do this?
Title: Vorbis Normalizer
Post by: Andavari on 2006-02-27 21:29:00
Here's a shell add-on for you and anyone else that finds it useful. This allows you to VorbisGain by right clicking whole folders (album gain), or individual files (track gain).
1. Download VorbisGain (http://www.rarewares.org/ogg.html).
2. Unpack VorbisGain.exe into your Windows directory, typically this is C:\Windows
----
Save the info listed in the code as .reg file;s, e.g.; "VorbisGain Shell Add-on - For Winamp (Installer).reg" "VorbisGain Shell Add-on - For Winamp (Uninstaller).reg"..etc.

VorbiGain Shell Add-on for Winamp (Installer):
Code: [Select]
REGEDIT4

; VorbisGain Shell Add-on - For Winamp
;
; Installs VorbisGain.exe into the Winamp Media File Context Menu.
;
; Requirements:
; 1. Winamp Full Installer v2 or v5 (www.winamp.com) that includes the Nullsoft Vorbis Decoder (in_vorbis.dll),
;    or separately downloaded Nullsoft Vorbis Decoder (in_vorbis.dll).
; 2. VorbisGain.exe must be installed into the Windows operating system directory typically
;    this is C:\WINDOWS.


[HKEY_CLASSES_ROOT\Winamp.File\shell\VorbisGain (Apply, This Folder)\command]
@="vorbisgain.exe -a \"*.ogg\""

[HKEY_CLASSES_ROOT\Winamp.File\shell\VorbisGain (Remove, This Folder)\command]
@="vorbisgain.exe --clean \"*.ogg\""

[HKEY_CLASSES_ROOT\Winamp.File\shell\VorbisGain (Apply, Only This .OGG)\command]
@="vorbisgain.exe -a \"%1\""

[HKEY_CLASSES_ROOT\Winamp.File\shell\VorbisGain (Remove, Only This .OGG)\command]
@="vorbisgain.exe --clean \"%1\""


VorbiGain Shell Add-on for Winamp (Uninstaller):
Code: [Select]
REGEDIT4

; Removes VorbisGain.exe from the Winamp Media File Context Menu.
;
; This won't effect or harm the Winamp Media File context menu at all, it
; only removes the VorbisGain references.

[-HKEY_CLASSES_ROOT\Winamp.File\shell\VorbisGain (Apply, This Folder)]
[-HKEY_CLASSES_ROOT\Winamp.File\shell\VorbisGain (Remove, This Folder)]
[-HKEY_CLASSES_ROOT\Winamp.File\shell\VorbisGain (Apply, Only This .OGG)]
[-HKEY_CLASSES_ROOT\Winamp.File\shell\VorbisGain (Remove, Only This .OGG)]


VorbisGain Shell Add-on for Windows (Installer):
Code: [Select]
REGEDIT4

; VorbisGain Shell Add-on Installer
;
; This installs VorbisGain into the right click context menu for folders.
; This entry supports VorbisGaining recursively and single folders. It
; also supports removing VorbisGaining recursively and single folders.
;
; NOTE: In order for this to work you must install VorbisGain.exe into the
;       Windows operating system folder, typically this is C:\WINDOWS.

[HKEY_CLASSES_ROOT\Directory\shell\VorbisGain (Apply, Recursive)\command]
@="vorbisgain.exe -r -a \"%L\\*.ogg\""

[HKEY_CLASSES_ROOT\Directory\shell\VorbisGain (Remove, Recursive)\command]
@="vorbisgain.exe -r --clean \"%L\\*.ogg\""

[HKEY_CLASSES_ROOT\Directory\shell\VorbisGain (Apply, One Folder)\command]
@="vorbisgain.exe -a \"%L\\*.ogg\""

[HKEY_CLASSES_ROOT\Directory\shell\VorbisGain (Remove, One Folder)\command]
@="vorbisgain.exe --clean \"%L\\*.ogg\""


VorbisGain Shell Add-on for Windows (Uninstaller):
Code: [Select]
REGEDIT4

; VorbisGain Shell Add-on Remover
;
; This removes VorbisGain from the right click context menu for folders.

[-HKEY_CLASSES_ROOT\Directory\shell\VorbisGain (Apply, Recursive)]
[-HKEY_CLASSES_ROOT\Directory\shell\VorbisGain (Remove, Recursive)]
[-HKEY_CLASSES_ROOT\Directory\shell\VorbisGain (Apply, One Folder)]
[-HKEY_CLASSES_ROOT\Directory\shell\VorbisGain (Remove, One Folder)]
Title: Vorbis Normalizer
Post by: Andavari on 2006-02-27 21:33:39
Quote
I've been trying to get VorbisGain to write the tags in so all the Ogg files I have are set at 94.5 dB.
[a href="index.php?act=findpost&pid=367869"][{POST_SNAPBACK}][/a]

That sort of defeats the purpose altogether and why the hell bother VorbisGaining your files if you wish to use 94.5db - hence doing so will have allot of tracks that still having clipping, or tracks that were already at a proper volume may all of a sudden have clipping introduced into them.
Title: Vorbis Normalizer
Post by: Landus on 2006-02-27 21:34:55
Quote
Here's a shell add-on for you and anyone else that finds it useful. This allows you to VorbisGain by right clicking whole folders (album gain), or individual files (track gain).
1. Download VorbisGain (http://www.rarewares.org/ogg.html).
2. Unpack VorbisGain.exe into your Windows directory, typically this is C:\Windows
----
Save the info listed in the code as .reg file;s, e.g.; "VorbisGain Shell Add-on - For Winamp (Installer).reg" "VorbisGain Shell Add-on - For Winamp (Uninstaller).reg"..etc.

VorbiGain Shell Add-on for Winamp (Installer):
Code: [Select]
REGEDIT4

; VorbisGain Shell Add-on - For Winamp
;
; Installs VorbisGain.exe into the Winamp Media File Context Menu.
;
; Requirements:
; 1. Winamp Full Installer v2 or v5 (www.winamp.com) that includes the Nullsoft Vorbis Decoder (in_vorbis.dll),
;    or separately downloaded Nullsoft Vorbis Decoder (in_vorbis.dll).
; 2. VorbisGain.exe must be installed into the Windows operating system directory typically
;    this is C:\WINDOWS.


[HKEY_CLASSES_ROOT\Winamp.File\shell\VorbisGain (Apply, This Folder)\command]
@="vorbisgain.exe -a \"*.ogg\""

[HKEY_CLASSES_ROOT\Winamp.File\shell\VorbisGain (Remove, This Folder)\command]
@="vorbisgain.exe --clean \"*.ogg\""

[HKEY_CLASSES_ROOT\Winamp.File\shell\VorbisGain (Apply, Only This .OGG)\command]
@="vorbisgain.exe -a \"%1\""

[HKEY_CLASSES_ROOT\Winamp.File\shell\VorbisGain (Remove, Only This .OGG)\command]
@="vorbisgain.exe --clean \"%1\""


VorbiGain Shell Add-on for Winamp (Uninstaller):
Code: [Select]
REGEDIT4

; Removes VorbisGain.exe from the Winamp Media File Context Menu.
;
; This won't effect or harm the Winamp Media File context menu at all, it
; only removes the VorbisGain references.

[-HKEY_CLASSES_ROOT\Winamp.File\shell\VorbisGain (Apply, This Folder)]
[-HKEY_CLASSES_ROOT\Winamp.File\shell\VorbisGain (Remove, This Folder)]
[-HKEY_CLASSES_ROOT\Winamp.File\shell\VorbisGain (Apply, Only This .OGG)]
[-HKEY_CLASSES_ROOT\Winamp.File\shell\VorbisGain (Remove, Only This .OGG)]


VorbisGain Shell Add-on for Windows (Installer):
Code: [Select]
REGEDIT4

; VorbisGain Shell Add-on Installer
;
; This installs VorbisGain into the right click context menu for folders.
; This entry supports VorbisGaining recursively and single folders. It
; also supports removing VorbisGaining recursively and single folders.
;
; NOTE: In order for this to work you must install VorbisGain.exe into the
;       Windows operating system folder, typically this is C:\WINDOWS.

[HKEY_CLASSES_ROOT\Directory\shell\VorbisGain (Apply, Recursive)\command]
@="vorbisgain.exe -r -a \"%L\\*.ogg\""

[HKEY_CLASSES_ROOT\Directory\shell\VorbisGain (Remove, Recursive)\command]
@="vorbisgain.exe -r --clean \"%L\\*.ogg\""

[HKEY_CLASSES_ROOT\Directory\shell\VorbisGain (Apply, One Folder)\command]
@="vorbisgain.exe -a \"%L\\*.ogg\""

[HKEY_CLASSES_ROOT\Directory\shell\VorbisGain (Remove, One Folder)\command]
@="vorbisgain.exe --clean \"%L\\*.ogg\""


VorbisGain Shell Add-on for Windows (Uninstaller):
Code: [Select]
REGEDIT4

; VorbisGain Shell Add-on Remover
;
; This removes VorbisGain from the right click context menu for folders.

[-HKEY_CLASSES_ROOT\Directory\shell\VorbisGain (Apply, Recursive)]
[-HKEY_CLASSES_ROOT\Directory\shell\VorbisGain (Remove, Recursive)]
[-HKEY_CLASSES_ROOT\Directory\shell\VorbisGain (Apply, One Folder)]
[-HKEY_CLASSES_ROOT\Directory\shell\VorbisGain (Remove, One Folder)]

[a href="index.php?act=findpost&pid=367876"][{POST_SNAPBACK}][/a]


That should be added into the Wiki.
Title: Vorbis Normalizer
Post by: Andavari on 2006-02-27 21:42:03
Quote
That should be added into the Wiki.
[a href="index.php?act=findpost&pid=367878"][{POST_SNAPBACK}][/a]

Maybe. I created those one day when I ripped allot of tracks at different times and I got sick of using the command prompt although I know how to apply VorbisGain via a command prompt. If it were to be in the Wiki some of my typos that I just noticed would have to be fixed, as well as some of my descriptions like changing "(Remove, One Folder)" to "(Remove, This Folder)"
Title: Vorbis Normalizer
Post by: Landus on 2006-02-27 21:48:46
Is there a way to apply a certain value on all of them?
Title: Vorbis Normalizer
Post by: Andavari on 2006-02-27 21:58:45
In Winamp and in Foobar2000 you can hack the values to your hearts content. In Winamp you have to enable the extended/advanced view or something like that (don't have Winamp installed to see what the actual name is called). In Foobar2000 you can hack the values by right clicking then selecting Replaygain->Edit replaygain info (advanced).

I don't know what the peak values equal to or how to translate them, so you'll have to ask someone else that.
Title: Vorbis Normalizer
Post by: vlada on 2006-02-27 22:31:55
Quote
Quote
I believe the best solution is to rip a whole CD to WAVs, then apply wavegain (album gain) to the tracks and then convert it to whatever format I want (using LAMEDrop, OGGDrop or BeLight for example).


This seems utterly pointless. (Just convert and apply format-specific ReplayGain later. Don't use wavgain)


Well what I want is to have all songs at the same volume level on my PC and on my portable player (currently iRiver SlimX, but I'm looking for a PMP with HDD, most likely Cowon A2). If I use VorbisGain, I seriously doubt any other player then iRiver or Archos with Rockbox will support it. I believe it is much better to have all files at the same volume level without need of any tags. Using replaygain tags limits the players I can use very much.

What is bad in using WaveGain? Are there any disadvantages?

And the last question: Why is it possible to modify MP3 files to a different volume level, but I can't do this with OGG Vorbis? Is it really technically impossible in Vorbis?
Title: Vorbis Normalizer
Post by: de Mon on 2006-02-27 22:41:27
There is a RockBox firmware for iPod too.
Title: Vorbis Normalizer
Post by: Garf on 2006-02-27 23:15:03
Quote
And the last question: Why is it possible to modify MP3 files to a different volume level, but I can't do this with OGG Vorbis? Is it really technically impossible in Vorbis?
[a href="index.php?act=findpost&pid=367899"][{POST_SNAPBACK}][/a]


It's technically possible, but difficult, and nobody could be bothered to write the software for it.
Title: Vorbis Normalizer
Post by: Landus on 2006-02-27 23:21:03
As a side note, my NOMAD Jukebox Zen broke recently and I might get a COWON iAudio X5, or one of the new iRivers.
Title: Vorbis Normalizer
Post by: pepoluan on 2006-05-27 09:31:47
First of all, a question: Can anyone point me the link to POSIX version of VorbisGain? I can find only the RPM version here (http://rpm.pbone.net/index.php3?stat=3&search=vorbisgain&srodzaj=3).

... back to your regularly scheduled program ...

After experimenting, removing the tags from the mp3 files with MP3Gain and then converting them makes the resulting ogg vorbis the same decible level as the mp3 it was created from.

Also, they all seem to be set at the same decible range.
The 'problem', I realized, is how MP3Gain works. Instead of merely adding RG tags, it actually modifies the Global Gain modifier in each MP3 frame. All transcoders will then process transcode a modified audio. See HA wiki page about ReplayGain (http://wiki.hydrogenaudio.org/index.php?title=MP3Gain)

Quote
That should be added into the Wiki.[a href="index.php?act=findpost&pid=367878"][{POST_SNAPBACK}][/a]
Maybe. I created those one day when I ripped allot of tracks at different times and I got sick of using the command prompt although I know how to apply VorbisGain via a command prompt. If it were to be in the Wiki some of my typos that I just noticed would have to be fixed, as well as some of my descriptions like changing "(Remove, One Folder)" to "(Remove, This Folder)"
Can you please fix it by editing your post? PM me afterwards and I'll put it into the Wiki somehow.

What is bad in using WaveGain? Are there any disadvantages?
You can't undo WaveGain. Since most songs are higher than RG's ref level of 89 dB, you surely lose information. Plus, you can't utilize the dual values of Track/Album RG's.

Edit: Added comment about RPM
Title: Vorbis Normalizer
Post by: kjoonlee on 2006-05-27 11:43:20
The source for vorbisgain is available from sjeng.org.

http://sjeng.org/vorbisgain.html (http://sjeng.org/vorbisgain.html)
Title: Vorbis Normalizer
Post by: pepoluan on 2006-05-27 15:39:48
Hmm. Then I guess I have to reword VorbisGain's entry rather drastically in the HA Wiki. Check this (http://wiki.hydrogenaudio.org/index.php?title=Ogg_Vorbis#ReplayGain).

Edit: Correct link
Title: Vorbis Normalizer
Post by: HotshotGG on 2006-05-27 19:38:47
Quote
Hmm. Then I guess I have to reword VorbisGain's entry rather drastically in the HA Wiki. Check this.

Edit: Correct link


I answered this question you asked on the talk page in the wiki and told you Garf had made a Posix compile or the source is their.  It's at Sjeng.


Quote
The 'problem', I realized, is how MP3Gain works. Instead of merely adding RG tags, it actually modifies the Global Gain modifier in each MP3 frame. All transcoders will then process transcode a modified audio.


Yes, in 1.5 dB increments. It's done on a scale factor band basis. It can be done with Vorbis, although it's a bit of a hassle.
Title: Vorbis Normalizer
Post by: pepoluan on 2006-05-27 21:09:30
Quote
Hmm. Then I guess I have to reword VorbisGain's entry rather drastically in the HA Wiki. Check this.
I answered this question you asked on the talk page in the wiki and told you Garf had made a Posix compile or the source is their.  It's at Sjeng.
Yep. Saw your post, bro!  And thus the Vorbis page is changed as such.
Title: Vorbis Normalizer
Post by: Andavari on 2006-05-28 00:50:55
Quote
Can you please fix it by editing your post? PM me afterwards and I'll put it into the Wiki somehow.
I thought about editing the post and realized it would be a pain, therefore I spent several minutes fixing my local copies and zipped them in VorbisGain_Shell.zip which I'd have to email to someone since I just noticed the forums don't allow embedded posting of files. The zipped package at 4.86 KB (4,983 bytes) would be my recommended way for people to get the VorbisGain Shell that way all the .reg files are already made and ready for usage, and no questions should arise of how do I do this, and that, etc. Also Foobar2000 has been added, as well as a VorbisGain.exe installer.
____________________________

Anyways if the .zip isn't excepted here's the contents of it:

Install VorbisGain.bat
Code: [Select]
@echo off
echo.
echo ********************
echo VorbisGain Installer
echo ********************
echo.
copy "vorbisgain.exe" "%windir%"
echo -----------------------------------------------------
echo VorbisGain.exe has been installed into your Windows
echo operating system directory located at:
echo.
dir "%windir%\vorbisgain.exe"
echo -----------------------------------------------------
pause
cls
exit

Readme1st.txt
Code: [Select]
VorbisGain is required to use these .reg files. Download VorbisGain
from RareWares.org by visiting: [url=http://www.rarewares.org/ogg.html]http://www.rarewares.org/ogg.html[/url]
_______________________________________________________________________

VorbisGain Shell Add-on - For Foobar2000 - Install.reg

Installs VorbisGain.exe into the Foobar2000 Media File Context Menu.

Requirements:
1. Foobar2000 (www.foobar2000.org).
2. VorbisGain.exe must be installed into the Windows operating system
directory typically this is: C:\WINDOWS

Note: You may need to logoff Windows and logon again for the changes
to take effect.
_______________________________________________________________________

VorbisGain Shell Add-on - For Foobar2000 - Remove.reg

Removes VorbisGain.exe from the Foobar2000 Media File Context Menu.

Note: You may need to logoff Windows and logon again for the changes
      to take effect.
      This won't effect or harm the Foobar2000 Media File context menu
      at all, it only removes the VorbisGain references.
_______________________________________________________________________

VorbisGain Shell Add-on - For Winamp - Install.reg

Installs VorbisGain.exe into the Winamp Media File Context Menu.

Requirements:
1. Winamp Full Installer v2 or v5 (www.winamp.com) that includes the
Nullsoft Vorbis Decoder (in_vorbis.dll), or separately downloaded
Nullsoft Vorbis Decoder (in_vorbis.dll).
2. VorbisGain.exe must be installed into the Windows operating system
directory typically this is: C:\WINDOWS

Note: You may need to logoff Windows and logon again for the changes
to take effect.
_______________________________________________________________________

VorbisGain Shell Add-on - For Winamp - Remove.reg

Removes VorbisGain.exe from the Winamp Media File Context Menu.

This won't effect or harm the Winamp Media File context menu at all, it
only removes the VorbisGain references.

Note: You may need to logoff Windows and logon again for the changes
to take effect.
_______________________________________________________________________

VorbisGain Shell Add-on - For Windows - Install.reg

This installs VorbisGain into Windows right click context menu for
folders. This entry supports VorbisGaining recursively and single
folders. It also supports removing VorbisGaining recursively and single
folders.

Note: In order for this to work you must install VorbisGain.exe into
the Windows operating system folder, typically this is: C:\WINDOWS

Note: You may need to logoff Windows and logon again for the changes
to take effect.
_______________________________________________________________________

VorbisGain Shell Add-on - For Windows - Remove.reg

This removes VorbisGain from Windows right click context menu for
folders.

Note: You may need to logoff Windows and logon again for the changes
to take effect.
_______________________________________________________________________

Install VorbisGain.bat

How to use:
1. Download VorbisGain (http://www.rarewares.org/ogg.html) and unpack
  VorbisGain.exe into the folder that contains: Install VorbisGain.bat
2. Run Install VorbisGain.bat and it will automatically install
  VorbisGain.exe into your Windows operating system directory for
  you.

VorbisGain Shell Add-on - For Foobar2000 - Install.reg
Code: [Select]
REGEDIT4

; VORBISGAIN SHELL ADD-ON - FOR FOOBAR2000 - INSTALLER
;
; Installs VorbisGain.exe into the Foobar2000 Media File Context Menu.
;
; Requirements:
; 1. Foobar2000 (www.foobar2000.org).
; 2. VorbisGain.exe must be installed into the Windows operating system
;    directory typically this is: C:\WINDOWS
;
; Note: You may need to logoff Windows and logon again for the changes
;      to take effect.


[HKEY_CLASSES_ROOT\foobar2000.ogg\shell\VorbisGain (Apply, This Folder)\command]
@="vorbisgain.exe -a \"*.ogg\""

[HKEY_CLASSES_ROOT\foobar2000.ogg\shell\VorbisGain (Remove, This Folder)\command]
@="vorbisgain.exe --clean \"*.ogg\""

[HKEY_CLASSES_ROOT\foobar2000.ogg\shell\VorbisGain (Apply, This .ogg)\command]
@="vorbisgain.exe -a \"%1\""

[HKEY_CLASSES_ROOT\foobar2000.ogg\shell\VorbisGain (Remove, This .ogg)\command]
@="vorbisgain.exe --clean \"%1\""

VorbisGain Shell Add-on - For Foobar2000 - Remove.reg
Code: [Select]
REGEDIT4

; VORBISGAIN SHELL ADD-ON - FOR FOOBAR2000 - UNINSTALLER
;
; Removes VorbisGain.exe from the Foobar2000 Media File Context Menu.
;
; Note: You may need to logoff Windows and logon again for the changes
;      to take effect.
;      This won't effect or harm the Foobar2000 Media File context menu
;      at all, it only removes the VorbisGain references.

[-HKEY_CLASSES_ROOT\foobar2000.ogg\shell\VorbisGain (Apply, This Folder)]
[-HKEY_CLASSES_ROOT\foobar2000.ogg\shell\VorbisGain (Remove, This Folder)]
[-HKEY_CLASSES_ROOT\foobar2000.ogg\shell\VorbisGain (Apply, This .ogg)]
[-HKEY_CLASSES_ROOT\foobar2000.ogg\shell\VorbisGain (Remove, This .ogg)]

VorbisGain Shell Add-on - For Winamp - Install.reg
Code: [Select]
REGEDIT4

; VORBISGAIN SHELL ADD-ON - FOR WINAMP - INSTALLER
;
; Installs VorbisGain.exe into the Winamp Media File Context Menu.
;
; Requirements:
; 1. Winamp Full Installer v2 or v5 (www.winamp.com) that includes the Nullsoft
;    Vorbis Decoder (in_vorbis.dll), or separately downloaded Nullsoft Vorbis
;    Decoder (in_vorbis.dll).
; 2. VorbisGain.exe must be installed into the Windows operating system directory
;    typically this is: C:\WINDOWS
;
; Note: You may need to logoff Windows and logon again for the changes
;      to take effect.


[HKEY_CLASSES_ROOT\Winamp.File\shell\VorbisGain (Apply, This Folder)\command]
@="vorbisgain.exe -a \"*.ogg\""

[HKEY_CLASSES_ROOT\Winamp.File\shell\VorbisGain (Remove, This Folder)\command]
@="vorbisgain.exe --clean \"*.ogg\""

[HKEY_CLASSES_ROOT\Winamp.File\shell\VorbisGain (Apply, This .ogg)\command]
@="vorbisgain.exe -a \"%1\""

[HKEY_CLASSES_ROOT\Winamp.File\shell\VorbisGain (Remove, This .ogg)\command]
@="vorbisgain.exe --clean \"%1\""

VorbisGain Shell Add-on - For Winamp - Remove.reg
Code: [Select]
REGEDIT4

; VORBISGAIN SHELL ADD-ON - FOR WINAMP - UNINSTALLER
;
; Removes VorbisGain.exe from the Winamp Media File Context Menu.
;
; This won't effect or harm the Winamp Media File context menu at all, it
; only removes the VorbisGain references.
;
; Note: You may need to logoff Windows and logon again for the changes
;      to take effect.

[-HKEY_CLASSES_ROOT\Winamp.File\shell\VorbisGain (Apply, This Folder)]
[-HKEY_CLASSES_ROOT\Winamp.File\shell\VorbisGain (Remove, This Folder)]
[-HKEY_CLASSES_ROOT\Winamp.File\shell\VorbisGain (Apply, This .ogg)]
[-HKEY_CLASSES_ROOT\Winamp.File\shell\VorbisGain (Remove, This .ogg)]

VorbisGain Shell Add-on - For Windows - Install.reg
Code: [Select]
REGEDIT4

; VORBISGAIN SHELL ADD-ON - FOR WINDOWS - INSTALLER
;
; This installs VorbisGain into Windows right click context menu for folders.
; This entry supports VorbisGaining recursively and single folders. It
; also supports removing VorbisGaining recursively and single folders.
;
; Note: In order for this to work you must install VorbisGain.exe into the
;      Windows operating system folder, typically this is: C:\WINDOWS
;
; Note: You may need to logoff Windows and logon again for the changes
;      to take effect.

[HKEY_CLASSES_ROOT\Directory\shell\VorbisGain (Apply, Recursive)\command]
@="vorbisgain.exe -r -a \"%L\\*.ogg\""

[HKEY_CLASSES_ROOT\Directory\shell\VorbisGain (Remove, Recursive)\command]
@="vorbisgain.exe -r --clean \"%L\\*.ogg\""

[HKEY_CLASSES_ROOT\Directory\shell\VorbisGain (Apply, This Folder)\command]
@="vorbisgain.exe -a \"%L\\*.ogg\""

[HKEY_CLASSES_ROOT\Directory\shell\VorbisGain (Remove, This Folder)\command]
@="vorbisgain.exe --clean \"%L\\*.ogg\""

VorbisGain Shell Add-on - For Windows - Remove.reg
Code: [Select]
REGEDIT4

; VORBISGAIN SHELL ADD-ON - FOR WINDOWS - UNINSTALLER
;
; This removes VorbisGain from Windows right click context menu for folders.
;
; Note: You may need to logoff Windows and logon again for the changes
;      to take effect.

[-HKEY_CLASSES_ROOT\Directory\shell\VorbisGain (Apply, Recursive)]
[-HKEY_CLASSES_ROOT\Directory\shell\VorbisGain (Remove, Recursive)]
[-HKEY_CLASSES_ROOT\Directory\shell\VorbisGain (Apply, This Folder)]
[-HKEY_CLASSES_ROOT\Directory\shell\VorbisGain (Remove, This Folder)]

____________________________

Downloadable version now available (30 May 2006)!
Now all the files can be downloaded by visiting this thread (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=45196&view=findpost&p=397803).
____________________________

Edit 1: I just realized copying things listed in a codebox is a royal pain, at least it is with Opera.
Edit 2: Updated the Readme1st.txt file and the Foobar2000 Remover to make a note that removing the VorbisGain Shell Add-on wouldn't harm the Foobar2000 media file context menu.
Edit 3: Updated the Readme1st.txt file yet again, I goofed and listed a removal/uninstall .reg file in it. I should've proof read it first.
Edit 4: Added downloadable pre-compiled link.
Title: Vorbis Normalizer
Post by: pepoluan on 2006-05-28 06:56:51
I don't think HA Wiki accepts .zip uploads, so the wiki will contain all your codes here. I'm not sure what to title the page. Perhaps VorbisGain/Windows Explorer Integration? A bit mouthful, but clear. Unfortunately, your .reg scripts is not limited to Explorer .reg's so  ... I will postpone creation of this new page until Tuesday, to allow input on the page's title / structure. All HA'ers are welcome to post their input in this thread. Please do not PM, since I want a discussion.

Edit: In the meantime, I'll update the Wiki to point to your post above. Or maybe we do not need a special page in HA wiki, and just leave it as it is? (i.e. point the page to this post)

Alternatively, I think you can use the Uploads forum to upload the zipped files. Last time I check, it accepts attachments > 100 kB so your zip file should be accepted. I don't know if RAR or 7Z files are accepted though. I'd prefer recovery-record-equipped RAR over ZIP any time

Edit2: The wiki has been updated. Please check this section (http://wiki.hydrogenaudio.org/index.php?title=Ogg_Vorbis#ReplayGain).
Title: Vorbis Normalizer
Post by: Andavari on 2006-05-28 07:02:54
Probably would be best to call it one of these, just suggestions:
* VorbisGain Shell
* VorbisGain Shell Add-on
* VorbisGain Context
* Context VorbisGain

Of course other people could use it as a template (if it could be called that) to support other media players media file context menus.

I'd prefer recovery-record-equipped RAR over ZIP any time

Yeah, the only thing though is zip is the defacto standard and nobody would have to go hunting for an unpacker, since unfortunately there's still those WinZip type people around without rar or 7z support.
Title: Vorbis Normalizer
Post by: pepoluan on 2006-05-28 07:47:05
Somehow I have the feeling that HA-ers either (1) already have a RAR-supporting archiver installed, or (2) can hunt for a RAR dearchiver.
Title: Vorbis Normalizer
Post by: pepoluan on 2006-05-31 12:32:53
Wiki updated to point to this thread and Andavari's precompiled scripts.

I've decided to not create a new page. Call it... laziness...
Title: Vorbis Normalizer
Post by: vlada on 2006-05-31 13:36:58
I have one totaly lame question: Why should I use VorbisGain in foobar2000 instead of internal replaygain scanner? Does it bring any benefits? Thanks.
Title: Vorbis Normalizer
Post by: iGold on 2006-05-31 15:51:57
What is "internal replaygain scanner" for Ogg Vorbis? For FLAC it is "flac --replay-gain" for encoding and "metaflac --add-replay-gain" later. But for Ogg Vorbis I know (and use) only vorbisgain - 3rd party tool from sjeng.org.
And I think no difference between this one and foobar's RG scaner. But vorbisgain can calculate album gain only if all album files are in Ogg Vorbis format and foobar can calculate album gain for any supported formats together.
Title: Vorbis Normalizer
Post by: Cartman_Sr on 2006-05-31 16:33:27
A handy unzipping freeware program is Tugzip (http://www.tugzip.com/).
Title: Vorbis Normalizer
Post by: Andavari on 2006-05-31 21:43:20
A handy unzipping freeware program is Tugzip (http://www.tugzip.com/).

I'll add it to the download page for VorbisGain Shell.
Title: Vorbis Normalizer
Post by: Firon on 2006-05-31 23:30:24
Is VorbisGain anything like MP3Gain? If so, it's basically the same reasoning as MP3Gain vs ReplayGain (works on ALL decoders, instead of just players that support RG tags)
Title: Vorbis Normalizer
Post by: Andavari on 2006-06-02 23:23:15
VorbisGain, MusePack ReplayGain, WavPack WVGain, FLAC ReplayGain, Foobar2000 ReplayGain Tagger:
All write the RG values into the tag, they don't modify the file itself therefore it's completely reversible.

MP3Gain can be used two ways:
* The original way is to actually modify the file itself so that the RG works with anything that can decode an mp3. It offers 100% compatibility since there's no tag to read the RG values from!
* The newer way is to write the RG values into tag's. Thus it would be completely reversible like other RG programs.
You of course have to tell MP3Gain which way you want to apply RG values.

If I've goofed on the description someone will correct me.
Title: Vorbis Normalizer
Post by: Firon on 2006-06-03 04:00:52
Oh, so VorbisGain is just a command line ReplayGain for Vorbis.

And MP3Gain's normal method is completely reversible as well. I didn't think it had a true ReplayGain mode, I thought it just stores the dB changes in APEv2 tags so you can undo it later.
Title: Vorbis Normalizer
Post by: Andavari on 2006-06-03 06:49:56
VorbisGain is ReplayGain for Ogg Vorbis (.ogg)! Of course if you don't want to use a command line program you can use Foobar2000 to apply or remove ReplayGain.

Yeah MP3Gain can store the tag's in the files to undo the changes which makes those changes completely reversible.
Title: Vorbis Normalizer
Post by: Firon on 2006-06-03 08:35:53
Technically they're reversible anyway, you just need to know what the original dB setting was.
Title: Vorbis Normalizer
Post by: pepoluan on 2006-06-05 20:40:08
So the right phrase is, I guess:

... reversible, but if you don't store the original value (or the delta), not undoable ...