soundcard

Reading input sound signal using Python

前提是你 提交于 2019-11-28 21:11:34
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

Reading input sound signal using Python

て烟熏妆下的殇ゞ 提交于 2019-11-26 22:50:02
问题 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 :