audio-reactive-led-strip
audio-reactive-led-strip copied to clipboard
Change audio source to GPIO input?
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
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?