ion.sound icon indicating copy to clipboard operation
ion.sound copied to clipboard

GainNode.gain deprication

Open RomanBurunkov opened this issue 7 years ago • 9 comments

Hi there,

In Chrome v. 63.0.3239.108 console

I see the following warning message for ion.sound.min.js: 14:

[Deprecation] GainNode.gain.value setter smoothing is deprecated and will be removed in M64, around January 2018. Please use setTargetAtTime() instead if smoothing is needed. See https://www.chromestatus.com/features/5287995770929152 for more details.

RomanBurunkov avatar Dec 25 '17 14:12 RomanBurunkov

Hi, Roman. Thanks for update, will fix it.

IonDen avatar Dec 25 '17 15:12 IonDen

Any news on this isuee?

Meanwhile there is a new deprecation note:

[Deprecation] AudioParam value setter will become equivalent to AudioParam.setValueAtTime() in M65, around March 2018 See https://webaudio.github.io/web-audio-api/#dom-audioparam-value for more details.

dbusacca avatar Jan 22 '18 08:01 dbusacca

@dbusacca thanks for update. Work in progress now.

IonDen avatar Jan 22 '18 10:01 IonDen

line 525 / 628 this.gain.gain.value = this.volume; change to this.gain.gain.setTargetAtTime(this.volume, audio.currentTime, 0.015);

I believe is this @IonDen

douglaszaltron avatar Jan 30 '18 21:01 douglaszaltron

@douglaszaltron, i will check this soon

IonDen avatar Jan 31 '18 09:01 IonDen

Hello @IonDen ,

Any updates on this?

Thanks, Roman.

RomanBurunkov avatar Mar 04 '18 19:03 RomanBurunkov

Hi, finally i found time to work on it. Probably this week update will be released.

IonDen avatar Mar 05 '18 08:03 IonDen

Hello @IonDen , have you managed to fix this?

Thanks, Roman.

RomanBurunkov avatar May 04 '18 12:05 RomanBurunkov

I have a delay now. Sorry guys. Will try release the fix before end of May.

IonDen avatar May 08 '18 13:05 IonDen