B38TN1K

Music For Arduino [2 more B38TN1K EPs!]

arduino   code   music

I made some music with Arduino. All sounds are Arduino generated, I added some reverb in post. Everything was multitracked from monophonic Arduino sketches (polyphony is possible, I just didn’t feel like yak shaving). Here is my sound track to an imagined arcade game.

Arduino should be popular for chiptune music.

The Arduino tone() function can be used to oscillate a digital out pin at audio frequency.

With the Arduino Volume Control Library you can control the volume of this tone.

With the code from this Arduino forum post the Arduino can receive MIDI events and play the correct note.

You could go even deeper with Auduino or Talkie, the Arduino Speech Library or paraphonic synthesis.

I also made a system that synced four Uno boards, each with their own audio out. I previously wrote some tips on developing for similar systems. This system doesn’t use MIDI and the scale was mathematically defined based on divisions of the doubled frequency. Sort of beepy, alien, interesting but not the sort of music you would put on for guests :-P