Tree-Axis ``` Processing  


Back  
Class   HighShelf
   
Name  

gain

   
Examples  
// Example by Krister Olsson

import krister.Ess.*;

AudioChannel myChannel;
HighShelf myHighShelf;

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 high shelf filter
  myHighShelf=new HighShelf(960,-20);
  
  myHighShelf.filter(myChannel);
  
  // apply a second high shelf filter
  myHighShelf.frequency=4000;
  myHighShelf.gain=40;
  
  myHighShelf.filter(myChannel);

  // play
  myChannel.play();
}

void draw() {
}

// we are done, clean up Ess

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


Description   The boost/cut volume in decibels
   
Syntax  
highshelf.gain
   
Parameters  
highshelf   any instance of HighShelf

   
Usage   Web & Application
   
 
 






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


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