pico2wave
only supports outputting to a file (edit: with extension .wav
). How can I coerce the output into a pipe for aplay
, without cleaning up any named pipes or temporary files or a wrapper script?
Ie, pico2wave -w tmp.wav "test" && aplay tmp.wav && rm tmp.wav
creates a temporary file, and is thus not what I'm looking for as a solution.
LD_PRELOAD
hack that changes the system callspico2wave
uses to instead target thestdout
device. – thrig Nov 21 '16 at 22:17prog1 inputs
>(cat) |
prog2
. – G-Man Says 'Reinstate Monica' Nov 21 '16 at 23:51