Skip to content

Commit c293d4a

Browse files
Dispatching event when global detune value changes
1 parent f6976da commit c293d4a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

v3/src/sound/BaseSoundManager.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ Object.defineProperty(BaseSoundManager.prototype, 'detune', {
172172
this.sounds.forEach(function (sound) {
173173
sound.setRate();
174174
}, this);
175+
this.events.dispatch(new SoundValueEvent(this, 'SOUND_DETUNE', value));
175176
}
176177
});
177178
module.exports = BaseSoundManager;

0 commit comments

Comments
 (0)