Home of the Squeezebox™ & Transporter® network music players.
Page 4 of 5 FirstFirst ... 2345 LastLast
Results 31 to 40 of 45
  1. #31
    Senior Member
    Join Date
    Mar 2007
    Location
    UK
    Posts
    1,285
    Pippin,
    Sorry for the twenty questions. Where can I find Playback.lua?

    I can see it's referred to in ./Slim/Utils/OS/SqueezeOS.pm but I can't find Playback.lua in slimserver repo from github - nor even on my file system where LMS is installed. Where should I look?

    Thanks, Darren
    Last edited by darrenyeats; 2015-11-20 at 13:35.
    Check it, add to it! http://www.dr.loudness-war.info/

    SB Touch

  2. #32
    Senior Member pippin's Avatar
    Join Date
    Oct 2007
    Location
    Berlin
    Posts
    13,954

    Dithered volume control for Squeezebox

    It's not part of the server, it's part of SqueezePlay. You need to download the SqueezePlay source code.
    The server doesn't contain any client-side code, the firmware is just used as complete bundle packages and even these are only downloaded at runtime.

    The code is on github, I think. At least it used to be.
    Last edited by pippin; 2015-11-20 at 14:11.
    ---
    learn more about iPeng, the iPhone and iPad remote for the Squeezebox and
    Logitech UE Smart Radio as well as iPeng Party, the free Party-App,
    at penguinlovesmusic.com
    New: iPeng 9, the Universal App for iPhone, iPad and Apple Watch

  3. #33
    Senior Member Julf's Avatar
    Join Date
    Dec 2010
    Posts
    2,344
    Quote Originally Posted by pippin View Post
    It's not part of the server, it's part of SqueezePlay. You need to download the SqueezePlay source code.
    The server doesn't contain any client-side code, the firmware is just used as complete bundle packages and even these are only downloaded at runtime.

    The code is on github, I think. At least it used to be.
    7.8 is at https://code.google.com/p/squeezeslave/downloads/list. It contains two Playback.lua files:
    Code:
    ./share/jive/jive/audio/Playback.lua
    ./share/jive/applets/ScriptPlay/config/userpath/settings/Playback.lua
    "To try to judge the real from the false will always be hard. In this fast-growing art of 'high fidelity' the quackery will bear a solid gilt edge that will fool many people" - Paul W Klipsch, 1953

  4. #34
    Senior Member pippin's Avatar
    Join Date
    Oct 2007
    Location
    Berlin
    Posts
    13,954
    Interesting. What's ScriptPlay? Hadn't seen that one.
    ---
    learn more about iPeng, the iPhone and iPad remote for the Squeezebox and
    Logitech UE Smart Radio as well as iPeng Party, the free Party-App,
    at penguinlovesmusic.com
    New: iPeng 9, the Universal App for iPhone, iPad and Apple Watch

  5. #35
    Senior Member pippin's Avatar
    Join Date
    Oct 2007
    Location
    Berlin
    Posts
    13,954
    Ok, that ScriptPlay thing is just for desktop SqueezePlay and overrides the model name. Irrelevant here.
    ---
    learn more about iPeng, the iPhone and iPad remote for the Squeezebox and
    Logitech UE Smart Radio as well as iPeng Party, the free Party-App,
    at penguinlovesmusic.com
    New: iPeng 9, the Universal App for iPhone, iPad and Apple Watch

  6. #36
    Senior Member
    Join Date
    Mar 2007
    Location
    UK
    Posts
    1,285
    Ok guys, the dithered volume control change is now immediate with FLAC! (There's a small pause whilst stream resumes. This is minimal and unavoidable using SoX server-side.)

    See Dropbox link from post 1 for this update.
    Darren
    Last edited by darrenyeats; 2015-11-24 at 11:17.
    Check it, add to it! http://www.dr.loudness-war.info/

    SB Touch

  7. #37
    Senior Member
    Join Date
    Mar 2007
    Location
    UK
    Posts
    1,285
    Pippin, Julf,
    Thanks for the information on Playback.lua.
    Check it, add to it! http://www.dr.loudness-war.info/

    SB Touch

  8. #38
    Senior Member
    Join Date
    Nov 2009
    Location
    Duesseldorf
    Posts
    788
    Darren.

    How does your process work with squeezelite as client?
    The volume-lock plugin on the server is meant for squeeze HW as far as the description suggests.
    There's no problem to lock the volume on the squeezelite client though.

    And.
    What's "fab4" in you convert.conf?
    flc flc fab4 *


    And.
    Some controllers show "%" as level. How is that matched to your 0.5db steps?

    Thx.
    Last edited by soundcheck; 2016-12-23 at 02:40.

  9. #39
    Senior Member toby10's Avatar
    Join Date
    Jul 2007
    Location
    USA (home of the bottomless credit card)
    Posts
    9,051
    Fab4 was the name given to the Touch player during development and beta user testing, prior to it's official release.

  10. #40
    Senior Member
    Join Date
    Mar 2007
    Location
    UK
    Posts
    1,285
    The dithered volume control is server-side (SoX) so I think it could work with other clients.

    Re: VolumeLock plugin please see post 2.
    Quote Originally Posted by darrenyeats View Post
    Fixing client volume to 100 disables the attenuation on the client, however, the server-side volume can still be adjusted (it simply will not be pushed to client).

    But any time you reset the volume from the client end, the client pushes its volume (100) to the server. Same goes for system boot up. This is why client volume controls must be avoided. Also this is why VolumeLock plugin must be used - it near-instantly reduces to the set limit the server volume (but not the client volume which is always 100).
    So it is the very fact that the player volume is fixed to 100 which necessitates the use of VolumeLock plugin, for protection.

    What "controller" exactly shows %? I'd assume any percentage is another way of stating 0-100 i.e. 0.5dB increments as stated.

    Note that after some investigation, the use of TPDF dither has been confirmed as correct. This is the best kind of dither if further processing is going to happen. Since most of us use upsampling DACs (some with ASRC too) this is recommended. People using NOS DACs might want to experiment with shaped dither ("dither" becomes "dither -S" in convert.conf) but TPDF is going to be fine even for them.
    Last edited by darrenyeats; 2017-01-01 at 09:28.
    Check it, add to it! http://www.dr.loudness-war.info/

    SB Touch

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •