[webaudio] gainNode auto creation with safari

Hi,

Maybe Safari is being late with new implementations but just discovered Safari automatically creates Gain node inside buffer and bufferSourceNode. I wanted to utilise this approach for Firefox and Chrome and tried to create a Gain node inside AudioBufferSource. This approach did not overwrite Safari’s implementation however. I can access the gain with gain.gain.value in Firefox and Chrome now, but lost the connection to Safari (gain.value). I am sharing the screenshots of the bufferSources for you to compare.

Is this something to be addressed in the future or safari just being safari and weird for its own purposes? Because it is actually really convenient to have an auto generated gain node passed around with bufferSourceNode.



Thanks,
Omer

Received on Monday, 27 April 2020 18:08:34 UTC