Removed detune property as it is now defined in BaseSoundManager class

This commit is contained in:
Pavle Goloskokovic 2017-11-27 17:38:43 +01:00
parent e4cebbf29c
commit 65c30b9f7a

View file

@ -104,19 +104,4 @@ Object.defineProperty(WebAudioSoundManager.prototype, 'volume', {
this.masterVolumeNode.gain.setValueAtTime(value, 0);
}
});
/**
* Global detune.
* @property {number} detune
*/
Object.defineProperty(WebAudioSoundManager.prototype, 'detune', {
get: function () {
return this._detune;
},
set: function (value) {
this._detune = value;
this.sounds.forEach(function (sound) {
sound.setRate();
}, this);
}
});
module.exports = WebAudioSoundManager;