Nattawa wrote: 
> Hi,
> 
> Using LMS 7.9.3 on piCorePlayer here. I love the Play or Resume fade-in
> feature, especially at resume playing after pausing midway of a track.
> It polishes away some rough edges and makes the LMS-client a higher
> quality/class music player.
> 
> If I could make a wish, that would be a working 1-second duration for
> the volume to ramp up. So far I found the fade-in only works with a
> setting of 2 seconds or greater duration. If set at 1, the functionality
> is gone altogether and there is no fade-in at all, just like if it were
> set to 0. I've played around all the player audio settings to no avail.
> Players I have are a Squeezebox Touch and a few computers running
> SqueezeLite-X.
> 
> On top of the wish above, if I could make another one shamelessly, a
> minimum possible fade-in duration of 0.5 second or even shorter than
> that would be great. That would help save my concerns of missing a few
> notes at the beginning of a music and still maintain the smooth sounding
> characteristic.
> 
> Thanks!

I contibuted to that part so I think the issue is that squeezeplay
players, like the Radio and the Touch have their own volume up/down for
anything below 1 sec. Here is the code in SqueezePlay.pm that explains
that

Code:
--------------------
    
  sub fade_volume {
        my ($client, $fade, $callback, $callbackargs) = @_;
  
        if (abs($fade) > 1 ) {
                # for long fades do standard behavior so that sleep/alarm work
                $client->SUPER::fade_volume($fade, $callback, $callbackargs);
        } else {
                #SP does local audio control for mute/pause/unpause so don't do 
fade in/out 
                my $vol = abs($prefs->client($client)->get("volume"));
                $vol = ($fade > 0) ? $vol : 0;
                $client->volume($vol, 1);
                if ($callback) {
                        &{$callback}(@{$callbackargs});
                }
  
        }
  }
  
--------------------

Now, squeezelite and other don't have that feature, so we can either try
to add it or change the test so that if $client->model is not a Radio or
a Touch, the > 1 test does not apply



LMS 7.7, 7.8 and 7.9 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBoxOne, XBMC, Foobar2000,
ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, , Pi
B3, B2, Pi B+, 2xPi A+, Odroid-C1, Odroid-C2, Cubie2, Yamaha WX-010,
AppleTV 4, Airport Express, GGMM E5
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=111984

_______________________________________________
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter

Reply via email to