I am building a full size Dalek and wanted to use a Raspberry Pi for audio effects, rather than by a dedicated Dalek Sound Effect unit. I managed to create a bash script that used the rec and play commands to take audio from a connected mic, apply effects to it and play it back live, with very little delay.
I called this dalek.sh.
I the wanted to illuminate the lights in the Daleks head and in its eye to flash in time with the audio. I managed to create a Python script that achieved this with an LED connected to the GPIO. I called this sound_led.py.
Now it is time to put the two together, however we have encountered a problem because the Pi cannot use one mic to read two things, the audio in to apply effects to and the audio in to check sound levels.
Can I do this with one Mic or do we need / can we use two separate inputs?
Here is the link to my github repository.
Thanks for any input
callbackfunction to manipulate the array ... another example at github.com/vicouncil/FsocietyVoiceChanger