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

Recognise key declarations to automatically set accidentals #600

Merged
merged 21 commits into from
Jan 26, 2023

Conversation

no-chris
Copy link
Owner

@no-chris no-chris commented Jan 25, 2023

https://chordmark.netlify.app/docs/reference/keys

breaking: removed harmonizeAccidentals flag

#v
key C#m
C#m7 G#7
_ What will you do when you get _lonely?
C#m7.. C. D. E.. E7..
_No one _waiting _by your _side _
F#m.. B.. E.. A..
_You've been _runnin' and _hiding much too _long
%
_You know it's _just your foolish _pride

#c
key Dm
Dm.. Bb..
Layla_
C.. Dm.. Dm.. Bb..
_Got me on my _knees, Layla
%
I'm _beggin' darling _please, Layla
C.. Dm.. Dm.. Bb.. C.. A. C.
_Darling won't you _ease my worried m_ind?

@no-chris no-chris added enhancement New feature or request breaking Breaking changes labels Jan 25, 2023
@no-chris no-chris self-assigned this Jan 25, 2023
@coveralls
Copy link

coveralls commented Jan 25, 2023

Coverage Status

coverage: 100.0%. remained the same
when pulling 96ee9d4 on handle-keys
into a4e1f8d on master.

Copy link
Owner Author

@no-chris no-chris left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also check bug (?) in repeated section when the key declaration is in the section (ex: layla)

add AllKeys property to the parsed object
add accidental property to the KeyDeclaration object
@no-chris no-chris changed the title Handle keys Recognise key declarations to automatically set accidentals Jan 26, 2023
@no-chris no-chris merged commit aa1ecd7 into master Jan 26, 2023
@no-chris no-chris deleted the handle-keys branch January 26, 2023 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Breaking changes enhancement New feature or request
Projects
Status: Archive
Development

Successfully merging this pull request may close these issues.

2 participants