Tree-Axis ``` Processing  


Back  
Name  

FadeOut

   
Examples  
// Example by Krister Olsson

import krister.Ess.*;

AudioChannel myChannel;
FadeOut myFadeOut;

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

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

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

  // fade out 
  myFadeOut=new FadeOut();
  
  myFadeOut.filter(myChannel);

  // play
  myChannel.play();
}

void draw() {
}

// we are done, clean up Ess

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


Description   The FadeOut class is used to create filters that fade samples from full volume to silence
   
   
Constructors  
FadeOut()
FadeOut(curve)
   
Parameters  
curve   Ess.LINEAR (the default), Ess.SLOW, or Ess.FAST

   
Usage   Web & Application
   
 
 






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


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