Tree-Axis ``` Processing  


Back  
Name  

LowShelf

   
Examples  
// Example by Krister Olsson

import krister.Ess.*;

AudioChannel myChannel;
LowShelf myLowShelf;

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

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

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

  // apply a low shelf filter
  myLowShelf=new LowShelf(960,-20);
  
  myLowShelf.filter(myChannel);

  // play
  myChannel.play();
}

void draw() {
}

// we are done, clean up Ess

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


Description   The LowShelf class is used to create low shelf filters. A low shelf filter boosts or cuts frequencies below a cutoff frequency, and passes frequencies above the cutoff with no change made to gain. Use this filter to enhance or diminish low frequencies present in a sound
   
   
Constructors  
LowShelf(frequency, gain)
   
Parameters  
frequency   float: the cutoff frequency

gain   float: the boost/cut volume in decibels

   
Usage   Web & Application
   
 
 






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


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