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

Bugfix to allow playing 2 different samples which map to the same value in KeyEnum #286

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

DeannaGelbart
Copy link

This bugfix allows playing e.g. the first bongo (A key) and the first piano key (1 key) at the same time. Previously you could only play one or the other at a time because they map to the same value in KeyEnum.

@DeannaGelbart
Copy link
Author

Oh, there is already a PR for this

@DeannaGelbart DeannaGelbart deleted the fix-simultaneous-play-bug branch May 24, 2021 01:26
@DeannaGelbart DeannaGelbart restored the fix-simultaneous-play-bug branch May 24, 2021 08:46
@DeannaGelbart
Copy link
Author

I closed this because I thought it duplicated another open PR, but later looking at the diffs I saw I took a different approach (changing the pressed array to store a tag while the other PR removes the pressed array). So I'm re-opening it.

@DeannaGelbart DeannaGelbart reopened this May 24, 2021
@DeannaGelbart
Copy link
Author

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

Successfully merging this pull request may close these issues.

None yet

1 participant