Skip to content

Instantly share code, notes, and snippets.

Revisions

  1. notepadwebdev created this gist Nov 21, 2016.
    7 changes: 7 additions & 0 deletions Creating an analyser node with Pizzicato.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    // Create Analyser
    this.analyser = Pizzicato.context.createAnalyser();
    this.analyser.fftSize = 1024;
    this.bufferLength = this.analyser.frequencyBinCount;
    this.dataArray = new Uint8Array(this.bufferLength);

    this.LPF.connect(this.analyser);