Music visualizer with system sound

Within this example: Creating a Music Visualizer | Learn PlayCanvas
I want to alter this:

var slot = this.entity.sound.slot("track");
    slot.setExternalNodes(this.analyser);
  • to read the ftt-size (by this.analyser) on system audio.
    {as such change the “this.entity.sound.slot(“track”);” to something like “this.entity.sound.system;”
    ->> I do find a built-in apistring called “.system”, but cannot make it work as being the audio stream?}

In the project: PlayCanvas | HTML5 Game Engine

  • I want to console.log: "Just output data values: " + values [from ‘system’]