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

Hi every now i can detect only one key from piano how can I detect more than one key please suggest me thank you #22

Open
anndream opened this issue Mar 7, 2021 · 1 comment

Comments

@anndream
Copy link

anndream commented Mar 7, 2021

from file
https://github.com/ditek/MidiSheetMusic-Android/blob/master/app/src/main/java/com/midisheetmusic/MidiHandlingActivity.java

...
@OverRide
public void onMidiNoteOn(@nonnull MidiInputDevice midiInputDevice, int i, int i1, int note, int velocity) {
OnMidiNote(note, true);
}
.....

how to detect more one key please suggession me thank

@ditek
Copy link
Owner

ditek commented Mar 21, 2021

Thanks for reporting. It's a known issue, but I haven't had the time to look into. The way we handle key presses probably needs to be improved

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

2 participants