updated copy. cleaning up commented out code.

[skip ci]
This commit is contained in:
Yotam Mann 2016-04-18 00:14:45 -04:00
parent 2530182b2e
commit 72baf939de

View file

@ -32,8 +32,7 @@
<div id="Title">Tone.Transport</div> <div id="Title">Tone.Transport</div>
<div id="Explanation"> <div id="Explanation">
<a href="http://tonejs.org/docs/#Transport">Tone.Transport</a> <a href="http://tonejs.org/docs/#Transport">Tone.Transport</a>
is the application-wide timekeeper. It's clock source enables sample-accurate scheduling as well as is the application-wide timekeeper. It's clock source enables sample-accurate scheduling as well as tempo-curves and automation. This example uses Tone.Sequence to invoke a callback every 16th note.
tempo-curves and automation. This example uses Tone.Sequence to invoke a callback every 16th note.
</div> </div>
<canvas nx="matrix"></canvas> <canvas nx="matrix"></canvas>
</div> </div>
@ -48,11 +47,8 @@
"volume" : -10, "volume" : -10,
}).toMaster(); }).toMaster();
// var keys = new Tone.PolySynth(4, Tone.SimpleSynth).toMaster();
//the notes //the notes
var noteNames = ["F#", "E", "C#", "A"]; var noteNames = ["F#", "E", "C#", "A"];
// var noteNames = ["F#3", "E3", "C#3", "A3"];
var loop = new Tone.Sequence(function(time, col){ var loop = new Tone.Sequence(function(time, col){
var column = matrix1.matrix[col]; var column = matrix1.matrix[col];