sinneb / pyo

Automatically exported from code.google.com/p/pyo
GNU General Public License v3.0
1 stars 0 forks source link

stdin and stdout #36

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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 9 years ago
oh and this is not a defect :D

Original comment by misterio...@googlemail.com on 3 Oct 2012 at 12:05

GoogleCodeExporter commented 9 years ago
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 9 years ago
Ok, thanks for your help!

Original comment by misterio...@googlemail.com on 15 Oct 2012 at 1:57

GoogleCodeExporter commented 9 years ago

Original comment by belan...@gmail.com on 19 Oct 2012 at 5:29