public ValueTask set_masterGain(GainNode value)
 {
     __masterGain = null;
     return(EventHorizonBlazorInterop.Set(
                this.___guid,
                "masterGain",
                value
                ));
 }
        internal void PlatformInitialize(AudioBuffer buffer)
        {
            _buffer = buffer;
            _state  = SoundState.Stopped;

            _stereoPannerNode = Context.createStereoPanner();
            _pannerNode       = Context.createPanner();
            _gainNode         = Context.createGain();

            _stereoPannerNode.connect(_pannerNode);
            _pannerNode.connect(_gainNode);
            _gainNode.connect(Context.destination);
        }
 public async ValueTask <GainNode> get_masterGain()
 {
     if (__masterGain == null)
     {
         __masterGain = await EventHorizonBlazorInterop.GetClass <GainNode>(
             this.___guid,
             "masterGain",
             (entity) =>
         {
             return(new GainNode()
             {
                 ___guid = entity.___guid
             });
         }
             );
     }
     return(__masterGain);
 }