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!
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.
? SDL, .
http://www.pygame.org/docs/ref/mixer.html
pygame Numpy.
http://www.pygame.org/docs/ref/sndarray.html
Source: https://habr.com/ru/post/1793630/More articles:Expressions: get-by-ID-selector, when do I have an expression to get an identifier? - c #Access to some files / folders on an SVN server running Windows 7 - svnOpen HTTP connection - httpExternal configuration file for partition group - c #Passing a structure containing a String array and an Integer array to a C ++ DLL - c ++Spinner selection - Save to SharedPreferences, then Restore - androidWriting secure code: a practitioner's approach? - securityPlacing a text label along a line on a canvas - javascriptList of all friends and join the user table - databasejQuery: how to navigate a row in a table to retrieve cell data - jqueryAll Articles