code: function LGAudioSource() {
          this.properties = {
              src: "",
              gain: 0.5,
              loop: true,
              autoplay: true,
              playbackRate: 1
          };
  
          this._loading_audio = false;
          this._audiobuffer = null; //points to AudioBuffer with the audio samples decoded
          this._audionodes = [];
          this._last_sourcenode = null; //the last AudioBufferSourceNode (there could be more if there are several sounds playing)
  
          this.addOutput("out", "audio");
          this.addInput("gain", "number");
  
          //init context
          var context = LGAudio.getAudioContext();
  
          //create gain node to control volume
          this.audionode = context.createGain();
          this.audionode.graphnode = this;
          this.audionode.gain.value = this.properties.gain;
  
          //debug
          if (this.properties.src) {
              this.loadSound(this.properties.src);
          }
      }
docs: ****************************************************