Tree-Axis ``` Processing  


Back  
Name  

EQ

   
Examples  
// Example by Krister Olsson

import krister.Ess.*;

AudioChannel myChannel;
EQ myEQ;
Normalize myNormalize;

void setup() {
  size(256,200);

  // start up Ess
  Ess.start(this);

  // load "cell.aif" into a new AudioChannel
  myChannel=new AudioChannel("cell.aif");

  // apply an EQ filter
  myEQ=new EQ(960,-20,1);
  
  myEQ.filter(myChannel);

  // normalize
  myNormalize=new Normalize();
  
  myNormalize.filter(myChannel);

  // play
  myChannel.play();
}

void draw() {
}

// we are done, clean up Ess

public void stop() {
  Ess.stop();
  super.stop();
}


Description   The EQ class is used to create single-band parametric EQ filters. A parametric EQ filter allows the creation of notches or peaks without influencing nearby frequencies
   
   
Constructors  
EQ(frequency, gain, q)
   
Parameters  
frequency   float: the center frequency

gain   float: the boost/cut volume in decibels

q   float: the sharpness of response. The greater the q value, this sharper the filter

   
Usage   Web & Application
   
 
 






   
 
Updated: Tue May 31 04:52:38 PDT 2006


 
  Questions, comments, corrections: e-mail Krister Olsson.