Tree-Axis ``` Processing  


Back  
Name  

audioChannelDone()

   
Examples  
// Example by Krister Olsson

import krister.Ess.*;

AudioChannel myChannel;

void setup() {
  // start up Ess
  Ess.start(this);

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

void draw() {
}

void audioChannelDone(AudioChannel ch) {
  println("AudioChannel "+ch+" is done playing.");
}

// we are done, clean up Ess

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


Description   Called whenever an AudioChannel has finished playing. Not called when an AudioChannel's stop() or pause() methods are called
   
Syntax  
audioChannelDone(channel)
   
Parameters  
channel   the AudioChannel that has finished playing

   
Returns   nothing
   
Usage   Web & Application
   
 
 






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


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