ModularDuino - An Arduino Based Modular Synthesizer Concept

December 9th, 2008

ArduinOscillator, prototype 1 ArduinOscillator, prototype 2

General Description

The idea of using my Arduino for modular synth utilities started out as a crazy idea that I’m now starting to seriously like. The pictures above shows my first design, an oscillator. (I have plans for other modules, see the bottom of this post)
The left picture shows the first prototype where I tried to use PCM to produce the sound. That didn’t sound too good, so I built an 8-bit resistor ladder passive DAC. But I only hade enough of one resistor value, so I used only that value. This gives a non-linear output voltage response. (Distorsion) Additionally I’m only using 6 of the possible 8 bits, further degrading the sound quality. The input voltage response does not conform to any standard (Eg 1V/octave) but has a inversely proportional relationship (f(V)=c*1/V, where V is the voltage, c is some constant and f is the resulting frequency) This relationship is not completely unlike how a Gameboy responds to sound values that you write to it’s sound controller. However, surprisingly enough, it seemed almost impossible to hit musically dissonant intervals, so it seems like I did something right.

I could fix these things, but considering how much I like the itty-gritty lo-fi sound, I doubt that I will.
Veqtor building a patch The Arduino connected to the Serge
So, me and Veqtor hung out in Studio 6 at EMS, playing around with the Serge interacting with the Arduino. The result is the following sounds:

Sound Samples

Clean/Filtered side by side

This is a short sample to demonstrate what the Arduinoscillator could sound like in a typical modular setup.
Right channel: Clean
Left channel: Filtered by the Serge multimode filter, in LP mode, using an envelope. Various parameters are controlled by the Serge sequencer, and the seuencer is triggered randomly.

2tronik01 - Arduinoscillator clean/filtered side by side  by  nitro2k01(Gameboy Genius)

Arduinoscillator Glitch Mode

Arduinoscillator waveform Arduinoscillator spectrum
This sample demonstrates how the Arduinoscillator sounds when modulated by the Serge precision VCO, itself and the 50 Hz ground loop that it picked up from my finger. (Hehe)
It gives a pretty good idea of the waveform that this thing outputs.

2tronik01 - Arduinoscillator Glitch Mode  by  nitro2k01(Gameboy Genius)

Funky Arduino Acid

This is the result of my and Veqtor’s session at EMS, where we built a patch that controls the Arduinoscillator with the Serge analogue sequencer, a bit of Serge filter on that, some Serge generated drums. You get the idea.
Even though the oscillator waveform is a sine, it has some pretty smooth digital overtones, that together with the frequency response is perfect for funky acid, as this sample demonstrates.

2tronik01 and veqtor - Funky Arduino Acid  by  nitro2k01(Gameboy Genius)

Future ModularDuino plans

ModularDuino is so far just a concept, more than a truly useful product. The Arduino with it’s accessible design and relatively affordable price, has the potential of becoming a cheap lo-fi component for modular synthesizer users. Some people think that lo-fi sound and digital artefacts is only something bad. Whereas I think it has a place and can be really useful for producing certain sounds.
Anyway, here’s the roadmap for the project.

  • Implement real 1 V/Octave frequency response for the Arduinoscillator. (Or keep it this way, hehe)
  • Implement φM (Phase angle modulation. When most people FM, they means this) This can be done, but probably requires me to learn more about the Atmega168 controller on the Arduino and write some assembly code. Bricks will be shat.
  • More waveforms can be added relatively easily.
  • I’m also planning a delay module. The Arduino has the potential to store a buffer of about a second in RAM, which could be used to create a lo-fi 8-bit delay comparable to BBD delays.
  • It’s pretty possible to make waveshapers or distorsion units with a characteristic digital sound.
  • Envelopes, LFOs and perhaps sequencers with extended possibilities, editable code and a lo-fi touch.
  • This is just a little dream of mine, but I would guess it’s not completely impossible to create a filter using the arduino. The most CPU intense part of most filter algorhithms is usually the resonance, so my idea is to solve that with an external feedback loop, while the Arduino emulates a 1-pole filter.

The last module might not be worth it, but the others can be achieved pretty easily, so check back regularly. I’m planning to release the code and schematics under a Creative Commons license at some point, but right now the code is a mess and the schematics only exist as prototypes on a breadboard, so bear with me.

I’d Also like to give a shout out to the crazy Aussie Sebastian Tomczak who’s a Gameboy fetishist and Arduino wiz. A little bird whispered in my ear that he’s planning yet another audio-related Arduino project. I’ll be waiting eagerly. :)

7 Responses to “ModularDuino - An Arduino Based Modular Synthesizer Concept”

  1. synthhead says:

    Very cool project! This looks like it could turn into something pretty awesome.

    I put up a link to this at Synthtopia:
    http://www.synthtopia.com/content/2008/12/08/modularduino/

    Looking forward to seeing how this develops….

  2. Xiaodaner says:

    Great sounding, I love it!

    Keep up! I am highly interested in getting or building one!

    Regards,
    /M.Q.

  3. reiyano says:

    sweeeeet acid track.

  4. ModularDuino - Arduino modular synth in the works » Developages - Development and Technology Blog says:

    [...] D&#101&#102init&#101 pot&#101ntial &#102or this application - a control voltag&#101 s&#101&#113&#117&#101nc&#101r sho&#117ld b&#101 pr&#101tty straight&#102orward to i&#109pl&#101&#109&#101nt. &#67h&#101ck o&#117t th&#101 sit&#101 &#102or d&#101tail&#101d sa&#109pl&#101s, analysis, and id&#101as &#102or &#102&#117t&#117r&#101 it&#101rations. - &#77odu&#108&#97r&#68uino [...]

  5. Web News Site » Blog Archive » ModularDuino - Arduino modular synth in the works says:

    [...] nitro2k01 investigates using the versatile Arduino platform for use as synthesizer modules -The idea of using my Arduino for modular synth utilities started out as a crazy idea that I’m now starting to seriously like. The pictures above shows my first design, an oscillator. (I have plans for other modules, see the bottom of this post) The left picture shows the first prototype where I tried to use PCM to produce the sound. That didn’t sound too good, so I built an 8-bit resistor ladder passive DAC. But I only hade enough of one resistor value, so I used only that value. This gives a non-linear output voltage response. (Distorsion) Additionally I’m only using 6 of the possible 8 bits, further degrading the sound quality. The input voltage response does not conform to any standard (Eg 1V/octave) but has a inversely proportional relationship (f(V)=c*1/V, where V is the voltage, c is some constant and f is the resulting frequency) This relationship is not completely unlike how a Gameboy responds to sound values that you write to it’s sound controller. However, surprisingly enough, it seemed almost impossible to hit musically dissonant intervals, so it seems like I did something right. Definite potential for this application - a control voltage sequencer should be pretty straightforward to implement. Check out the site for detailed samples, analysis, and ideas for future iterations. - ModularDuino [...]

  6. Gamma Goblin says:

    I was going to suggest you submit it to MAKE but it looks like its been done already :)

    http://blog.makezine.com/archive/2008/12/modularduino_arduino_modu.html?CMP=OTC-0D6B48984890

    Very interesting stuff anyway… and (as already said) the acid track is sweet! :)

  7. ModularDuino - Arduino modular synth in the works | SquareCows says:

    [...] Definite potential for this application - a control voltage sequencer should be pretty straightforward to implement. Check out the site for detailed samples, analysis, and ideas for future iterations. - ModularDuino [...]

Leave a Reply

If you'd rather contact me directly, please use the following e-mail address: It appears that you have Javascript disabled. Please enable it to see my e-mail address.