Go Down

Topic: Begginer Help audio (Read 1 time) previous topic - next topic

Hello everybody, I am a beginner with the arduino and microprocessors (just got it today) and I was wondering how I could connect my arduino with a TRS quarter inch output Jack so it will play the sounds I instruct it to. You probably have guess I'm trying to play music with this device. Please help and keep in mind that I have virtually no experience with these things. Thanks in advance!

Anachrocomputer

If you want reasonable quality audio, then you could connect a DAC (digital-to-analog converter) to the SPI pins of the Arduino, and send data to that. You'd need to write code to synthesise the audio, or play back a sample. The MCP4822 is a dual 12-bit DAC with built-in voltage reference, which you can connect to an amplifier via your jack plug.

The TRS jack would be connected either a speaker or an amplifier, so I'm looking for a mono signal. Can the arduino generate ready to be amplified notes on its own or do I need something else like a midi device to create these notes?

Thank you very much for your posts, you guys have been very helpful!

sciguy

Not at all recommended for a beginner, but it is possible using only a capacitor and a resistor to get nicer sounding tones than a crude square wave.  (even short sound samples
I used this technique for my 8 bit MIDI synth, made from Arduino.

Here's a bit of a song made with the synth:
http://soundcloud.com/beefinator/diy-2-fixed

Here's a topic about this project (still a work-in-progress):
http://arduino.cc/forum/index.php/topic,66726.0.html

Just as an example of what can be done with arduino and little other hardware.
Soundcloud page: http://soundcloud.com/beefinator-2
Youtube channel: http://www.youtube.com/user/beefinator14
Old soundcloud page (ran out o

Go Up