Skip to content Skip to sidebar Skip to footer

Raspberry ALSA Sound Output / Input Slave

I'm trying to set one device for playback and another one for capture, my nano /etc/asound.conf has this: pcm.!default { type asym playback.pcm 'plughw:1,1'

Solution 1:

pyaudio is based on PortAudio; all those silly messages are because of PortAudio's attempts to enumerate audio devices.

pyaudio device indexes are not necessarily the same as ALSA card indexes. Use get_device_count() and get_device_info_by_index() to find the input device to use.


Solution 2:

The only answer I have is to buy an audio card with both input and output facility and make that the default "card." I am trying to do the same thing. I have even tried modifying the source code of PyAudio, without success. So the hardware route is currently the solution.


Post a Comment for "Raspberry ALSA Sound Output / Input Slave"