Pages: [1]   Go Down
Author Topic: Begginer Help audio  (Read 1010 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 14
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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!
Logged

Bristol, UK
Offline Offline
Edison Member
*
Karma: 1
Posts: 1197
Exhibitor at UK Maker Faire
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Offline Offline
Newbie
*
Karma: 0
Posts: 14
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 14
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Nowhere
Offline Offline
God Member
*****
Karma: 3
Posts: 852
|-\ |\|\
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Soundcloud page: http://soundcloud.com/beefinator-2
Youtube channel: http://www.youtube.com/user/beefinator14
Old soundcloud page (ran out o

Pages: [1]   Go Up
Jump to: