Re: [webaudio] gainNode auto creation with safari

Huh. I didn't know Safari had that.  I have a vague memory that this was
part of the original implementation of WebAudio but it was subsequently
removed.
Safari still has the playbackState attribute too, and that I remember very
clearly being removed.

On Mon, Apr 27, 2020 at 11:09 AM Omer Okcuoglu <omer@omerok.com> wrote:

> 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 19:49:56 UTC