updateVisualiser(){
    if((this.soundDataArray === undefined) === false){
      this.analyser.getByteFrequencyData(this.soundDataArray);
    }
    
    this.updateBarHeights();
    
    this.updateRequests++;

    if (this._audioPlayerElement != undefined){
      this._paused = this._audioPlayerElement.paused;
    }
  }
/**
   * Gets the latest frequency data into the soundDataArray.
   * Calls updateBars to update the contents of the bars array.
   * Updates whether the music visualiser is paused, 
   * if the user has manually paused using the audio element control UI.
   */
Gets the latest frequency data into the soundDataArray.
Calls updateBars to update the contents of the bars array.
Updates whether the music visualiser is paused,
if the user has manually paused using the audio element control UI.
Gets the latest frequency data into the soundDataArray . Calls updateBars to update the contents of the bars array . Updates whether the music visualiser is paused if the user has manually paused using the audio element control UI .
updateVisualiser(){
    if((this.soundDataArray === undefined) === false){
      this.analyser.getByteFrequencyData(this.soundDataArray);
    }
    this.updateBarHeights();
    this.updateRequests++;
    if (this._audioPlayerElement != undefined){
      this._paused = this._audioPlayerElement.paused;
    }
  }
updateVisualiser ( ) { if ( ( this . soundDataArray === undefined ) === false ) { this . analyser . getByteFrequencyData ( this . soundDataArray ) ; } this . updateBarHeights ( ) ; this . updateRequests ++ ; if ( this . _audioPlayerElement != undefined ) { this . _paused = this . _audioPlayerElement . paused ; } }
Gets the latest frequency data into the soundDataArray.
Gets the latest frequency data into the soundDataArray .