In the preceding lessons, you learned how to implement the basic features of a synthesizer using JavaScript. Now, it's time to put it all together.
Download the "synthesizerTODO.html" and "synthesizerTODO.js" files from the "Downloads" section of this page. You'll see that each contains a number of comments with tasks marked "TODO". Using code from the preceding lessons, you should figure out how to get the missing elements working.
When you are done, check your work against the "synthesizer.html" and "synthesizer.js" files. These will show one possible way to implement the missing features.
Finally, challenge yourself by implementing even more additional features, as described in the self-study section.
Good luck!
Download the following files by right-clicking the links, and then selecting "Save Link As...". Try not to look at the working versions unless you get really stuck!
.mousemove
event.
This will give you an additional pair of continuous values. Map the X/Y
coordinates of the mouse to something fun, like filter cutoff/Q or vibrato
speed/amount.