mirror of
https://github.com/Tonejs/Tone.js
synced 2024-11-16 00:27:58 +00:00
get/set method on Transport
This commit is contained in:
parent
c5b2cdae3e
commit
12896a5630
1 changed files with 15 additions and 0 deletions
|
@ -88,6 +88,21 @@ function(Tone){
|
|||
|
||||
Tone.extend(Tone.Transport);
|
||||
|
||||
/**
|
||||
* the defaults
|
||||
* @type {Object}
|
||||
* @const
|
||||
* @static
|
||||
*/
|
||||
Tone.Transport.defaults = {
|
||||
"bpm" : 120,
|
||||
"swing" : 0,
|
||||
"swingSubdivision" : "16n",
|
||||
"timeSignature" : 4,
|
||||
"loopStart" : 0,
|
||||
"loopEnd" : "4m"
|
||||
};
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @type {number}
|
||||
|
|
Loading…
Reference in a new issue