Command-Line Decoder Wrapper
Reply #9 –
I wanted to provide example for decoding two files simultaneously, hopefully as some sort of temporal solution to a thread asking for lossywav correction playback. Then noticed that this component, same as converter, doesn't allow using title formatting functions for input line. Because of that I created batch file (soxdec.cmd):
@echo off
set input=%~1
sox -m %1 "%input:lossy.flac=lwcdf.flac%" -t .wav -
and instruct decoder to: "soxdec.cmd %s"
It works fine but sox process isn't terminated on playback stop.
If I use sox directly in decoder input line: "sox %s -t .wav -" then decoder closes sox process as expected.