Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 10 of 10
  1. #1

    Upsampling Plugin

    Is there any plugin for slimserver for upsampling 16/44.1 to 24/96?
    Last edited by adyc; 2008-01-14 at 06:23.

  2. #2
    Senior Member
    Join Date
    Jan 2007
    Location
    Hooterville,Oregon
    Posts
    854
    Quote Originally Posted by adyc View Post
    Is there any plugin for slimserver for upsampling 16/44.1 to 24/96?

    The Inguz plugin does 16/44.1 -> 24/44.1

    .

  3. #3
    Founder, Slim Devices seanadams's Avatar
    Join Date
    Apr 2005
    Posts
    2,880
    Quote Originally Posted by haunyack View Post
    The Inguz plugin does 16/44.1 -> 24/44.1

    .
    That's not upsampling... that's not anything.

  4. #4
    Senior Member
    Join Date
    Jan 2007
    Location
    Hooterville,Oregon
    Posts
    854
    Quote Originally Posted by seanadams View Post
    That's not upsampling... that's not anything.
    sean
    Let me revise ...
    The Inguz plugin does not anything.
    My ignorance is showing like a bad suit.
    Last edited by haunyack; 2008-01-14 at 09:37.

  5. #5
    Senior Member pfarrell's Avatar
    Join Date
    Apr 2005
    Location
    Northern Virginia
    Posts
    4,246

    Upsampling Plugin

    haunyack wrote:
    > Let me revise ...
    > The Inguz plugin does not anything.


    It adds bits of zero to the low order. Technically that is something.
    Just not something useful or audible.

    There is little evidence that even having signal bits out more than 19
    or 20 bits per sample is audible.

    But then, this is the audiophile forum


    --
    Pat Farrell
    http://www.pfarrell.com/


  6. #6
    Founder, Slim Devices seanadams's Avatar
    Join Date
    Apr 2005
    Posts
    2,880
    Quote Originally Posted by haunyack View Post
    The Inguz plugin does not anything.
    Well, when it's doing some DSP work then it is doing something, and in that case it is beneficial to have more output resolution because you are changing the signal in some way. But just passing a signal through from a 16 bit pipe into a 24-bit pipe is not doing anything at all to it.

  7. #7
    On UNIX you can try sox. A sample entry in convert.conf can look like the following:

    flc flc * *
    /usr/bin/flac -dcs --force-aiff-format --skip=$START$ --until=$END$ -- $FILE$ | /usr/local/bin/sox -v0.98 --buffer 32768 -V4 -t aif -r44100 -2 -c2 - -t wav -2 -c2 -r96000 - polyphase -cutoff 1.0 stat | /usr/bin/flac -cs --totally-silent --compression-level-0 -

    Explanation:

    1. convert FLAC to AIFF ( /usr/bin/flac -dcs --force-aiff-format...)

    2. upsample from 44.1 to 96 using polyphase filter and convert to WAV ( /usr/local/bin/sox -v0.98 ... )

    3. convert WAV to FLAC with no compression ( /usr/bin/flac -cs ... )

    I discovered that you have to convert the upsampled stream to FLAC, otherwise my Transporter plays it too slow.
    Last edited by alekz; 2008-01-14 at 15:18. Reason: formatting

  8. #8
    I hope there would be similar plugin like Secret Rabbit Code for Foobar 2000. It would turn slimserver as a free upsampler limited only by the CPU.

  9. #9
    Quote Originally Posted by seanadams View Post
    Quote Originally Posted by haunyack View Post
    The Inguz plugin does not anything.
    Well, when it's doing some DSP work then it is doing something, and in that case it is beneficial to have more output resolution because you are changing the signal in some way. But just passing a signal through from a 16 bit pipe into a 24-bit pipe is not doing anything at all to it.
    Actually the Inguz plugin does upsampling of the correction file from 44.1, to 48 or 96 kHz using SoX to match the sampling rate of the currently played file.

    Not that this is what you are asking for, but I would think that writing a simple plugin that uses SoX for upsampling should be possible.

  10. #10
    Quote Originally Posted by Veggen View Post
    Not that this is what you are asking for, but I would think that writing a simple plugin that uses SoX for upsampling should be possible.
    Again, the simplest solution is to use convert.conf. See above.

Posting Permissions

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