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

Improve timing of step sequencer #12

Open
hamoid opened this issue Feb 22, 2016 · 1 comment
Open

Improve timing of step sequencer #12

hamoid opened this issue Feb 22, 2016 · 1 comment
Assignees

Comments

@hamoid
Copy link
Collaborator

hamoid commented Feb 22, 2016

Don't use frameCount, but millis(). Otherwise beats are skipped and the rhythm is irregular. Think of a better approach for beat timing.

@hamoid hamoid self-assigned this Feb 22, 2016
@hamoid
Copy link
Collaborator Author

hamoid commented Feb 23, 2016

Now using millis(), but not good enough because the check only happens on draw(). We need to set a proper timer, and probably use thread synchronization to avoid errors.

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

No branches or pull requests

1 participant