Glitch Synth

Glitch Synth
mt_ignore
Standalone

Every now and then, we find some cool stuff that we just absolutely have to try for ourselves. We found some work done by reddit user Nugetteero in this thread, which is comprised of some messy (but awesome and functional) code, and some components on a breadboard powered by an Arduino Nano. We love it, and we're surrounded by components that can be used to make it, so obviously we had to. Here's our version.

If you haven't already, make sure to go through the Geekduino Getting Started Guide. You should also consider going through Chapters 1-5 in RobotGeek 101 to get a good foundation of the concepts we'll be working with.

Hardware Required

Install the Mozzi Library

b_500_500_16777215_00__images_projects_glitchSynth_mozzi.jpg

The thing that makes this entire thing run is the Mozzi Library, found HERE. Mozzi is a sound synthesis library that gives your arduino the power to create all kinds of amazing noises!

Download it and extract it to your Arduino Libraries folder. Start up your Arduino IDE, and you should now see Mozzi listed under File > Examples. If you'd like to familiarize yourself with the library, the examples are a great jumping off point!

Wiring

b_500_500_16777215_00__images_projects_glitchSynth_glitchSynth_bb.png

Follow the diagram to hook up your parts. DIO-9 can be hooked to a buzzer, or you can hook up a speaker by using alligator clips to attach the tip and sleeve of the plug to the Signal and Ground of DIO-9. If you have a phono jack handy, you can use that instead for a solid connection.

The alligator clips will enable you to quickly experiment with different sound outputs (buzzer, speaker, headphones, guitar amp, effects pedals, etc), so we recommend using them to get started. Notice that we skipped over the Ring. Ring is most commonly used for a second channel. We are only outputting in mono. If you hooked up a pair of headphones with the connections on only the tip and sleeve, you will only get sound through the right side.

As for the physical layout of the thing, we tried to match closely the arrangement in Nugetteero's video, however, you can really arrange the parts however you'd like.

b_500_500_16777215_00__images_projects_glitchSynth_1.jpg b_500_500_16777215_00__images_projects_glitchSynth_2.jpg b_500_500_16777215_00__images_projects_glitchSynth_3.jpg

Programming

b_500_500_16777215_00__images_projects_glitchSynth_parts.jpg

The clean version of the code that we'll be using to run this is available HERE. Download and open arpeggiatingGlitchSynth.ino in the Arduino IDE.

Upload the code to your board and it should start making some noise! We suggest unplugging the USB and powering it from a power supply so that you get clean, stable energy, and because we've noticed an intermittent problem with USB power causing buggy/spotty performance.

If you're curious as to why we cleaned up the code, the original has some... colorful language, and is a bit too disorganized for our tastes. Our code works the same as the original, which if you're curious, can be found here (warning, graphic language).

Play!

This video shows an example of the original version of the Synth hooked to a variety of guitar pedals.

Now that you've put everything together and programmed it, you gotta press all the buttons, fiddle with the knobs, squeeze the FSR or cast a shadow on the light sensor! Since this is mapping analog sensor readings, can you think of other analog sensors you could use? Try plugging a rotation knob in where the light sensor is. Try plugging the voltage divider with FSR in where a rotation knob is. How about hooking up a slider or softpot? Experiment with output, too! What happens when you clip on to some headphones? A guitar amp? So many possibilities!

If you like messing around with the sounds that your arduino can produce, now is a great time to start going through the examples and learning about how to use the Mozzi library!

Feedback Form


Search