bug-gnupod
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnupod] SoundCheck/ReplayGain


From: chris.com
Subject: Re: [Bug-gnupod] SoundCheck/ReplayGain
Date: Thu, 28 May 2009 22:11:18 +0200
User-agent: Thunderbird 2.0.0.21 (Windows/20090302)

Thanks Henrik for the time spent on this problem

H. Langos wrote:
Hi chris,

On Tue, May 26, 2009 at 11:33:53PM +0200, chris.com wrote:
some html... please reconfigure your email client... :-)
I'm sorry but I don't see any html and I don"t know how to change what. I hope this does it.

about CVS: here's the projects main page on savannah:
http://savannah.gnu.org/projects/gnupod
There you'll find a link to the CVS repository and information on how to use
it.

I tried the files that you sent with the current cvs version and the version
that is packaged for ubuntu 9.04 (some 0.98.7-CVS).

Both accept your files and put a soundcheck attribute with the correct value
in the xml file. I noticed that your manually generated iTunNORM has a
trailing space. Also the laguage code and the comment title should be separated by a null like this: "eng<0>iTunNorm<0> 00000007D ..." (see www.id3.org for details), but gnupod recognized it anyway.

So the next question is wether the iPod shuffle needs a different format in the itunesdb for the soundcheck attribute.

... spend an hour reading code ...
That part of the gnupod code is not maintained very actively and from what
I've read in the source there is a special iTunesSD file in a more simple format written for the shuffle and located next to the iTunesDB file.

Take a look at iTunesDB.pm and read the comments of the sub routines that deal with the shuffle like mk_itunes_sd_file() and you'll see a lot of unknown fields that go into this file.

I suspect that either one of those is the soundcheck field, or more probably that iTunes abuses the volume field to squeeze the soundcheck information
into this files.

I would be very greatfull if you could make the following experiment:
- Backup your iPod and wipe it clear. (I.e remove all songs and playlists)
- Take the two files that you sent to me, and maybe add one without any volume adjustment.
- Add those three files to an otherwise empty ipod shuffle with gnupod.
- Make a copy of the iTunesDB and iTunesSD file.
- Verify that they all sound the same.
- Connect the ipod to iTunes and let it update the iTunesDB and iTunesSD files.
- Verify that the files now have different volumes.
- Make a copy of those new iTunesDB and iTunesSD files too.
- Send me a copy of both versions for the iTunesDB and iTunesSD along with
  the information which version of iTunes you used.

At the first trial I noticed that a gnupod initialized iPod doesn't have Sound Check enabled. Maybe a clue to investigate?
Therefore I send you the whole thing twice

I - iTunesDB.gnupod/iTunesSD.gnupod
- from a empty iPod (rm -rf),
- gnupod_INIT-ialized,
- three mp3 added fanfarem9/00/p9.mpg (RG=-9, no RG, RG=+9),
- mktunes
- They all sound the same :-(
II - iTunesDB.iTunes/iTunesSD.iTunes
- iTunes 8.1.1.10 asks iPod's name
- Enabled Sound Check
- Three files have different volume :-)
III - iTunesDBbis.gnupod/iTunesSDbis.gnupod
- tunes2pod
- gnupod_search --delete all three songs
- gnupod_addsong same mp3 files
- mktunes
- All files sound the same
IV - iTunesDBbis.iTunes/iTunesSDbis.iTunes
- iTunes
- Sound Check already enabled
- unplug from iTunes
- The three files play at a different volume

I didn't look into the files but the are all different at each step.
My iTunes is 8.1.1.10
Thank you very much
It is I that thank you!
cheers
-henrik

   chriss

Attachment: iTunesSDbis.zip
Description: Zip archive


reply via email to

[Prev in Thread] Current Thread [Next in Thread]