Online course in Creative Arts & Media

Learn to Code Electronic Music Tools with Javascript

This course shows you how to build sound synthesizers and drum machines that run in your web browser using Javascript.

Learn to Code Electronic Music Tools with Javascript

  • Duration 4 weeks
  • Weekly study 5 hours

Use Javascript and the Web Audio API to code electronic music tools

In this online course, you’ll build a range of electronic music tools using the Javascript language and the Web Audio API.

We’ll show you, line by line, how to program interactive synthesizers, drum machines and even algorithmic music systems that can generate music automatically.

You’ll also find out how to develop user interfaces with knobs, sliders and other elements.

The music software and user interfaces you make will run in any web browser that supports the Web Audio API, including Safari on iOS and Chrome on Android.

Download video: standard

What topics will you cover?

  • Sound synthesis
  • Drum machine and sampled sound
  • Musical user interfaces
  • Algorithmic composition and algorave

What will you achieve?

By the end of the course, you'll be able to...

  • Synthesise audio in real-time in web browsers using the Web Audio API
  • Design sound synthesis algorithms
  • Apply clocks and triggers to play back sampled sounds in rhythmic patterns
  • Design user interfaces that allow non-coders to control your electronic music software
  • Apply algorithmic music techniques to generate music automatically using probability and rules

Who is the course for?

This course requires access to a computer with an up to date web browser and a sound output.

Who will you learn with?

Matthew Yee-King

Matthew Yee-King

Computer scientist, Musician, Educator.

Who developed the course?

Part of the University of London, Goldsmiths has a world-class reputation. Study creative and inspiring courses and learn from leading minds in the arts, humanities, social sciences and computing.