Simple Granular Synth
This is a basic and easy to build granular synthesizer using the the Arduino UNO. If you are
not familiar with the arduino you might want to check out this website.
Materials
- 1x - Arduino UNO.
- 1x - Power source.
- 5x - 5 to 10k linear potentiometers.
- 1x Output jack, alternatively you could use a speaker.
- Some hook up wire.
- Solder and soldering iron.
You might want to grab some jumpers and a breadboard for testing.
Hook It Up!
The diagram above uses a multimeter as output because circuits.io does not allow the use of speakers or output jacks.
You'll want to start off by lining up the potentiometers wiring them in parallel to the 5v and ground(GND) pins on the Arduino. Make sure to connect the same lead on each potmeter, like in the diagram above, otherwise you’ll end up with some of the potmeters turning the other way around. The wipers (the middle lead on the potmeters) are to be connected to the analog pins on the arduino (A0 to A4).
To complete the hardware of the build connect the audio jack to the ground and the ~3 digital pin on the Arduino. The code we’re using will use the ~3 digital pin on the Arduino UNO as the output through pulse-width modulation.
The Code
For this instructable we will use this code by Peter Knight, as it is more reliable and neat than the code I wrote in the original project. Simply uploading the downloaded sketch to the Arduino will give you a complete and working granular synth.