Hi, so I managed to read through the whole thread. Enlightening on
parts, but as I just thought I understand it now turns out I still do
not...

So to keep it simple: I would like to start to upsample all my flacs. I
kept most settings default, even the enable stdin, target sample rate at
closest synchronous supported and I checked all output sample rates up
until 192000 (my spdif limit). 
28782
So indeed I see the sox cmd piped to the flac in the resulting command:

Code:
--------------------
    flc pcm * [mac address here]
  # I noArgs, D RESAMPLE=-r %d, R noArgs, F noArgs
  
  [flac] -dcs --totally-silent $START$ $END$ -- $FILE$ | [sox] -q -t wav - -t 
wav -b 24 --buffer 8192 - gain -h rate -v -I -b 90.7 -f 192000
  
--------------------

and in the pcp_squeezelite.log I can see all flacs upsampled to 192000.
Whether I throw a 44.1kHz, 48, 88.2 or 192 at it. 

So now I disable the stdin, resulting command:

Code:
--------------------
    flc pcm * [mac address here]
  # F noArgs, R noArgs, D RESAMPLE=-r %d
  
  [C-3PO] -c $CLIENTID$ -p "/srv/squeezebox/prefs/plugin/C3PO.prefs" -l 
"/srv/squeezebox/logs" -x "/usr/sbin" -i flc -o wav $START$ $END$ $RESAMPLE$ 
$FILE$ 
--------------------

I would now expect that it would resample to 176400 (although reading in
the thread I even got the impression since I also checked 88200 this is
closest, so it might become this). In effect though: nothing happens.

So I uncheck all target sample rates except 176400 and 192000 (3CPO.log
at lms mentions them as true/1, $maxsamplerate 192000). I would expect
upsampling to  176400 but in effect again: nothing happens.

Only when I check only 176400 or 192000 (resulting command mentions the
explicit one target sample rate) I get sound again...

So is my expectation that the source file is inspected, a multiple that
matches the highest target sample rate allowed is chosen (ie 176400 for
44.1/88.2, 192000 for 48/96) and used as as target sample rate wrong?

And if not: where am I going wrong in my settings?


+-------------------------------------------------------------------+
|Filename: Capture.PNG                                              |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=28782|
+-------------------------------------------------------------------+

------------------------------------------------------------------------
Huey11's Profile: http://forums.slimdevices.com/member.php?userid=67632
View this thread: http://forums.slimdevices.com/showthread.php?t=105309

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

Reply via email to