belangeo / cecilia5

Ear-bending noises and music
226 stars 20 forks source link

pyo is unable to connect physical capture ports called 'system' #102

Open muziker opened 3 years ago

muziker commented 3 years ago

For version cecilia 5.4.0:

Starting cecilia5 generates this error: Pyo error: Jack cannot find any physical capture ports called 'system' And it segfaults afterwards. It appears that pyo is unable to connect to the any jack output ports and this unhandled exception causes it to crash.

To solve, change this line in audio.py from: self.server.setJackAuto(True, True) to self.server.setJackAuto(False, False)

And manually connect the outputs to whichever inputs required.

belangeo commented 3 years ago

How the system ports are named in your jack setup? Pyo assumes system:capture_1, system:capture_2, system:playback_1, system:playback_2 and so on...

muziker commented 3 years ago

Using jack_lsp, i get system:playback_1 and system:playback_2, but no system:capture. Maybe this is why pyo fails to initialise.

belangeo commented 3 years ago

If the system doesn't have audio inputs, you can go in Cecilia's preferences, in the audio tab, and uncheck the audio input toggle.