Tree-Axis ``` Processing  


Back  
Name  

FadeIn

   
Examples  
// Example by Krister Olsson

import krister.Ess.*;

AudioChannel myChannel;
FadeIn myFadeIn;

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

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

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

  // fade in 
  myFadeIn=new FadeIn();
  
  myFadeIn.filter(myChannel);

  // play
  myChannel.play();
}

void draw() {
}

// we are done, clean up Ess

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


Description   The FadeIn class is used to create filters that fade samples from silence to full volume
   
   
Constructors  
FadeIn()
FadeIn(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.