Skip to content
Advertisement

Tag: pyaudio

Pyaudio does not recognize ReSpeaker usb microphones InputChannels

I have connected an USB microphone (ReSpeaker 4 Mic Array (UAC1.0)) to my Gentoo linux machine. I would like to use that usb microphone for recording with pyaudio. Pyaudio detects the USB device but does not detect its Input Channels. This is the relevant part of the output from: […] ‘maxOutputChannels’: 2L, ‘name’: u’HDA Intel PCH: AD198x Analog (hw:0,0)’, ‘defaultHighInputLatency’:

Pyaudio installation error – ‘command ‘gcc’ failed with exit status 1′

I’m running Ubuntu 11.04, Python 2.7.1 and wanted to install Pyaudio. So I ran, $ sudo easy_install pyaudio in the terminal and the process exited with following error messages, Searching for pyaudio Reading http://pypi.python.org/simple/pyaudio/ Reading http://people.csail.mit.edu/hubert/pyaudio/ Best match: pyaudio 0.2.4 Downloading http://people.csail.mit.edu/hubert/pyaudio/packages/pyaudio-0.2.4.tar.gz Processing pyaudio-0.2.4.tar.gz Running PyAudio-0.2.4/setup.py -q bdist_egg –dist-dir /tmp/easy_install-0Tetss/PyAudio-0.2.4/egg-dist-tmp-PYy9T8 In file included from /usr/include/python2.7/Python.h:8:0, from src/_portaudiomodule.c:30: /usr/include/python2.7/pyconfig.h:1155:0: warning: “_POSIX_C_SOURCE”

Advertisement