generated from pietschj/y4Project_repo
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# The bug: - The sequence: keyDown_a->keyDown_b->keyUp_a - Would fire a phantom keyDown_b while held - Leading to two tones being audible instead of one - As well as bugs with keysHeld Tone.Transport logic # The fix: - Store last keyDown events in an array - Only fire keyDown logic if key does not exist in array - The event bug definitely still happens, but it doesn't affect the app anymore
- Loading branch information
Showing
1 changed file
with
39 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters