audio-reactive-led-strip icon indicating copy to clipboard operation
audio-reactive-led-strip copied to clipboard

Change audio source to GPIO input?

Open han-so1omon opened this issue 4 years ago • 1 comments

I am using the Raspberry Pi setup. Do you know how to change the audio source from USB to a GPIO pin?

Currently, I am capturing audio from an analog microphone attached to an Arduino, then sending that into a GPIO pin. Alternatively, I could use an ADC to capture the microphone and attach that to the Raspberry Pi.

In any case, I don't know how to setup my input pin as a PCM or ctl device so that it can be used with PyAudio. My alternative solution to this would be to write a little streaming interface with the RPI.GPIO library

han-so1omon avatar Jan 08 '21 06:01 han-so1omon

I'm not 100% sure that is possible, but I'm not super knowledgeable on the pi. Maybe someone might be able to chime in on this?

joeybab3 avatar Feb 19 '21 06:02 joeybab3