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

How to use black keys? (sharp/flat) #5

Open
hi2u opened this issue Sep 15, 2019 · 1 comment
Open

How to use black keys? (sharp/flat) #5

hi2u opened this issue Sep 15, 2019 · 1 comment

Comments

@hi2u
Copy link

hi2u commented Sep 15, 2019

README.md shows how to specify events for white piano keys, e.g.

MidiNoteOnA4:

How do we do this for black piano keys? i.e. sharp and flat notes.

@pacobyte
Copy link

In case you haven't already figured this out by now, judging by the code, it appears it will only currently work by specifying the black keys as their sharps.

MidiNoteOnA#4:

Since flats aren't supported, simply use their sharp equivalents, e.g. A#4 instead of Bb4.

I haven't tested this as I don't use this library.

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