I bought an external sound card, and what I want to do is listen to 5 microphones simultaneously, and only start recording sound once the microphones' sound level comes above a certain threshold. (let's say when I clap my hands, or somebody walks by)
I assume that when using the analog to digital converter, the software picks up a sound level from 0 to 1023, and that I just could simply say (in abstract language) "if soundlevel > 300, then... etc." but I'm reading forum posts and doing tutorials for the last 7 hours now and I can't get it to work.
So I just want to define a soundvolume threshold, that when being reached triggers an action. Can somebody here maybe guide me in the right direction, or tell me specifically which websites or tutorials to take a look at?