bpa wrote:
> Why is the input to sox marked as flac - surely the decode output
> ogg/flac decoding is PCM ?
That was my schoolboy error ! I intended to write -wav- as follows:
Code:
--------------------
ogf flc * *
# IFRD:{RESAMPLE=-r %d}
[flac] --ogg -dcs -- $FILE$ | [sox] -q -t wav - -t flac -C 0 $RESAMPLE$ -
--------------------
But, for reasons unknown to me, it does not seem to produce any sound
output, it just seemed to pack up streaming.
But this does look promising:
Code:
--------------------
ogf flc * *
# IFRD:{RESAMPLE=-r %d}
[flac] --ogg -dcs --force-aiff-format -- $FILE$ | [sox] -q -t aiff - -t flac
-C 0 $RESAMPLE$ -
--------------------
That does seem to work. I don't know why forcing -aiff- as an
intermediate flac output format makes a difference, but it does. So it
might be worth the OP trying it out, as an interim step, to see if it
works in a real set up. I have no ogg/flac 96000 sample rate sources to
test this on.
Assuming that it does work, perhaps a better understanding of flac/sox
options could produce in a "better" decoder pipeline specification.
------------------------------------------------------------------------
mrw's Profile: http://forums.slimdevices.com/member.php?userid=38299
View this thread: http://forums.slimdevices.com/showthread.php?t=111597
_______________________________________________
Radio mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/radio