I would probably start with the "flc pcm" rule that is in CONVERT.CONF:


Code:
--------------------
    
  flc pcm * *
        # FT:{START=--skip=%t}U:{END=--until=%v}
        [flac] -dcs --force-raw-format --endian=little --sign=signed $START$ 
$END$ -- $FILE$
  
--------------------


And amend it in CUSTOM-CONVERT.CONF to do what you want:


Code:
--------------------
    
  flc pcm * *
        # FT:{START=--skip=%t}U:{END=--until=%v}
        [flac] -dcs --force-raw-format --endian=little --sign=signed $START$ 
$END$ -- $FILE$ | [sox] -q -t raw - -t raw - -b 16 -r 44100
  
--------------------


You might be able to do what you want without invoking SoX:


Code:
--------------------
    
  flc pcm * *
        # FT:{START=--skip=%t}U:{END=--until=%v}
        [flac] -dcs --force-raw-format --endian=little --sign=signed --bps=16 
--sample-rate=44100 $START$ $END$ -- $FILE$
  
--------------------


If this works, you can add your other switches if needed.  FLAC
documentation is here:
https://xiph.org/flac/documentation_tools_flac.html


------------------------------------------------------------------------
Apesbrain's Profile: http://forums.slimdevices.com/member.php?userid=738
View this thread: http://forums.slimdevices.com/showthread.php?t=107012

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

Reply via email to