Take the 2-minute tour ×
Arduino Stack Exchange is a question and answer site for developers of open-source hardware and software that is compatible with Arduino. It's 100% free, no registration required.

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

share|improve this question
2  
Which Arduino do you intend to use? Most of them don't have enough built-in storage for any significant amount of audio. –  Peter R. Bloomfield Apr 10 '14 at 18:29
    
You will not be able to do this without adding support components such as a pre-amp and storage device, at which point your requirement not to use a shield become a desire to do things the hard way. Realistically, a basic ATmega-based Arduino is a poor choice for this application. Many other boards have more appropriate hardware, though perhaps not as user friendly a development environment (something like an STM32F4 Discovery for example has everything you need on board except the speaker). One of the ARM-based boards from arduino.cc might work as well. –  Chris Stratton Apr 10 '14 at 18:33

1 Answer 1

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).

share|improve this answer
    
I was looking to combine these two concepts instructables.com/id/… instructables.com/id/… –  Sahil Babbar Apr 12 '14 at 7:07
    
Neither of those is what you want. –  Ignacio Vazquez-Abrams Apr 12 '14 at 7:13

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.