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

Implement TupletSpellingSpecifier.preferred_denominator #719

Merged
merged 3 commits into from
Jul 4, 2016

Conversation

josiah-wolf-oberholtzer
Copy link
Member

@josiah-wolf-oberholtzer josiah-wolf-oberholtzer commented Jul 4, 2016

Recall that Tuplet.preferred_denominator has existed for a long time.

OLD. TupletSpellingSpecifier implemented no preferred_denominator property.
This meant that most rhythm-makers were unable to access the
Tuplet.preferred_denominator property. (The exception was the
TupletRhythmMaker.preferred_denominator property, which was implemented only on
TupletRhythmMaker).

NEW. TupletSpellingSpecifier.preferred_denominator now exists. This means that
all rhythm-makers will be able to access the Tuplet.preferred_denominator
property. Note that as of this commit, only TupletRhythmMaker has integrated
the TupletSpellingSpecifier.preferred_denominator property.

Note that a future commit will be a breaking commit that will remove the old
TupletRhythmMaker.preferred_denominator poperty in favor of the new
TupletSpellingSpecifier.preferred_denominator property.

OLD. Method worked only with FixedDurationTuplet objects.

NEW. Method works with FixedDurationTuplet objects and Tuplet objects.

No change to public functionality.
Recall that Tuplet.preferred_denominator has existed for a long time.

OLD. TupletSpellingSpecifier implemented no preferred_denominator property.
This meant that most rhythm-makers were unable to access the
Tuplet.preferred_denominator property. (The exception was the
TupletRhythmMaker.preferred_denominator property, which was implemented only on
TupletRhythmMaker).

NEW. TupletSpellingSpecifier.preferred_denominator now exists. This means that
all rhythm-makers will be able to access the Tuplet.preferred_denominator
property. Note that as of this commit, only TupletRhythmMaker has integrated
the TupletSpellingSpecifier.preferred_denominator property.

Note that a future commit will be a breaking commit that will remove the old
TupletRhythmMaker.preferred_denominator poperty in favor of the new
TupletSpellingSpecifier.preferred_denominator property.
You can now use the TupletSpellingSpecifier.preferred_denominator property in
all rhythm-makers.

NEW. Functionality can be included in release notes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants