We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 66d216a commit fe36e80Copy full SHA for fe36e80
1 file changed
v3/src/sound/BaseSound.js
@@ -274,7 +274,7 @@ var BaseSound = new Class({
274
*/
275
setRate: function () {
276
var cent = 1.0005777895065548; // Math.pow(2, 1/1200);
277
- var totalDetune = Math.max(-1200, Math.min(this.currentConfig.detune + this.manager.detune, 1200));
+ var totalDetune = this.currentConfig.detune + this.manager.detune;
278
var detuneRate = Math.pow(cent, totalDetune);
279
this.totalRate = this.currentConfig.rate * this.manager.rate * detuneRate;
280
}
0 commit comments