user1004: I am trying to make a small project. Firstly, I want to record voice using a small microphone(electret) for the time button is pressed and on releasing the button, the speaker of my laptop should output the recorded voice or a speaker attached to the arduino should output.
Note: I don't want to use any shield to do so. Simply Arduino

user368: Microphone input is easy (ADC). Speaker output is easy (PWM). Both have many, many examples strewn across the Internet.
What happens in between is not, and will require external components. You will need at the very least somewhere to store the samples between record and playback. Investigate SPI SRAM large enough to store all the required samples at your chosen sample rate (8 kS/s should be high enough for human speech).

1004: <p>I am trying to make a small project. Firstly, I want to record voice using a small microphone(electret) for the time button is pressed and on releasing the button, the speaker of my laptop should output the recorded voice or a speaker attached to the arduino should output.</p>

<p><strong>Note: I don't want to use any shield to do so. Simply Arduino</strong></p>
 368: <p>Microphone input is easy (ADC). Speaker output is easy (PWM). Both have many, many examples strewn across the Internet.</p>

<p>What happens in between is <em>not</em>, and will require external components. You will need at the very least somewhere to store the samples between record and playback. Investigate SPI SRAM large enough to store all the required samples at your chosen sample rate (8 kS/s should be high enough for human speech).</p>
