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

Notes get "stuck" #1

Open
robomex opened this issue Apr 22, 2022 · 0 comments
Open

Notes get "stuck" #1

robomex opened this issue Apr 22, 2022 · 0 comments

Comments

@robomex
Copy link
Owner

robomex commented Apr 22, 2022

Sometimes, typically when releasing multiple keys on the connected synthesizer at the same moment, SwiftUI's .onChange(of:) is called on the same frame – resulting in one of those calls not being executed. This results in a note's visualization to get "stuck on" even though the key is no longer being pressed and the note is no longer being played.

The "I'm going to ignore this" fix in place is the stuck key will be released on a subsequent release of that same key.

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

No branches or pull requests

1 participant