stdin and stdout
Closed this issue · 4 comments
GoogleCodeExporter commented
I want to use pyo as an interactive effects-building block. Think of a
distributed daw.
I'd use a fifo file for sound input and communicate with pyo via stdin and an
interactive python session. pyo should then only output to stdout, not play on
my sound card.
How would you approach this?
I was thinking about
play mysound.wav > soundin
python play_snd.py
And play_snd.py would start a server, read from soundin, apply effects etc.,
and output to stdout.
The only way to use stdout I've found is a JACK-utility, however I'm not sure
how well that scales.
Thanks for this project, it looks really promising!
Original issue reported on code.google.com by misterio...@googlemail.com
on 3 Oct 2012 at 12:05
GoogleCodeExporter commented
oh and this is not a defect :D
Original comment by misterio...@googlemail.com
on 3 Oct 2012 at 12:05
GoogleCodeExporter commented
Hi,
Yes, Jack is the better option to do dsp interconnected blocks. You can't use
stdin and stdout because these are python's in and out but pyo use an audio
driver. All the internal audio processing is done without python knowing
anything about it...
Original comment by belan...@gmail.com
on 10 Oct 2012 at 4:06
GoogleCodeExporter commented
Ok, thanks for your help!
Original comment by misterio...@googlemail.com
on 15 Oct 2012 at 1:57
GoogleCodeExporter commented
Original comment by belan...@gmail.com
on 19 Oct 2012 at 5:29
- Changed state: Done