Skip to content

Instantly share code, notes, and snippets.

@stan229
Created December 10, 2012 22:49
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stan229/4254053 to your computer and use it in GitHub Desktop.
Save stan229/4254053 to your computer and use it in GitHub Desktop.
preEQ
this.gainNode = this.ac.createGainNode();
this.lowEQ = this.ac.createBiquadFilter();
this.midEQ = this.ac.createBiquadFilter();
this.highEQ = this.ac.createBiquadFilter();
this.lowEQ.type = 3;
this.midEQ.type = 5;
this.highEQ.type = 4;
this.source.connect(this.gainNode);
this.gainNode.connect(this.lowEQ);
this.lowEQ.connect(this.midEQ);
this.midEQ.connect(this.highEQ);
this.highEQ.connect(this.ac.destination);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment