From 12896a56308a50ee83584b2bfd25d599077285e1 Mon Sep 17 00:00:00 2001 From: Yotam Mann Date: Mon, 23 Feb 2015 22:14:22 -0500 Subject: [PATCH] get/set method on Transport --- Tone/core/Transport.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Tone/core/Transport.js b/Tone/core/Transport.js index 7e3c9cd8..7554aac4 100644 --- a/Tone/core/Transport.js +++ b/Tone/core/Transport.js @@ -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}