Sound Synthesis in JavaScript

Familiar synth noises at our home again! This time synthesized in JavaScript. Simon has been following Daniel Shiffman’s Sound Tutorials and studied the codes to create oscillators and ADSR Envelope. ADSR stands for Attack, Decay, Sustain, Release.

Here Simon is working on sound synthesis code offered in the tutorial:

 

He drew an ADSR Envelope graph and explained it:

 

Here I filmed Simon from behind, without him really being aware of it. This is to show the usual way he studies – by talking to himself:

Some more synth tricks he learned to apply to the original code:

The code to create a slider that functions as an oscillator:

Simon made this graph in Word:

adsr-envelope-21-dec-2016

Leave a comment