Reading input sound signal using Python
I need to get a sound signal from a jack-connected microphone and use the data for immediate processing in Python. The processing and subsequent steps are clear. I am lost only in getting the signal from the program. The number of channels is irrelevant, one is enough. I am not going to play the sound back so there should be no need for ASIO on soundcard. My question is: how can I capture Jack audio from Python? (It would be great if there were a package, well documented and niches examples :-). Have you tried pyaudio ? To install: python -m pip install pyaudio Recording example, from official