This is a simple demo to show how you can quickly use sounds and synths to play patterns. This HTML file loads Tone.js from CDN and the browser version of Scribbletune as SCRIPT tags. It also loads a file called script.js for using these 2 libraries for generating patterns and playing them. Take a look at script.js to see the minimal code written for this demo.
Click here to view an example of using sessions and channels with multiple clips