PDA

View Full Version : Automatic volume adjustment in 6.2



eschurr
2005-10-26, 17:11
I just installed 6.2 and was thrilled with the notice that it contains automatic volume adjustments -- something I've been requesting for almost the nearly two years that I've had (and loved!) my SqueezeBox.

But how does it work? I don't see any difference when it plays on my song collection.

I'm using iTunes with MP3 files.

Do I have to use the iTunes volume adjustment? i tried that but it doesn't seem to do anything. I displayed the "information" via the Fishbone interface and there's a voluume adjustment attribute, but it doesn't seem to have any affect.

i read elsewhere in the forum about ReplayGain -- do i need to create these for every song and how do I do it? Or is this created by the "volume adjustment" control in iTunes?

I read something about MP3Gain -- is that a program that automatically creates the volume adjustment tags?

Lastly, do i have to turn this feature on in SlimServer? i dug around the Server settings but couldn't find any setting for this.

thanks.

Yannzola
2005-10-26, 19:38
eschurr,
Take a look at the following thread. I think it answers many of your questions:
http://forums.slimdevices.com/showthread.php?t=16408

eschurr
2005-10-27, 18:26
Thanks -- this is helpful. i can't find any such setting under Player->Audio. Do i need an SB2 or should this work with a first-generation Squeezebox?

Dan Sully
2005-10-27, 18:30
* eschurr shaped the electrons to say...

>Thanks -- this is helpful. i can't find any such setting under
>Player->Audio. Do i need an SB2 or should this work with a
>first-generation Squeezebox?

You need an SB2 or greater.

-D
--
<Djall> and I also learned that a meat vortex takes meat away from you.

drewster
2005-10-28, 12:08
OK, so ReplayGain writes metadata on volume adjustment into the invidivual files, correct?

Is iTunes' Volume Adjustment a similar idea, or is it a RG implementation? If the former, is SlimServer then transliterating iTunes' Volume Adjustment settings into RG instructions?

Just trying to determine the relationships here.

Thanks,
Andrew

Dan Sully
2005-10-28, 12:13
* drewster shaped the electrons to say...

>OK, so ReplayGain writes metadata on volume adjustment into the
>invidivual files, correct?

That is correct.

>Is iTunes' Volume Adjustment a similar idea, or is it a RG
>implementation? If the former, is SlimServer then transliterating
>iTunes' Volume Adjustment settings into RG instructions?

I'm not sure of iTunes's underlying implementation. I've heard it called
'SoundCheck' before. SlimServer can read the Volume Adjustment entries in the
iTunes XML file for both MP3 and AAC files. iTunes also writes out 'RVAD'
ID3v2.3 tags to MP3 files, which we can read as well, independent of the
iTunes XML file.

-D
--
"You can usually recover from production flaws...but you can never recover from a bad design".

drewster
2005-10-28, 12:25
I'm not sure of iTunes's underlying implementation. I've heard it called
'SoundCheck' before.
SoundCheck seems to be a global setting for all audio, where Volume Adjustment is the per-song volume setting.

SlimServer can read the Volume Adjustment entries in the
iTunes XML file for both MP3 and AAC files. iTunes also writes out 'RVAD'
ID3v2.3 tags to MP3 files, which we can read as well, independent of the
iTunes XML file.
Does ReplayGain also write RVAD data?

In other words, are we dealing with the same data tags, regardless of whether they were written by iTunes or ReplayGain?

Dan Sully
2005-10-28, 12:38
* drewster shaped the electrons to say...

>Does ReplayGain also write RVAD data?

No - ReplayGain is a method for determining volume adjustment.

The tags written depend on the program.

FLAC/Vorbis write REPLAYGAIN_TRACK_GAIN & PEAK tags, and ALBUM as well.

MP3Gain writes APE Tags into the ID3v1 header of a MP3 file.

AACGain writes custom tags into AAC files.

Foobar2k writes APE tags or sometimes RVAD tags?

J. River Media Center writes custom tags into an array of COMM tags.

iTunes writes volume adjustment data into RVAD tags in MP3 files.

>In other words, are we dealing with the same data tags, regardless of
>whether they were written by iTunes or ReplayGain?

No. Because the method used to calculate the volume adjustment is different.

-D
--
<iNoah> I think someone should create a magazine for computer peripherals, called Card & Driver

drewster
2005-10-28, 12:47
Interesting. So it sounds like the SlimServer release notes could use refining in this area -- they give the impression (to me any way) that ReplayGain is the gatepoint for volume adjustment across all the listed formats and programs.

Replay Gain - SB2/SB3
Automatically adjusts the volume based on RG infomation from the following formats:
Ogg & FLAC with the standard replaygain tools.
mp3gain, aacgain, J.River Media Center & iTunes

Is it more accurate to say, then, that SlimServer supports automatic volume adjustment data as recorded by [list], as well as ReplayGain in OGG and FLAC?

dean
2005-10-28, 14:59
On Oct 28, 2005, at 12:08 PM, drewster wrote:
> OK, so ReplayGain writes metadata on volume adjustment into the
> invidivual files, correct?
Exactly.

> Is iTunes' Volume Adjustment a similar idea, or is it a RG
> implementation? If the former, is SlimServer then transliterating
> iTunes' Volume Adjustment settings into RG instructions?
It's a similar idea, I'm not sure what algorithm they are using to
calculate the adjustment automatically. You can, in iTunes, adjust
the level manually as well.
(It's called "Sound Check".) iTunes writes the information into the
files as well as presents it in their XML file format.

eschurr
2005-10-29, 12:05
Thanks for all the help. I've been debating if I should buy an SB2 and the volume equalization is compelling enough to make me get one. i've been wanting this for two years. Congratulations on adding it.

Can anyone say whether it works well or not? does it make a noticeable difference?

hdarwen
2005-10-29, 12:22
for me foobar's putting them in vorbis comments for flac, and ID3V2 for MP3. the field names are always the same ...

replaygain_album_gain
replaygain_album_peak
replaygain_track_gain
replaygain_track_peak

foobars gain scanner seems to be able to put them in just about every format in fact.

thx.

h.

-----Original Message-----
From: discuss-bounces (AT) lists (DOT) slimdevices.com
[mailto:discuss-bounces (AT) lists (DOT) slimdevices.com]On Behalf Of Dan Sully
Sent: 28 October 2005 20:39
To: Slim Devices Discussion
Subject: [slim] Re: Automatic volume adjustment in 6.2



Foobar2k writes APE tags or sometimes RVAD tags?


-D
--
<iNoah> I think someone should create a magazine for computer peripherals, called Card & Driver

hdarwen
2005-10-29, 12:24
works well for me ... my files are all over the place in terms of the volume
level, but the RG tags and slim seem to have sorted it all out ...

-----Original Message-----
From: discuss-bounces (AT) lists (DOT) slimdevices.com
[mailto:discuss-bounces (AT) lists (DOT) slimdevices.com]On Behalf Of eschurr
Sent: 29 October 2005 20:06
To: discuss (AT) lists (DOT) slimdevices.com
Subject: [slim] Re: Automatic volume adjustment in 6.2



Thanks for all the help. I've been debating if I should buy an SB2 and
the volume equalization is compelling enough to make me get one. i've
been wanting this for two years. Congratulations on adding it.

Can anyone say whether it works well or not? does it make a noticeable
difference?


--
eschurr

Dan Sully
2005-10-29, 12:32
* Howard Darwen shaped the electrons to say...

>works well for me ... my files are all over the place in terms of the volume
>level, but the RG tags and slim seem to have sorted it all out ...

I've started a Wiki page for Automatic Volume Adjustment. Please feel free to add to it!

http://wiki.slimdevices.com/index.cgi?AutomaticVolumeAdjustment

-D
--
This knob controls the thing that changes when you turn it. - noah

eschurr
2005-10-31, 12:50
Two thoughts:

-- would be worthwhile to mention that the volume adjustment requires an SB2 or greater.

-- does iTunes and MP3Gain write their volume adjustments to the same place? i ask this because i did a test with MP3Gain to adjust some sound volumes, and when i opened those song in iTunes the "volume adjustment" slider reflected the change generated by MP3Gain. When i read this "iTunes writes volume adjustment data into RVAD tags in MP3 files" it made me wonder if iTunes and MPEGain write their info to the same places?

abdomen
2005-10-31, 14:11
-- would be worthwhile to mention that the volume adjustment requires an SB2 or greater.
The article already begins with the heading "Squeezebox2 and Squeezebox3rdGeneration support AutomaticVolumeAdjustment."
:)

eschurr
2005-11-01, 06:30
whoops -- you're right. i skipped the title and went right to the guts of it. my bad.

Has anyone tried the volume adjustment? Does it work well?

gingerneil
2005-11-01, 06:43
Installed foobar2000, installed the wma module and am now scanning all of my wma files and adding replaygain information.
I've added a link to the wiki - gives a guide to foobar2000 and replaygain.

How can I confirm that SS is using these tags correctly ??

Dan Sully
2005-11-01, 09:14
* gingerneil shaped the electrons to say...

>I have gone through the process of adding ReplayGain information to my
>wma collection using J. River Media Center. How can I confirm that SS
>is using these correctly ?? Is there somewhere on the web interface or
>on the SB that tells me what the dB adjustment is ?

The 'songinfo' page for each track.

-D
--
This knob controls the thing that changes when you turn it. - noah

eschurr
2005-11-01, 09:17
I'm no expert, but I think if you click on the "information" link/button in the playlist (the list of songs that are playing or about to play) you will get some information telling you what the ReplayGain value is. I tried this via the Fishbone interace and it worked (although i don't have an SB2, so i can't experience the difference in output)