Code: Select all
prog = RunProgram(#Sox,param$,"P:\sox_exper\",#PB_Program_Open|#PB_Program_Read|#PB_Program_Error)
Code: Select all
-m "|sound1.wav -p -v 1.00" "|sound2.wav -p -v 0.50" "P:\sox_exper\mix.wav"
Unfortunately, I'm getting a SoX error:
Apparently this is happening because SoX requires the word "sox" at the start of each pipe.FAIL formats: can't open input pipe `|tophat.wav -p -v 0.50': premature EOF
I was aware that PB doesn't like that, but I tried it anyway. I changed the param$ variable to:
Code: Select all
-m "|sox sound1.wav -p -v 1.00" "|sox sound2.wav -p -v 0.50" "P:\sox_exper\mix.wav"
I suspect this is to do with Windows vs. Linux. Does anyone have any ideas of a workaround?'sox' is not recognized as an internal or external command