Re: [SlimDevices: Plugins] Headphone safety plugin? (extend Volume Lock??)

2008-03-27 Thread Keith

I'm attempting to get VL for SC7 working but I seem to have a problem. I
can see the plugin and it's enabled but I cannot find where to switch
the plugin on.

I never had a problem with V6.5 but SC7 is a little different.

I have alien installed and that works a treat, so can only assume I
have done something stupid.

By the way I am attempting to use 7a6 of VL.

Keith


-- 
Keith

Keith's Profile: http://forums.slimdevices.com/member.php?userid=460
View this thread: http://forums.slimdevices.com/showthread.php?t=42428

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/plugins


Re: [SlimDevices: Plugins] Headphone safety plugin? (extend Volume Lock??)

2008-01-30 Thread bossanova808

Hi Peter

Sorry for the slow response, by replacement SB3 was apparently sent by
mule (with a limp).  

I finally had a chance to try it out last night (still on 6.5.whatever)
and it works a treat - does just what I wanted!

Thanks ever so much!


-- 
bossanova808

bossanova808's Profile: http://forums.slimdevices.com/member.php?userid=619
View this thread: http://forums.slimdevices.com/showthread.php?t=42428

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/plugins


Re: [SlimDevices: Plugins] Headphone safety plugin? (extend Volume Lock??)

2008-01-19 Thread peterw

bossanova808;260346 Wrote: 
 Hmm why would you want to ignore ReplayGain?

1. Because it makes the plugin much easier. Currently VolumeLock code
is only executed when a user tries to change the volume. To take RG
into account, it would have to do some work every time a new song
started. And that's not very clean or easy -- there's a new song even
that plugins can register for, but the event fires a few seconds before
the song changes. In SyncOptions, I have the plugin start looking every
few fractions of a second after the new song event fires. It's not very
pretty, and not something I'd want taking server CPU around every song
change.

2. Because, upon further thought, I don't think it makes sense. RG is
applied by the physical device (Squeezebox/Transporter -- I think
Squeezebox 1 and SliMP3 don't support RG). If you have two copies of a
song, one with RG of -2dB and another with RG of -5dB and play them in
order on a player that's using RG, the second song will play 3 dB
quieter even though the player volume doesn't change. What you want is
to cap the volume for a typical track --whether with software like
VolumeLock, or hardware as described below-- and use RG to keep loud
tracks from being played louder, and to keep quiet tracks from being
lost. 

3. If you're using analog outputs (including the headphone jacks), you
should also look at the Preamp Volume Control setting (in the Player 
Audio setting page), too. It applies some specific dB of gain/loss to
all analog output, so you could use this now --without VolumeLock at
all-- to reduce the analog output across the board, allowing you to use
the full range of the regular volume control -- you could even turn it
all the way up to 11 with the web UI. I'd also recommend to you the
wiki articles on line level matching, e.g.
http://wiki.slimdevices.com/index.cgi?ConnectToPowerAmp. Using such
physical matching along with analog outs is probably your best way to
be *sure* not to play anything too loud. Remember, VolumeLock and
SlimServer/SqueezeCenter are GPL software, with no warranty. :-)

 I do think a jive/sb interface would be useful but could certainly also
 live with a web only version myself.
 
 I'm happy to help if I can - I may not be useful with perl/development
 unless I get into it a bit, but I can certainly help with testing etc,
 and/or am willing to take on anything else useful you can think of!!

I've already started improving the player UI in 6.5.x (switching to the
normal radio button interface and adding the new maximum volume
choice) since I haven't moved my main system to SC7 yet, but I probably
won't bother with a web UI except in the SC7 release -- and I might skip
the web UI if I can easily make a Jive/Controller choice list menu.

-Peter


-- 
peterw

http://www.tux.org/~peterw/
free plugins: http://www.tux.org/~peterw/#slim
AllQuiet BlankSaver BottleRocket FuzzyTime SaverSwitcher SleepFade
StatusFirst SyncOptions VolumeLock

peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107
View this thread: http://forums.slimdevices.com/showthread.php?t=42428

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/plugins


Re: [SlimDevices: Plugins] Headphone safety plugin? (extend Volume Lock??)

2008-01-19 Thread peterw

bossanova808;260346 Wrote: 
 I'm happy to help if I can - I may not be useful with perl/development
 unless I get into it a bit, but I can certainly help with testing etc,
 and/or am willing to take on anything else useful you can think of!!

I've posted a version 1.9 for SlimServer 6.5.x here, with only a
classic IR/Player UI:
http://www.tux.org/~peterw/slim/VolumeLock/?M=D

Let me know what you think.

-Peter


-- 
peterw

http://www.tux.org/~peterw/
free plugins: http://www.tux.org/~peterw/#slim
AllQuiet BlankSaver BottleRocket FuzzyTime SaverSwitcher SleepFade
StatusFirst SyncOptions VolumeLock

peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107
View this thread: http://forums.slimdevices.com/showthread.php?t=42428

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/plugins


Re: [SlimDevices: Plugins] Headphone safety plugin? (extend Volume Lock??)

2008-01-19 Thread bossanova808

I'm not really so concerned about a random noise blasting out or
something (in three years with SBs I've not had that problem), I'm
really just wanting a way to make sure the volume can't be raised
beyond a certain level, whil still having replaygain working.

Which, if I understand what you've said above, is actually what I'll be
able to do.  

My SB3 is being replaced so I won't be able to test for a few days, but
I'll report back soon and thanks for your efforts and the above
explanation.


-- 
bossanova808

bossanova808's Profile: http://forums.slimdevices.com/member.php?userid=619
View this thread: http://forums.slimdevices.com/showthread.php?t=42428

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/plugins


Re: [SlimDevices: Plugins] Headphone safety plugin? (extend Volume Lock??)

2008-01-19 Thread peterw

I just posted a new alpha for SqueezeCenter 7 that has the new option
and has a web UI for changing the setting for each player. 
http://www.tux.org/~peterw/slim/slim7/VolumeLock/

Unless there's a problem (do let me know if there is!), I probably
won't do any more on this (i.e., won't look at adding a Controller/Jive
menu, and probably won't even update the info page  screenshots) until
at least after I finish my two top priorities -- porting SyncOptions to
SC7, and adding an idle time setting to BottleRocket.

I hope all goes well with your SB3 replacement.

-Peter


-- 
peterw

http://www.tux.org/~peterw/
free plugins: http://www.tux.org/~peterw/#slim
AllQuiet BlankSaver BottleRocket FuzzyTime SaverSwitcher SleepFade
StatusFirst SyncOptions VolumeLock

peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107
View this thread: http://forums.slimdevices.com/showthread.php?t=42428

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/plugins


Re: [SlimDevices: Plugins] Headphone safety plugin? (extend Volume Lock??)

2008-01-18 Thread peterw

Yeah, that should be doable, especially if I ignore replaygain (which I
do use for my local collection, BTW), etc. 

For pre-Receiver gear, the VolumeLock interface is terribly primitive:
'Play' to lock the volume, 'Add' to re-enable control. What if, for
pre-Receiver players, I just added something like 'Pause' to set the
current level as the maximum volume level? I should be able to code
that very quickly. Would you want it for SlimServer 6.5.x, or just for
SqueezeCenter 7?

Making a Jive/Controller interface for VolumeLock is in the middle of
my plugin todo list (after some SyncOptions and BottleRocket work). Is
a Jive/Controller interface something you'd have use for in the short
term?

-Peter


-- 
peterw

http://www.tux.org/~peterw/
free plugins: http://www.tux.org/~peterw/#slim
AllQuiet BlankSaver BottleRocket FuzzyTime SaverSwitcher SleepFade
StatusFirst SyncOptions VolumeLock

peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107
View this thread: http://forums.slimdevices.com/showthread.php?t=42428

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/plugins


[SlimDevices: Plugins] Headphone safety plugin? (extend Volume Lock??)

2008-01-18 Thread bossanova808

Is there a plugin that can limit the maximum headphone output volume, to
protect ones ears from years of late night headphone listening and the
temptation to 'crank it to 11'?  A lot of digi music players have this
option and while it may not be popular with the young folk, those of us
over 30 probably want to hang on to our senses for as long as we can!

If there isn't one, I might consider making one - I notice there is a
volume lock plugin, that might be a good place to poke around as a
starting point - or perhaps Peter this is something you'd find
easay-ish to add?

Especially given the duet controller, which may well end up in quite a
few bedrooms once it can play music directly, this would be a nice
feature.

Would be nice if it factored in replaygain and had a sensible defualt
max volume, but was configurable per player.  Of course I guess the
actual output volume depends on the actual headphones and the strength
of signal needed to drive them...

Would this be interesting to anyone other than me??  Any further ideas
what it should do, how it should work etc?

I'm a total novice in Perl but have about 20 other languages behind me
so figure it can't be too hard to get started, but I run a business so
time is tight so if there is a volunteer out there that would find this
easy...that would be most excellent!!


-- 
bossanova808

bossanova808's Profile: http://forums.slimdevices.com/member.php?userid=619
View this thread: http://forums.slimdevices.com/showthread.php?t=42428

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/plugins


Re: [SlimDevices: Plugins] Headphone safety plugin? (extend Volume Lock??)

2008-01-18 Thread bossanova808

Hmm why would you want to ignore ReplayGain?  For people interested in
this, they're probaly interested in RG as well as it keeps things nice
and level and stops nasty surprises.  Basically, let the system
calculate the volume based on the RG values and essentially, if it is
over the user threshold, limit the volume to the threshold, otherwise
leave it under.

I think might as well move to SC7 as I expect most will upgrade and why
spend time on legacy support of 6.5 when the change to SC7 are much of
an improvement - I suppose some cautious people will hang off for a
while, but the new GUI etc looks so attractive I think most people will
be tempted..

I do think a jive/sb interface would be useful but could certainly also
live with a web only version myself.

I'm happy to help if I can - I may not be useful with perl/development
unless I get into it a bit, but I can certainly help with testing etc,
and/or am willing to take on anything else useful you can think of!!


-- 
bossanova808

bossanova808's Profile: http://forums.slimdevices.com/member.php?userid=619
View this thread: http://forums.slimdevices.com/showthread.php?t=42428

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/plugins