mirror of
https://github.com/Tonejs/Tone.js
synced 2024-12-28 12:33:12 +00:00
updated copy. cleaning up commented out code.
[skip ci]
This commit is contained in:
parent
2530182b2e
commit
72baf939de
1 changed files with 1 additions and 5 deletions
|
@ -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];
|
||||||
|
|
Loading…
Reference in a new issue