IPB

Welcome Guest ( Log In | Register )

> foobar2000 Development Forum Rules

This forum is for developer discussions only. If you have a problem / bug report / idea / feature request that isn't related to foobar2000 SDK, post it in an appropiate forum instead - tech support questions go to support forum, everything else goes to general forum.
All non-developer posts on this forum will be removed. Continued abuse of this forum will result in admin actions (warnings, account suspension).

Convert replaygain to iTunes/iPod volume?, Can this be done & does it make sense?
davelasker
post Aug 1 2004, 22:39
Post #1





Group: Members
Posts: 123
Joined: 1-August 04
From: San Francisco
Member No.: 15951



I'm an experienced Windows programmer, but a digital audio newbie and also a new iPod owner. I'm trying to normalize playback volume through my iPod.

I tried Apple's Sound Check and didn't like the results. Just turning Sound Check on in the iPod makes its output sound terrible, even before any normalization was done in iTunes.

I'm looking for something like iVolume (Mac-only AFAIK) for Windows that manipulates the volume for each track. I'd like to take a crack at building a fb2k plug-in to do this.

I looked at foo_pod, but it seems they are going the Sound Check route. I'm suffering from the delusion that manipulating volume will give better results than Sound Check. Any truth to this?

Info I'm looking for includes:
a) Where & how is the Volume stored in an Apple .mp4 file? Or is it in the iTunes DB? Any pointers to docs on this would be apprecated.
b) Or would it be easier to use the QuickTime API to set the volume?
c) In either case, how are the replaygain db levels mapped to Apple volume levels???
d) Any other forums where I should be asking this question?

Thanks for the help!

Dave

This post has been edited by davelasker: Aug 1 2004, 22:40
Go to the top of the page
+Quote Post
 
Start new topic
Replies
JohanDeBock
post Mar 21 2006, 18:17
Post #2





Group: Developer
Posts: 250
Joined: 23-March 05
Member No.: 20866



This is something I just made for people that still use iTunes for their ipod management, but also want to use Replay Gain.

http://uclc.info/ipod/

Usage:
ipodrg.exe file.mp3 a for Album Gain
ipodrg.exe file.mp3 t for Track Gain

If it finds a Replay Gain tag AND a Sound Check tag,
it alters the Sound Check tag to match the Replay Gain value.

Thanks to Otto42, Mike Giacomelli, Aero and anyone I forgot at Hydrogenaudio for clearing out the converion formula.

I still don't know what all the values in the iTunNORM tag mean so I just replace them all with the Replay Gain value.
What I do know is that all those values seem to have an effect on the dB value given by Get Info in iTunes.

Feel free to debug, add features, ...

The rgsc program is a simple program that gives a list of all the tracks in an iTunesDB file together with their Sound Check value.
Usage:
rgsc iTunesDB

This post has been edited by JohanDeBock: Mar 22 2006, 17:13


--------------------
foo_softplaylists: http://tiny.cc/kh9m9
Go to the top of the page
+Quote Post
SNAG
post Apr 13 2006, 04:42
Post #3





Group: Members
Posts: 97
Joined: 20-April 03
Member No.: 6076



QUOTE (JohanDeBock @ Mar 21 2006, 09:17 AM) *
This is something I just made for people that still use iTunes for their ipod management, but also want to use Replay Gain.

http://uclc.info/ipod/

Usage:
ipodrg.exe file.mp3 a for Album Gain
ipodrg.exe file.mp3 t for Track Gain

If it finds a Replay Gain tag AND a Sound Check tag,
it alters the Sound Check tag to match the Replay Gain value.

Thanks to Otto42, Mike Giacomelli, Aero and anyone I forgot at Hydrogenaudio for clearing out the converion formula.

I still don't know what all the values in the iTunNORM tag mean so I just replace them all with the Replay Gain value.
What I do know is that all those values seem to have an effect on the dB value given by Get Info in iTunes.

Feel free to debug, add features, ...

The rgsc program is a simple program that gives a list of all the tracks in an iTunesDB file together with their Sound Check value.
Usage:
rgsc iTunesDB


Hi, thanks for the program, it's going to be a godsend to me.

Just to ask, is there any way to batch re-tag the Soundcheck files that I have? Typing the command for thousands of files is going to kill me.. smile.gif

Just a suggestion: It would be great if a FB2K plugin could be created to also automatically write the relevant Soundcheck values into the MP3 file(s) when RG is applied to them.
Go to the top of the page
+Quote Post

Posts in this topic
- davelasker   Convert replaygain to iTunes/iPod volume?   Aug 1 2004, 22:39
- - Aero   QUOTE (davelasker @ Aug 1 2004, 03:39 PM)I...   Aug 1 2004, 23:51
|- - davelasker   Thanks for the quick and detailed reply. I see in...   Aug 2 2004, 01:50
|- - Aero   QUOTE (davelasker @ Aug 1 2004, 06:50 PM)I se...   Aug 2 2004, 02:10
|- - Otto42   QUOTE (davelasker @ Aug 1 2004, 07:50 PM)I wa...   Aug 4 2004, 17:06
|- - davelasker   When I first got my iPod, I intended to use soundc...   Aug 9 2004, 19:03
- - JohanDeBock   This is something I just made for people that stil...   Mar 21 2006, 18:17
|- - SNAG   QUOTE (JohanDeBock @ Mar 21 2006, 09:17 A...   Apr 13 2006, 04:42
||- - david_dl   QUOTE (SNAG @ Apr 13 2006, 04:42 PM) Just...   Apr 13 2006, 04:56
||- - JohanDeBock   QUOTE (david_dl @ Apr 13 2006, 05:56 AM) ...   Apr 13 2006, 08:32
||- - SNAG   QUOTE (JohanDeBock @ Apr 12 2006, 11:32 P...   Apr 13 2006, 18:48
|- - incripshin   For those who use linux, or have cygwin installed,...   Sep 21 2006, 05:21
- - foosion   MS-DOS wouldn't help, but cmd.exe will do. T...   Apr 13 2006, 19:19
- - JohanDeBock   An extra tip, you should place the directory locat...   Apr 14 2006, 11:09
|- - SNAG   QUOTE (JohanDeBock @ Apr 14 2006, 02:09 A...   May 2 2006, 13:47
|- - JohanDeBock   QUOTE (SNAG @ May 2 2006, 02:47 PM) EDIT:...   May 3 2006, 13:19
- - magnusak   I run the utility to convert replay gain to Sound ...   May 31 2006, 11:40
|- - JohanDeBock   QUOTE (magnusak @ May 31 2006, 12:40) I r...   May 31 2006, 21:27
|- - magnusak   QUOTE (JohanDeBock @ May 31 2006, 21:27) ...   Jun 1 2006, 09:39
|- - JohanDeBock   QUOTE (magnusak @ Jun 1 2006, 10:39) QUOT...   Jun 1 2006, 09:59
|- - magnusak   QUOTE (JohanDeBock @ Jun 1 2006, 09:59) Q...   Jun 1 2006, 17:10
|- - JohanDeBock   QUOTE (magnusak @ Jun 1 2006, 18:10) Is t...   Jun 1 2006, 19:51
|- - Otto42   QUOTE (magnusak @ Jun 1 2006, 11:10) By t...   Jun 2 2006, 17:38
|- - magnusak   QUOTE (Otto42 @ Jun 2 2006, 17:38) Edit: ...   Jun 5 2006, 07:55
|- - Mike Giacomelli   QUOTE (Otto42 @ Jun 2 2006, 09:38) QUOTE ...   Jun 6 2006, 20:29
- - =trott=   I've been looking for a while now to remove so...   Jun 2 2006, 21:38
- - dano   It's just a comment frame with the description...   Jun 7 2006, 00:55
- - Skates   What's this certain way of adding the dummy ta...   Aug 18 2006, 21:14
- - dano   Ok, some time has passed and it has become a bit e...   Aug 18 2006, 22:09
|- - W.A.B.   QUOTE (dano @ Aug 18 2006, 15:09) Ok, som...   Sep 25 2006, 17:06
- - karl_lillevold   It's too bad ipodrg does not work with MPEG4 t...   Dec 9 2006, 00:21
- - dano   It's now also possible to use only Mp3tag for ...   Dec 20 2006, 15:22
|- - Prodoc   QUOTE (dano @ Dec 20 2006, 15:22) It...   Dec 20 2006, 15:55
|- - karl_lillevold   QUOTE (dano @ Dec 20 2006, 06:22) It...   Jan 1 2007, 22:16
- - dano   I currently have iTunes 7.0.2.16 1) It reads the ...   Jan 2 2007, 00:26
|- - karl_lillevold   dano: I think my "Replace with regular expres...   Jan 2 2007, 00:52
- - dano   Ok I've uploaded the 4 possible actions here. ...   Jan 2 2007, 01:43
- - karl_lillevold   Excellent. Everything works fine now. Thanks!   Jan 2 2007, 01:53
|- - LadFromDownUnder   So let's say I wanted to do the following: 1....   Jan 7 2007, 10:31
- - riffmaker   QUOTE (JohanDeBock @ Apr 14 2006, 04:09) ...   Feb 13 2007, 20:23
|- - swyn   QUOTE (riffmaker @ Feb 13 2007, 15:23) QU...   Apr 18 2007, 04:24
- - dhartson   I was having trouble running ipodrg from the comma...   Jan 11 2008, 12:12


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 26th December 2014 - 06:55