Pipe data stream

Discuss RoboTask here
Post Reply
calvin888
Posts: 5
Joined: Mon Jan 01, 2007 10:10 am
Location: United States

Pipe data stream

Post 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?
Oleg
Site Admin
Posts: 3201
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Pipe data stream

Post 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
Last edited by Oleg on Mon Oct 29, 2012 8:14 pm, edited 1 time in total.
calvin888
Posts: 5
Joined: Mon Jan 01, 2007 10:10 am
Location: United States

Pipe data stream

Post by calvin888 »

Thanks!
Post Reply