cassette processing reference code example
Example: processing library cassette
import cassette.audiofiles.SoundFile;
SoundFile sound;
void setup()
{
sound = new SoundFile(this, "sound.wav");
}
void draw()
{
if(playSound)
{
sound.Play();
}
}