Which python library to use for non-blocking audio input / output on OSX?

I would like to read and write audio in Python. I tried PyAudio and the audio lab, but both of them block audio I / O (i.e. you cannot do anything while they play or record).

Now I need a library that does not block audio input / output on OSX. Bonus points for the LGPL / BSD license, pip compatibility and numpy array playback!

+3
source share
2 answers

A few days ago I sent a patch to pyAudio , which allows you to not block the audio input / output there.

Starting with version 0.2.7, the patch is located. Non-blocking I / O is now officially supported by PyAudio.

+4

Source: https://habr.com/ru/post/1793630/


All Articles