portaudio

How to fix installation issues for PyAudio, PortAudio: "fatal error C1083: Cannot open include file: 'portaudio.h': No such file or directory"

How to fix installation issues for PyAudio, PortAudio: "fatal error C1083: Cannot open include file: 'portaudio.h': No such file or directory" Question: I am having issues installing PyAudio and portaudio. When I do python -m pip install pyaudio I get this error: src/_portaudiomodule.c(29): fatal error C1083: Cannot open include file: ‘portaudio.h’: No such file or …

Total answers: 10

pyaudio could not import _portaudio

pyaudio could not import _portaudio Question: Trying to run python app that uses pyaudio. Using virtualenv and installations are working. However when running it can’t find portaudio. But the _portaudio.so file exists. Any suggestions??? (venv) kidkic@pi-mirror1:~/audio $ jasper/jasper.py Could not import the PyAudio C module ‘_portaudio’. Traceback (most recent call last): File “jasper/jasper.py”, line 31, …

Total answers: 7

Multichannel PyAudio with ASIO Support

Multichannel PyAudio with ASIO Support Question: I’m attempting to interface to a PreSonus AudioBox 1818VSL with PyAudio on Win7, but am having some trouble recording more than 2 channels (stereo) at a time. The PreSonus driver creates many stereo input audio devices (ex. stereo channels 1&2, 3&4, etc.) and an 18 input channel ASIO device. …

Total answers: 2

PyAudio IOError: No Default Input Device Available

PyAudio IOError: No Default Input Device Available Question: I’m using PyAudio under the Enthought Python Distribution (Python 2.6.6) in Ubuntu 10.10 x64. >>> import pyaudio >>> pa = pyaudio.PyAudio() >>> pa.get_default_input_device_info() Traceback (most recent call last): File “<pyshell#24>”, line 1, in <module> pa.get_default_input_device_info() File “/usr/lib/python_epd/lib/python2.6/site-packages/pyaudio.py”, line 936, in get_default_input_device_info device_index = pa.get_default_input_device() IOError: No Default …

Total answers: 6