Phil Leigh;627442 Wrote:
> On the contrary, sox is perfectly capable of PCM resampling.
>
> However, SBS can only handle smart transcoding for flac, mp3 etc... NOT
> WAV/PCM.
I don't get this. Sorry Phil, unlike you I'm always confusing instead
of helping. But once started I can't stop.
Here we go ;-)
When I put this in my custom-convert, things are almost fine
Code:
--------------------
flc pcm * *
# IFD:{RESAMPLE=-r %d}
[sox] -D -q -t flac $FILE$ -t raw -c2 -s $RESAMPLE$ -
--------------------
Everything up to 96k streams as PCM to my Touch at its original sample
rate. On top, even 192k files seem to be treated with this line but
they play way too slow and my DAC says it's 44.1k!
When I put this, things look even better but still not optimal
Code:
--------------------
flc pcm * *
# IFD:{RESAMPLE=-r 44100}
[sox] -D -q -t flac $FILE$ -t raw -c2 -s $RESAMPLE$ -
--------------------
Now all of my library is playing at the right speed regardless the
sample rate, but obviously 192k files are downsampled to 44.1k instead
of 96k.
And yes, you are right, SoX is perfectly capable of resampling PCM.
Outside the Squeezebox world I managed to do so.
If you could explain how and why things are the way they are, I would
be grateful.
--
Quad
------------------------------------------------------------------------
Quad's Profile: http://forums.slimdevices.com/member.php?userid=20234
View this thread: http://forums.slimdevices.com/showthread.php?t=86994
_______________________________________________
Touch mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/touch