mirror of
https://github.com/Tonejs/Tone.js
synced 2024-11-16 08:38:00 +00:00
change swing to default to 16th note
This commit is contained in:
parent
195be1ad8d
commit
0c6383c49c
1 changed files with 4 additions and 3 deletions
|
@ -79,11 +79,11 @@ function(Tone){
|
|||
|
||||
/**
|
||||
* controls which beat the swing is applied to
|
||||
* defaults to an 8th note
|
||||
* defaults to an 16th note
|
||||
* @private
|
||||
* @type {number}
|
||||
*/
|
||||
var swingTatum = 6;
|
||||
var swingTatum = 3;
|
||||
|
||||
/**
|
||||
* controls which beat the swing is applied to
|
||||
|
@ -622,7 +622,8 @@ function(Tone){
|
|||
};
|
||||
|
||||
/**
|
||||
* set the subdivision which the swing will be applied to
|
||||
* set the subdivision which the swing will be applied to. the starting values is a 16th note.
|
||||
*
|
||||
* @example
|
||||
* Tone.Transport.setSwingSubdivision("8n"); //the eight note will be swing by the "swing amount"
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue