Secret Feature

Making Synthesizers in JavaScript with the Web Audio API

May 3, 2013 by RayReadyRay

Lately I’ve been making synthesizers using the Web Audio API and decided to build a simple monophonic synthesizer to get others started. I gave a talk about it last week at Converge SF, the video should be online soon. For now, here are my slides, code on GitHub, and the synthesizer in four parts. It’s fun to play on an iPad or iPhone (in landscape mode). I’ll be adding QWERTY keyboard and MIDI support for the piano keyboard soon as well as other synth modules.

http://github.com/secretfeature/mono-synth-demo

Part 1- Oscillator

Part 2- Lowpass Filter

Part 3- ADSR Envelope (attack, decay, sustain, release)

Part 4- LFO (Low Frequency Oscillator)


0 comments

Leave a Reply

Required fields are marked *.

*


Top