DEV Community

Discussion on: Python audio processing at lightspeed ⚡ Part 3: pyo

Collapse
 
zenulabidin profile image
Ali Sherief

It seems like a problem in Portaudio (the backend that Pyo uses). This message in particular:

Pyo warning: Portaudio input device HDA Intel HDMI: 0 (hw:0,3) has fewer channels (0) than requested (2).

I've been getting that error sometimes and I can't seem to reproduce it consistently. My wild guess is that something else exclusively opened the input device, but I haven't looked hard enough at the Portaudio code base to confirm this.

Collapse
 
paulspignon profile image
paulspignon

Thanks for the answer Ali. Tried all sorts, making sure nothing else using audio, increasing priority of python, etc. No joy I'm afraid. And no idea why other audio applications (audacity, pd-l2ork etc.) do not have any such problems. Suspect something wonky about the python implementation vis á vis the low-level audio interface. As I said, all other applications involving audio work without a hitch.