Home of the Squeezebox™ & Transporter® network music players.
Page 3 of 3 FirstFirst 123
Results 21 to 29 of 29
  1. #21
    Senior Member
    Join Date
    Nov 2011
    Posts
    155

    Does LMS 7.9.1 support Wavpack DSDplayback?

    On 13.09.2017 19:28, michaelvv wrote:
    > WORKS GREAT BUT THIS IS NOT DSD
    >
    > Code:
    > --------------------
    > wvunpack file.wv -wq -o - | sox -q - -r 176.4k -b 24 -C 0 -t alsa plughw:2
    > --------------------
    >

    This plays it as DSD DoP:

    wvunpack -q file.wv --dff -o - | sox -t dff - -r 176400 -t wav -b 24 -e
    signed --endian little - dop

    However it requires SoX from: https://github.com/mansr/sox

  2. #22
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    15,154
    Quote Originally Posted by michaelvv View Post
    I have tried to play directly on my linux box, but I'm not able to play other than PCM format.
    This is why you need to define a new audio type for compressed DSD so that a LMS just uncompresses and then passes DSD stream to a DSD capable player.

  3. #23
    Senior Member
    Join Date
    Nov 2011
    Posts
    155

    Does LMS 7.9.1 support Wavpack DSDplayback?

    On 13.09.2017 19:53, Kimmo Taskinen wrote:
    > On 13.09.2017 19:28, michaelvv wrote:
    >> WORKS GREAT BUT THIS IS NOT DSD
    >>
    >> Code:
    >> --------------------
    >> wvunpack file.wv -wq -o - | sox -q - -r 176.4k -b 24 -C 0 -t
    >> alsa plughw:2
    >> --------------------
    >>

    > This plays it as DSD DoP:
    >
    > wvunpack -q file.wv --dff -o - | sox -t dff - -r 176400 -t wav -b 24
    > -e signed --endian little - dop
    >
    > However it requires SoX from: https://github.com/mansr/sox


    And here is a patch for Audio-Scan Wavpack DSD support. Otherwise LMS
    does not detect Wavpack DSD files correctly.

    http://www.daphile.com/gpl-src/00-Da..._support.patch
    Last edited by kipeta; 2017-09-13 at 10:08.

  4. #24
    Senior Member
    Join Date
    Mar 2013
    Posts
    125
    Quote Originally Posted by kipeta View Post
    On 13.09.2017 19:28, michaelvv wrote:
    > WORKS GREAT BUT THIS IS NOT DSD
    >
    > Code:
    > --------------------
    > wvunpack file.wv -wq -o - | sox -q - -r 176.4k -b 24 -C 0 -t alsa plughw:2
    > --------------------
    >

    This plays it as DSD DoP:

    wvunpack -q file.wv --dff -o - | sox -t dff - -r 176400 -t wav -b 24 -e
    signed --endian little - dop

    However it requires SoX from: https://github.com/mansr/sox
    I have the sox git compiled on my computer and I can confirm that

    Code:
    wvunpack -q file.wv --dff -o - | sox -t dff - -r 176400 -t wav -b 24 -e signed --endian little -t alsa plughw:2 dop
    Works fine :-)

  5. #25
    Senior Member
    Join Date
    Mar 2013
    Posts
    125
    Too be able to play compressed wavpack DSF,DFF files in LMS would be a really nice feature.

    It will save a lot of harddisk space.

  6. #26
    Senior Member
    Join Date
    Mar 2013
    Posts
    125
    Okay this is really a bad way to do it, but I'm playing my compressed DFF,DSF files in LMS now.

    I'm on a linux version , so this is what I did..

    As I never shall use wavpack for anything else as DFF,DSF I just did these things.

    in /etc/squeezeboxserver/types.conf I altered the wvp line to

    wvp wv audio/dsf audio

    in /etc/squeezeboxserver/convert.conf I added these lines

    Code:
    wvp dsf * *
            # FT:{START=--skip=%t}U:{END=--until=%v}D:{RESAMPLE=-r %d}
            [wvunpack] $FILE$ --dsf $START$ $END$ -o -
    in library /usr/share/squeezeboxserver/Bin/x86_64-linux

    I copied the new vwunpack files at least version 5.0.0 , it was version 4.5

    And then I just restarted the server

    systemctl restart logitechmediaserver

    PS! Bugs: The time on the playing song is not working correctly, shows much longer time.

  7. #27
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    15,154
    Quote Originally Posted by michaelvv View Post
    Okay this is really a bad way to do it, but I'm playing my compressed DFF,DSF files in LMS now.
    Why is it a bad way - defining a new audio type without changing LMS code is the right way.

    You should not change convert.conf and types.conf but add your own rules to custom-convert.conf and custom-types.conf - this way they stay around after an LMS update
    The binary does not have to be in LMS directory as long it is on the system path (e.g. local/bin) .

    If you want to handle file specifci info & metadata such as playing time - that means code changes to scanner.

  8. #28
    Senior Member
    Join Date
    Mar 2013
    Posts
    125
    Quote Originally Posted by bpa View Post
    If you want to handle file specifci info & metadata such as playing time - that means code changes to scanner.
    Any clue how to do this ???

  9. #29
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    15,154
    Quote Originally Posted by michaelvv View Post
    Any clue how to do this ???
    I don't know the scanner but Kipeta posted a patch a few posts earlier but I suspect it may be overriding wavepack rather than creating a new compressed DSD format.

Posting Permissions

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