Skip to content

Commit dc79646

Browse files
Dispatching event when sound detune value changes
1 parent de89196 commit dc79646

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

v3/src/sound/webaudio/WebAudioSound.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,7 @@ Object.defineProperty(WebAudioSound.prototype, 'detune', {
377377
set: function (value) {
378378
this.currentConfig.detune = value;
379379
this.setRate();
380+
this.events.dispatch(new SoundValueEvent(this, 'SOUND_DETUNE', value));
380381
}
381382
});
382383
/**

0 commit comments

Comments
 (0)