Page 1 of 1

Pipe data stream

Posted: Mon Oct 29, 2012 3:49 pm
by calvin888
Want to schedule audio recording from sound card.
Use linco to catch sound card audio stream
Use lame to encode audio data into mp3
use command line "|" to pipe data from linco to lame

linco.exe -B 16 -C 2 -R 44100 | lame.exe -r - out.mp3
It works inside command prompt window.
But RoboTask Run does not pass(pipe) data.
It might be done within command prompt.
Any RoboTask command level solution?

Pipe data stream

Posted: Mon Oct 29, 2012 4:06 pm
by Oleg
Data piping is being provided by command interpreter or command processor (CMD.EXE).
So you should launch this command line through command processor.
Full command line will be:
cmd.exe /c linco.exe -B 16 -C 2 -R 44100 | lame.exe -r - out.mp3

In "Run Program" action use:
Program name: CMD.exe
Parameters: /c linco.exe -B 16 -C 2 -R 44100 | lame.exe -r - out.mp3

Pipe data stream

Posted: Wed Oct 31, 2012 3:59 pm
by calvin888
Thanks!