Skip to content

AudioListener / draw() synchronization  #1

Description

@uPaymeiFixit

I'm not sure yet, but I think the draw() function and AudioListeners may be out of sync.

Consider the scenario:

"update" is called
    BeatDetect was false
AudioListener calls BeatDetect
    BeatDetect returns true
AudioListener calls BeatDetect
    BeatDetect returns false
"update" is called
    BeatDetect was false

The problem is that update never saw that BeatDetect was
true at some point, so it never lights up even though it was.

Research / solutions may include
~/Documents/Processing/libraries/Minim-2.2.0/examples/Advanced/AddAndRemoveAudioListener

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions