Skip to content

Conversation

BouncyButton
Copy link

Hi! Thanks a lot for your project!!
I just started using it, but I noticed you haven't implemented a toggle between sharp notes (e.g., C#) and flat versions (e.g., Db).
I haven't found any requests or pull requests already, so here's my attempt -- I'm not a JS developer, so I tried my best.

For the music theorists out there: I chose to implement this by committing the cardinal sin of ignoring edge cases such as B#, Cb, Fb, E#. I prefer favoring legibility over technical correctness. The toggles switches between the following notes:

A# -> Bb
C# -> Db
D# -> Eb
F# -> Gb
G# -> Ab

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.

2 participants