Tree-Axis ``` Processing  


Back  
Class   AudioChannel
   
Name  

out

   
Examples  
// Example by Krister Olsson

import krister.Ess.*;

AudioChannel myChannel;

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

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

  // load "cell.aif" into a new AudioChannel
  myChannel=new AudioChannel("cell.aif");
  
  // set the out loop point to 3 seconds
  myChannel.out(myChannel.frames(3000));
  
  // start the sound looping forever
  myChannel.play(Ess.FOREVER);

  // print the location of the out loop point
  println(myChannel.out);
}

void draw() {
}

// we are done, clean up Ess

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


Description   Contains the sample frame location of an AudioChannel's out loop point
   
Syntax  
channel.out
   
Parameters  
channel   any instance of AudioChannel

   
Usage   Web & Application
   
 
 






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


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