Tree-Axis ``` Processing  


Back  
Name  

audioOutputPan()

   
Examples  
// Example by Krister Olsson 
 
import krister.Ess.*; 
 
Channel myChannel; 
 
void setup() { 
  // start up Ess 
  Ess.start(this); 
 
  // load "hello.aiff" into a new Channel 
  myChannel=new Channel("hello.aiff"); 
	 
  // play 
  myChannel.play(); 
  
  // pan right over 1 second 
  myChannel.panTo(Ess.RIGHT,1000); 
} 
 
void draw() { 
} 
 
void channelPan(Channel ch) { 
  println("Channel "+ch+" has finished panning."); 
} 
 
// we are done, clean up Ess 
 
public void stop() { 
  Ess.stop(); 
  super.stop(); 
} 
 

Description   Called when an AudioChannel or AudioStream's panTo() thread finishes fading
   
Syntax  
audioOutputPan(output)
   
Parameters  
output   the AudioChannel or AudioStream done panning

   
Returns   nothing
   
Usage   Web & Application
   
 
 






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


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