This example uses Web Audio Api triggered by an oCanvas object. Feel free to use this code as the basis for your html8 project.
IMPORTANT NOTE: Use Web Audio tutorial example 6 (synthesis example) if you want the easiest route to this project.
If you use the other examples (which use XMLHttpRequest) you will need to test and run the program off a server, either the class' web space or a local server you set up on your own computer. Don't do this unless you are comfortable with those technical needs.
Click on the blue rectangle: