Home of the Squeezebox™ & Transporter® network music players.
Page 5 of 46 FirstFirst ... 3456715 ... LastLast
Results 41 to 50 of 452
  1. #41
    Quote Originally Posted by marcoc1712 View Post
    From what i see:

    a. Squeezelite is receiving a 88200 Hz, 24 bit (size 3) stream form C-3PO. ( pcm size: 3 rate: 88200 chan: 2 bigendian: 0 )
    b. The ooutput device was opened DIRECTLY (hw) at 32bit, 88200 Hz using mmap. ( opened device hw:CARD=sndrpihifiberry,DEV=0 using format: S32_LE sample rate: 88200 mmap: 1 )

    Is your DAC still receiving a 16bit stream? If this is the case, I'll ask to the dac support service.

    Out of curiosity, how could you say is 16 bit?
    I have a ps audio directstream dac and it reports the sample rate & bit depth on its screen. i will bring this issue up in their forums. thanks for your assistance.

  2. #42
    Quote Originally Posted by mcduman View Post
    I have a ps audio directstream dac and it reports the sample rate & bit depth on its screen. i will bring this issue up in their forums. thanks for your assistance.
    here is the response from the designer of the dac (DS)

    Quote

    "The DS is reporting the number of bits that are changing. i.e. if it reads 16 bits then the bottom 8 bits are always zero on each input sample. In general displays of sample rate and bit rate on players either describe the size of the samples in the input files or the size of the samples at the last stage of processing, but they arenít looking at the actual data in the samples like the DS is.
    Either the upsampler isnít really calculating a full 24 bits per sample or thereís some configuration parameter that causing only 16 bits to be sent to the DAC."


    UnQuote

    So, what SoX is doing is adding 8 zeros to the end which effectively is again 16 bits.

  3. #43
    Senior Member
    Join Date
    Dec 2009
    Location
    Albinea (RE) Italy
    Posts
    776
    Quote Originally Posted by mcduman View Post
    here is the response from the designer of the dac (DS)

    Quote

    "The DS is reporting the number of bits that are changing. i.e. if it reads 16 bits then the bottom 8 bits are always zero on each input sample. In general displays of sample rate and bit rate on players either describe the size of the samples in the input files or the size of the samples at the last stage of processing, but they aren’t looking at the actual data in the samples like the DS is.
    Either the upsampler isn’t really calculating a full 24 bits per sample or there’s some configuration parameter that causing only 16 bits to be sent to the DAC."


    UnQuote

    So, what SoX is doing is adding 8 zeros to the end which effectively is again 16 bits.
    If no other processing is required Yes, the only thing it should do when converting form 16 to 24 bit is add 8 zeroes, but SOX works internally at 32 bit, so if any DSP is involved, the new values will have 32 bit precision, when writing the output SOX will truncate at the most significant bytes required by the user.

    So is really depending on what you ask SOX to do. To be sure, try to apply i.e. some gain reduction and you 'll see what happen.

    By the way, other 8 zeroes are added from squeezelite, just becouse your sound card require 32_L£ format.

    If truncation occours, is probably after squeezelite, somewhere in your system, but If you have doubt about what SOX is doing, You could run the very same command but writing to a file, check it, play it in a 'native' way and see what your DAC is reporting.

    Have you tried to play an 'original' PCM 24 bit file?
    Last edited by marcoc1712; 2017-05-14 at 04:04.
    __________________________________________________ ______________________
    Author of C-3PO plugin, Squeezelite-R2, Falcon Web interface - See www.marcoc1712.it

  4. #44
    Senior Member
    Join Date
    Dec 2009
    Location
    Albinea (RE) Italy
    Posts
    776
    Quote Originally Posted by mcduman View Post
    here is the response from the designer of the dac (DS)

    Quote

    "The DS is reporting the number of bits that are changing. i.e. if it reads 16 bits then the bottom 8 bits are always zero on each input sample. In general displays of sample rate and bit rate on players either describe the size of the samples in the input files or the size of the samples at the last stage of processing, but they arenít looking at the actual data in the samples like the DS is.
    Either the upsampler isnít really calculating a full 24 bits per sample or thereís some configuration parameter that causing only 16 bits to be sent to the DAC."


    UnQuote

    So, what SoX is doing is adding 8 zeros to the end which effectively is again 16 bits.
    If no other processing is required Yes, the only thing it should do when converting form 16 to 24 bit is add 8 zeroes, but SOX works internally at 32 bit, so if any DSP is involved, the new values will have 32 bit precision, when writing the output SOX will truncate at the most significant bytes required by the user.

    So is really depending on what you ask SOX to do. To be sure, try to apply i.e. some gain reduction and you 'll see what happen.

    By the way, other 8 zeroes are added from squeezelite, just becouse your sound card require 32_L£ format.

    EDIT: have a look here: https://github.com/raspberrypi/linux/issues/494
    __________________________________________________ ______________________
    Author of C-3PO plugin, Squeezelite-R2, Falcon Web interface - See www.marcoc1712.it

  5. #45
    Senior Member
    Join Date
    Nov 2010
    Location
    Hertfordshire, UK
    Posts
    3,004
    I had trouble with this plugin being present and using other plugins, such as "Castbridge", even though I have turned off support for those players in C-3PO (in the player settings). I don't understand what was happening, and didn't see anything obvious on logs, but I was getting white noise on my Chromecast device (TV) and the "UPnP bridge" plugin failed to play at all on one of my UPnP renderers. Removing this plugin fixed the problem straight away.

    I don't really need this plugin, I was just experimenting with it, so for me it's no great loss. You may, however, want to take a look at whether there are side-effects of this plugin being installed and other squeezelite-based plugins.
    LMS 7.9.2 on PC, Xubuntu 18.04, FLACs 16->24 bit, 44.1->192kbps. 2 Touchs & EDO.
    LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (A308CR amp & ESLs) & Marantz CR603 UPnP renderers.
    Also Minimserver & Upplay to same & to upmpdcli/mpd PC renderers.
    Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.
    Wireless Xubuntu 18.04 laptop firefox/upplay or Android 'phone with Squeeze-Commander/BubbleUPnP controls LMS/Minimserver.

  6. #46
    Senior Member
    Join Date
    Dec 2009
    Location
    Albinea (RE) Italy
    Posts
    776
    Quote Originally Posted by PasTim View Post
    I had trouble with this plugin being present and using other plugins, such as "Castbridge", even though I have turned off support for those players in C-3PO (in the player settings). I don't understand what was happening, and didn't see anything obvious on logs, but I was getting white noise on my Chromecast device (TV) and the "UPnP bridge" plugin failed to play at all on one of my UPnP renderers. Removing this plugin fixed the problem straight away.

    I don't really need this plugin, I was just experimenting with it, so for me it's no great loss. You may, however, want to take a look at whether there are side-effects of this plugin being installed and other squeezelite-based plugins.
    C-3PO works in two ways:

    a. as a Transcoder, invoked instead of SOX, Flac and others (in this case you see C-3PO in the commmand line)
    b. as an helper to build the command line, but then SOX, FLAC,... are used at runtime.

    No parts of LMS is replaced, so there is no way 'side effects' could take place outside the command line itself. What is probalbly going on here is that first enabling then disabling C-3PO could easily move to a different File Type/convert setting.

    Could you please post the 'LAST EXECUTED COMMAND' as presented in the players settings when you experiment problems? Or, even better, the "RESULTING COMMANDS" table? I know other people are using UPNP plugin with no probs. To help me understand the problem, you should compare the 'tokenized command' issued when the plugin is disabled with the one resulting when the plugin is enabled.


    Tanks.

    Marco
    __________________________________________________ ______________________
    Author of C-3PO plugin, Squeezelite-R2, Falcon Web interface - See www.marcoc1712.it

  7. #47
    Senior Member
    Join Date
    Nov 2010
    Location
    Hertfordshire, UK
    Posts
    3,004
    Quote Originally Posted by marcoc1712 View Post
    C-3PO works in two ways:

    a. as a Transcoder, invoked instead of SOX, Flac and others (in this case you see C-3PO in the commmand line)
    b. as an helper to build the command line, but then SOX, FLAC,... are used at runtime.

    No parts of LMS is replaced, so there is no way 'side effects' could take place outside the command line itself. What is probalbly going on here is that first enabling then disabling C-3PO could easily move to a different File Type/convert setting.

    Could you please post the 'LAST EXECUTED COMMAND' as presented in the players settings when you experiment problems? Or, even better, the "RESULTING COMMANDS" table? I know other people are using UPNP plugin with no probs. To help me understand the problem, you should compare the 'tokenized command' issued when the plugin is disabled with the one resulting when the plugin is enabled.


    Tanks.

    Marco
    Well, naturally, having raised the issue I can't get it to go wrong now. I guess I did something silly, although I don't see what it can have been. Never mind. C-3PO is back installed and all is well. I am just left scratching my head.

    If it goes wrong again (unlikely I guess) I will record the information you requested.

    Thanks for your attention and apologies for wasting your time.
    LMS 7.9.2 on PC, Xubuntu 18.04, FLACs 16->24 bit, 44.1->192kbps. 2 Touchs & EDO.
    LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (A308CR amp & ESLs) & Marantz CR603 UPnP renderers.
    Also Minimserver & Upplay to same & to upmpdcli/mpd PC renderers.
    Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.
    Wireless Xubuntu 18.04 laptop firefox/upplay or Android 'phone with Squeeze-Commander/BubbleUPnP controls LMS/Minimserver.

  8. #48
    Senior Member
    Join Date
    Nov 2010
    Location
    Hertfordshire, UK
    Posts
    3,004
    I have found one peculiarity that has caused me some confusion. Without C-3PO being installed I have a flac file table as per the 1st image.

    After installing C-3PO it is as per the 2nd image. I have lost the flac to flac (native) transcode, which I want to use much of the time. Instead I get transcoding to aif for my Touch, which I don't want.

    The flac to flac (Disabled) is a transcode I sometimes enable to use with sox to convert stereo flacs to mono to play on a specific Touch using headphones (I have poor hearing in one ear and this sometimes helps).
    The flac to flac (flac) transcode is for a specific UPnP player that needs it with the UPnP Bridge. Neither player has C-3PO enabled (but another squeezelite player does).
    Attached Images Attached Images   
    LMS 7.9.2 on PC, Xubuntu 18.04, FLACs 16->24 bit, 44.1->192kbps. 2 Touchs & EDO.
    LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (A308CR amp & ESLs) & Marantz CR603 UPnP renderers.
    Also Minimserver & Upplay to same & to upmpdcli/mpd PC renderers.
    Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.
    Wireless Xubuntu 18.04 laptop firefox/upplay or Android 'phone with Squeeze-Commander/BubbleUPnP controls LMS/Minimserver.

  9. #49
    Senior Member
    Join Date
    Dec 2009
    Location
    Albinea (RE) Italy
    Posts
    776
    The page "File Types Transcoding Table" inside the C-3PO player settings shows same information as Fyle Types advanced settings page (the one you posted) , but with the Id and model of the player printed in clear, so it's easier understand what's going on.

    Could you please post the situation BEFORE and AFTER enabling C-3PO for the player you want to exit flac and not AIFF?

    thanks a lot.
    Attached Images Attached Images  
    __________________________________________________ ______________________
    Author of C-3PO plugin, Squeezelite-R2, Falcon Web interface - See www.marcoc1712.it

  10. #50
    Senior Member
    Join Date
    Nov 2010
    Location
    Hertfordshire, UK
    Posts
    3,004
    Quote Originally Posted by marcoc1712 View Post
    The page "File Types Transcoding Table" inside the C-3PO player settings shows same information as Fyle Types advanced settings page (the one you posted) , but with the Id and model of the player printed in clear, so it's easier understand what's going on.

    Could you please post the situation BEFORE and AFTER enabling C-3PO for the player you want to exit flac and not AIFF?

    thanks a lot.
    Apologies, I've clearly not explained myself well enough.

    Neither of the players in question ever have C-3PO enabled. The 2 pictures I posted are with and without the plugin being installed at all. I can't show a picture of the C-3PO view of the translations when C-3PO is not installed.
    LMS 7.9.2 on PC, Xubuntu 18.04, FLACs 16->24 bit, 44.1->192kbps. 2 Touchs & EDO.
    LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (A308CR amp & ESLs) & Marantz CR603 UPnP renderers.
    Also Minimserver & Upplay to same & to upmpdcli/mpd PC renderers.
    Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.
    Wireless Xubuntu 18.04 laptop firefox/upplay or Android 'phone with Squeeze-Commander/BubbleUPnP controls LMS/Minimserver.

Posting Permissions

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