-
-
Notifications
You must be signed in to change notification settings - Fork 51
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
.isPlaying() always returns true, even after the SoundFile has ended. In the following code, the else is never executed. Processing 3.5,3 Processing Sound Library 2.2.0
import processing.sound.*;
SoundFile meow;
void setup() {
meow = new SoundFile(this, "hamburger.wav");
meow.play();
}
void draw() {
if(meow.isPlaying() == true)
{
println("playing");
} else
{
println("not playing");
}
}
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working