// Example by Krister Olsson
import krister.Ess.*;
void setup() {
size(256,200);
// start up Ess
Ess.start(this);
}
void draw() {
}
// we are done, clean up Ess
public void stop() {
Ess.stop();
super.stop();
}
Description
Starts up Ess. Must be called before anything else. A sound engine can be passed and if available, Ess will render audio to that engine. NOTE: Currently sound can only be rendered to Ess.JAVASOUND
Syntax
Ess.start(parent)
Ess.start(parent, engine)
Parameters
parent
PApplet: typically "this"
engine
the sound engine to use: Ess.JAVASOUND or Ess.COREAUDIO. Default is Ess.JAVASOUND