lhquam;284034 Wrote:
>
> Note "--endian big" for the flac input specification.
> This suggests that sox is generating big-endian output rather
> that little-endian. (I am running on an AMD64 machine).
>
> I haven't figured out how to tell sox to convert ogg to little-endian
> raw.
This was the problem, use the "-L" switch for sox output file. I played
with the command line and came up with this command (already for the
template_custom-convert.conf):
ogg flc * $CLIENT_MAC_ADDRESS$
[sox] -t ogg $FILE$ -t raw -L -r 44100 -c 2 -w -s - | brutefir -quiet
-nodefault $FULL_FILTER_PATH$ | [flac] -cs -0 --totally-silent
--endian=little --sign=signed --channels=2 --bps=24 --sample-rate=44100
-
Test it with:
sox -t ogg [TESTOGGFILEPATH] -t raw -L -r 44100 -c 2 -w -s - | brutefir
-quiet -nodefault [BRUTEFIRCONFIGPATH] | flac -o [TESTFLAC_OUT_PATH] -0
--endian=little --sign=signed --channels=2 --bps=24 --sample-rate=44100
-
you can listen to the produced output flac file and check if it is
okay.
Thank you pointing out the problem!
--
Klaas
------------------------------------------------------------------------
Klaas's Profile: http://forums.slimdevices.com/member.php?userid=8026
View this thread: http://forums.slimdevices.com/showthread.php?t=45347
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/unix