About: I've always loved music and technology. Recently I found a good way to blend the two together. I'm working on ESP8266 based Midi devices, it's so much fun to generate music with code!

More by the author:

Hi, today I'll show you how to make your own Midi Random Sequence Generator.

It generates random 4, 7,8 or 16 note long sequences in a Minor key.

Of course you can change whatever you want, you can add more sequence lengths or change the key. But personally I found these settings quite useful.

Supplies:

Breadboard

Some jumper cables

2 * 220 ohm resistors

1 * 10k ohm resistor

5 * 1k ohm resistor (or more if you want more sequence lengths)

A potentiometer, preferably on a little breakout so it's breadboard friendly

A female Midi Jack (aka a female 5 Pin Din Jack)

2 breadboard friendly switches

A 9v battery clip.

And of course an Arduino. I prefer the Nano, specifically a chinese clone from AliExpres as it can run on 3.6 - 10v, making it easy to power with batteries. If you chose this same Nano you can also use 4 AA batteries.

Optional: Rotary Switch (I don't use it, but if you want to put this project in a case I highly recommend one.)