Skip to content

.isPlaying() always returns true#39

@aidanhasaknife

Description

@aidanhasaknife

.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

importprocessing.sound.*; SoundFilemeow; voidsetup(){meow = newSoundFile(this, "hamburger.wav"); meow.play()} voiddraw(){if(meow.isPlaying() == true){println("playing")} else{println("not playing")} }

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions