PasTim wrote: 
> I said I don't understand, and I don't.  My config is attached.  For the
> Marantz I specify that it can do 96000, but this seems to be over-ruled
> by the protocolinfo for raw, even though I'm using wav.
> 
> I would quite like to use 'flow' on my Marantz, but I can't work out any
> combination of settings that will avoid 2 sets of resampling for my
> range of tracks.
> 
> It doesn't really matter, but it's baffling.  I don't know how many
> users will want to dive into this level of detail to keep the resampling
> down to a minimum whilst get a stable result.  I understand that people
> want fading etc (I don't), so it's good from that perspective.  I don't
> really understand why anyone would want to use 'No Higher', and I don't
> understand why, even without that, LMS is still ignoring the 96000
> capability I specified.  
> 
> I just hope it's not going to cause too much confusion for users, and
> work for you to explain it all.
> 
> Edit - No, this can't be right.  A 24/96000 track is played without any
> resampling in LMS or the bridge.  A 24/192000 track is downsampled to
> 48000 by LMS then back up to 96000 by the bridge.  All with 'No Higher'
> not set.

I think it is expected. Your config file says:

Code:
--------------------
    
  <sample_rate>96000</sample_rate>
  <mode>pcm,r:-96000,s:24</mode>
  <codecs>flc,pcm,mp3</codecs>
  <raw_audio_format>wav</raw_audio_format>
  
--------------------


It tells LMS that this player cannot accept any rate above 96000, so LMS
should either downsample it or not play it. Anything below can be sent.
So when you try to send a 192000 track, LMS will downsample it below
96000. To what and why not exactly to 96000? I don't know the rules LMS
applies, candidly, they are beyond my control but it seems that LMS is
chosing 48000. When you play a 96000 track, LMS just sends it

Then it is received by the bridge (maybe in pcm, maybe in flac,
depending on "codecs" and the order of them). 

Then in this config, the bridge is instructed with the following
"pcm,r:-96000" which means: you have to send uncompressed pcm but if you
receive a track with a sample rate *below* 96000, don't do any
resampling, send it to the UPnP device. Anything above 96000, please
resample it to 96000

So it tries to find an uncompressed format to send it, according to
"raw_audio_format" parameter. You've just enable "wav", so the bridge
will simply add a wav header and send the file. So the 192000 track that
has been downsampled by LMS to 48000 will do in 48000, unchanged.

If the config says "pcm,r:96000", then it tells the bridge: you have to
send pcm and you *must* resample *everything* to *exactly" 96000. So the
192000 track that has been downsampled to 48000 by LMS will be upsampled
by the bridge to be 96000. 

If you want to exclude LMS resampling from the equation, then just set
the "sample_rate" to 192000 or higher and then LMS will believe that the
player can do anything, and the actual sampling rate decision will be
done solely by the bridge



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=103728

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to