The Arduino Synthesizer
The Arduino is able to output sound through a library that has been developed called the Tone Library.
By creating an interface and a program that can call certain values to be output to an audio out, the Arduino Synthesizer is a robust tool for making a rudimentary noise machine. It uses granular synthesis techniques to generate a distinctive sound that can be a whole lot of fun for musicians, artists, tinkerers, and hobbyists.
Step 1: How it works
The grain consists of two triangular waves of adjustable frequency, and adjustable decay rate.
The repetition rate is set by another control.
Step 2: Materials and Tools
(5X) Potentiometer knobs – (Radioshack #274-416)
(3X) LEDs – (Radioshack #276-307)
(1X) SPDT switch – (Radioshack #275-1549)
(1X) Light Dependent Photo Resistor – (Radioshack #276-1657)
(1X) Arduino – (Radioshack #276-128)
(1X) Arduino Protoboard – (Radioshack #276-140)
(1X) Tactile Switch – (Radioshack #275-002)
(1X) Project enclosure – (Radioshack #270-1807)
(1X) 1/8″ Audio Jack– (Radioshack #274-251)
(1X) a whole lot of solid core wire – (Radioshack #278-1222)
(1X) heat shrink – (Radioshack #278-1627)
(1X) breadboard – (Radioshack #276-002)
(1X) jumper wire – (Radioshack #276-173)
(3X) 10K ohm resistors – (Radioshack #2271-1335)
(3X) 220 resistors – (Radioshack #271-1313)
(1X) 9V battery – (Radioshack #23-866)
(1X) 9V battery clip – (Radioshack #270-324)
(1X) size M coaxial DC power plug – (Radioshack #274-1569)
- soldering iron
Step 3: Code, Circuit Diagram, and Power.
You have many options when it comes to power. The Arduino is capable of running on a 9v wall wart power supply, or you may use a 9V battery with a battery clip to a size M coaxial DC power plug. You may also power via your USB cable.
The circuit diagram was made with Fritzing, it has also been attached to this step.
Step 4: Using a breadboard.
Then, connect the signal wires from the potentiometers to Analog Input 0-4 on the Arduino. The right and left side leads will get connected to the ground rail, and positive rail of the breadboard.
Connecting the potentiometers will control the grain, frequency, and decay of the synthesizer.
Analog in 0: Grain 1 pitch
Analog in 1: Grain 2 decay
Analog in 2: Grain 1 decay
Analog in 3: Grain 2 pitch
Analog in 4: Grain repetition frequency
Step 5: Wire your Audio Jack.
Step 6: Connect your photoresistor.
Step 7: Connect a SPDT switch.
Step 8: Wire the tactile switch.
Step 10: Test it!
Step 11: Drill the enclosure.
Drill five holes for the potentiometers.
Five small holes in a square for the tactile switch.
Three pairs of small holes for each of the LEDs
Two holes close together for the photoresistor.
One hole for your audio jack.
One additional hole for the SPDT switch.
Step 12: Start adding components to the enclosure.
Step 13: Add the rest of the components.
Step 14: Wire the audio jack to the Protoboard.
Solder lead wires to all of the components within the the enclosure, using red and black wires respectively to denote which leads are positive and negative.
On the Protoboard, connect one wire to digital pin 3, and solder into place, run a jumper wire to the center of the board so that you may break the line with the same 10K ohm resistor from the breadboard.
When you solder these into place, make sure you drop enough solder on to the board to connect the wire to the resistor.
JLCPCB – Prototype 10 PCBs for $2 (For Any Color)
China’s Largest PCB Prototype Enterprise, 600,000+ Customers & 10,000+ Online Orders Daily
How to Get PCB Cash Coupon from JLCPCB: https://bit.ly/2GMCH9w
This Post / Project can also be found using search terms:
- arduino synthesizer
- arduino uno synth
- arduino nano synthesiser
- what are the audio connections for arduino simple synth