Don't ad-block us - support your favorite websites. We have safe, unobstrusive, robotics related ads that you actually want to see - see here for more.
0 Members and 1 Guest are viewing this topic.
counter =0;for(2 seconds) { soundRecordArray[counter] = Reading from ADC; counter++;}
Say the human voice has a maximum of 4000 Hz when talking. You would have to sample at aout 4 x4000Hz to ensure each wave can be accurately recorded. If you sample at a lower frequency, you may find your recorder sampling only the peaks of a wave, which would then look like DC.
Hmm thats what i got taught - (the Nyquist theorem) - but when i think about it, 2x doesn't seem enough. I might be wrong though ...
Heres why i think it's wrong This is sampling at 2xf, yet the output is not what the input was.
I want to compare the inputs of two microphones, to detect where the voice is coming from.
QuoteI want to compare the inputs of two microphones, to detect where the voice is coming from.http://www.societyofrobots.com/robotforum/index.php?topic=1125.0