CreateJS / SoundJS

A Javascript library for working with Audio. It provides a consistent API for loading and playing audio on different browsers and devices. Currently supports WebAudio, HTML5 Audio, Cordova / PhoneGap, and a Flash fallback.
http://createjs.com/
MIT License
4.44k stars 835 forks source link

Chrome: GainNode.gain.value setter smoothing is deprecated and will be removed in January 2018 #288

Open kburke3 opened 6 years ago

kburke3 commented 6 years ago

TODO

Issue Details

gmtta commented 6 years ago

I'm concerned about this as well. Hopefully this will be a fairly simple patch?

owendwyer commented 6 years ago

From reading this thread it seems it's not a big deal. Chrome is just going to start behaving the same way that Firefox already does.

GainNode.gain.value setting will still work, but it won't get the extra 'smoothing' that had been happening on Chrome.

From what I understand, changing volume suddenly can sometimes cause popping or cracking sounds. To counteract this, Chrome had/has a smoothing feature so that no change was ever too drastic. However, there may be some situations where it's better to not have smoothing at all, so Chrome are going to stop doing it.

MaryLou9988 commented 6 months ago

The reported GitHub issue (288) discusses a deprecation warning in Chrome related to the GainNode.gain.value setter smoothing, slated for removal around January 2018. To resolve this, consider updating to the latest version of the library or tool causing the warning, checking for updates, and adjusting the code to use setTargetAtTime() as recommended. Keep an eye on the Chrome Status page for additional insights. Ensure compatibility with the latest browser versions and assess whether the library, like r2park, requires updates to align with recent browser changes.