Skip to content

Instantly share code, notes, and snippets.

@stan229
Created December 10, 2012 22:49
Show Gist options
  • Select an option

  • Save stan229/4254053 to your computer and use it in GitHub Desktop.

Select an option

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