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

A few ChordSymbol fixes #1702

Merged

Conversation

gregchapman-dev
Copy link
Contributor

(was 'Bbpedal', should be 'B-pedal')

@coveralls
Copy link

coveralls commented Apr 3, 2024

Coverage Status

coverage: 93.029% (-0.003%) from 93.032%
when pulling 28cfa0f on gregchapman-dev:gregc/pedalChordFigureFix
into d33ca3c on cuthbertLab:master.

@gregchapman-dev
Copy link
Contributor Author

I did modify one test to actually test that the new code did the right thing. But it's on the same line as before, which was already tested, so no coverage change.

@gregchapman-dev
Copy link
Contributor Author

Added another fix: CHORD_TYPES['Neapolitan'] had '1,2-,3,5-' but should be '1,-2,3,-5'.

…o an add. I'm assuming this is what "should we throw an exception???? for now yes, but maybe later we should" is referring to.
@gregchapman-dev gregchapman-dev changed the title Pedal chord was getting the wrong root string in its figure A few ChordSymbol fixes Apr 17, 2024
@gregchapman-dev
Copy link
Contributor Author

Third fix: when applying ChordSymbol modifications, if a modification is an 'alter' for a degree not in the ChordSymbol, turn it into an 'add' instead (and apply it).

@mscuthbert
Copy link
Member

Ah, this was leftover from an early version of ChordSymbol where b was used instead of -. Just fixed a doc that also referenced the old way. Will merge when tests pass.

@mscuthbert mscuthbert merged commit 5b3b9f6 into cuthbertLab:master Apr 25, 2024
7 checks passed
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.

3 participants