Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AudioListener / draw() synchronization #1

Open
uPaymeiFixit opened this issue Aug 10, 2015 · 0 comments
Open

AudioListener / draw() synchronization #1

uPaymeiFixit opened this issue Aug 10, 2015 · 0 comments
Assignees
Labels

Comments

@uPaymeiFixit
Copy link
Owner

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

@uPaymeiFixit uPaymeiFixit self-assigned this Aug 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant