A Simple Drum Machine

A simple drum machine


I wrote a simple drum machine for the course Learn to code Electronic Music Tools with Javascript offered by Goldsmiths, University of London through FutureLearn.

This was an excellent introduction to the Web Audio API and Nexus UI. I was surprised how easy it was to generate sounds and write tools to make music. I also learned about the Algorave scene which I never heard of before I signed up for this course.

If it’s offered again, I can highly recommend his short but fun course.

The drum machine below was inspired by the legendary Roland TR-808. I have so many ideas and want to add more bells and whistles, and turn this into a fully functioning clone with save/load functionality one day.

In the meantime, just go ahead and play with it - have fun! :)

Here’s a sample pattern I created to replicate Jam On It by Newcleus:

Sample Pattern

And here’s a clip of the same beat with the original TR-808 for comparison:

  • < Older
  • Newer >