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

Fix #1382: Simplify ChordBase duration creation #1691

Merged
merged 1 commit into from
Apr 25, 2024

Conversation

TimFelixBeyer
Copy link
Contributor

Fixes #1382. Had a look at the mentioned thread and found that the duration code can indeed be simplified a bit.
Chords basically have two ways of setting their duration.
Either the duration is specified explicitly in the keywords of the constructor (via duration, type, or quarterLength), or it must be inferred from the notes contained in the chord (via _add_core_or_init).

@TimFelixBeyer TimFelixBeyer changed the title Simplify ChordBase duration creation Fix #1382: Simplify ChordBase duration creation Feb 27, 2024
@coveralls
Copy link

coveralls commented Feb 27, 2024

Coverage Status

coverage: 93.031% (-0.001%) from 93.032%
when pulling 80adf72 on TimFelixBeyer:patch-13
into 809ba9d on cuthbertLab:master.

@mscuthbert
Copy link
Member

Closing and reopening to get a clean lint. Approved! THANKS!

@mscuthbert mscuthbert closed this Apr 25, 2024
@mscuthbert mscuthbert reopened this Apr 25, 2024
@mscuthbert mscuthbert merged commit f82a14e into cuthbertLab:master Apr 25, 2024
12 of 13 checks passed
@TimFelixBeyer TimFelixBeyer deleted the patch-13 branch May 2, 2024 06:39
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.

Check Chord duration creation
3 participants