Having never worked with mic and speakers in the past, i am experimenting with these. I already made a simple circuit with a mic(electret condenser microphone http://www.digikey.com/product-d...) and speaker. I used the above mic with simple amplifier stage and then computer speaker. It works well.
Now, I am thinking of building a simple microphone, speaker and micro-controller circuit. The idea is basically to feed in the input from mic to micro-controller and then output audio signal to the speaker.
For that i think i need to first convert the analog signal from mic to digital values using avr's adc. And after that i need to output the analog values to the speaker. Since this is my first time i need advice on how to build a working circuit. What should be the sampling and playback rate? Do i have to worry about codecs(dont know how large raw audio data can be)? etc.
I am planning on using arduino first since its easy and quick for prototyping.
Any help is appreciated as always! :)