-
Notifications
You must be signed in to change notification settings - Fork 59
Open
Description
as per title, .isPlaying() always returns integer 1 even after the SoundFile has ended. In the following code, the else is never executed. Processing 3.3.7, sound library version 1.4.0
import processing.sound.*;
SoundFile f;
void setup() {
f = new SoundFile(this, "/samples/sample02.mp3");
f.play();
}
void draw() {
if(f.isPlaying() == 1)
println("playing: " + f.isPlaying());
else
println("ended " + f.isPlaying());
}
Metadata
Metadata
Assignees
Labels
No labels