You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a reaction to the statement in the README:
PyAudio offers a binding for the old good PortAudio, it works everywhere but is quite low-level and if you are using Jack can be painful (ok, it is supported, but I was not able to create a client, nor to find working code by someone else).
The problem with PortAudio (at least the version I'm currently using, probably this will be improved in future versions) is that JACK is never the default host API, even if jackd is running (and blocking all other host APIs).
This is inconvenient, but it is still possible to select JACK via its device ID. With PyAudio this can be done with the arguments input_device_index and output_device_index.
I didn't like the API of PyAudio, so I created my own: python-sounddevice (which is based on PySoundCard). Using that, I tried to come up with a way to select JACK's main device, but I must confess that it's still not very nice:
This is a reaction to the statement in the README:
The problem with PortAudio (at least the version I'm currently using, probably this will be improved in future versions) is that JACK is never the default host API, even if
jackd
is running (and blocking all other host APIs).This is inconvenient, but it is still possible to select JACK via its device ID. With PyAudio this can be done with the arguments
input_device_index
andoutput_device_index
.I didn't like the API of PyAudio, so I created my own: python-sounddevice (which is based on PySoundCard). Using that, I tried to come up with a way to select JACK's main device, but I must confess that it's still not very nice:
Probably this can be improved once spatialaudio/python-sounddevice#2 is done ...
If you have some other suggestions, I'd be happy to include them in the
sounddevice
module.The text was updated successfully, but these errors were encountered: