this will improve performance.

may cause issues when setting bits which are larger than the initial
value.
This commit is contained in:
Yotam Mann 2014-09-11 20:35:39 -04:00
parent ad703e51d1
commit ebca621fc7

View file

@ -24,7 +24,7 @@ function(Tone){
* @type {Tone.Modulo}
* @private
*/
this._modulo = new Tone.Modulo(1, 8);
this._modulo = new Tone.Modulo(1, options.bits);
/**
* used for the floor function