Skip to content

Instantly share code, notes, and snippets.

Johnny Caraveo

View GitHub Profile
View beat.js
//create a synth and connect it to the master output (your speakers)
var synth = new Tone.Synth().toMaster();
//Thank you W3.org
function dotin(note, time, when) {
return synth.triggerAttackRelease(note, time, when);
}
function rythm(beat, repeat) {
You can’t perform that action at this time.