Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(33)

Issue 7094044: \tuplet and \tupletSpan to replace \times and tupletSpannerDuration (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 3 months ago by dak
Modified:
11 years, 2 months ago
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

\tuplet and \tupletSpan to replace \times and tupletSpannerDuration Commits in reverse: Run scripts/auxiliar/update-with-convert-ly.sh define-music-display-methods.scm: use \tuplet rather than \times for TimeScaledMusic convertrules.py: substitute \times with \tuplet where appropriate Also convert set/unset of tupletSpannerDuration to \tupletSpan \tuplet and \tupletSpan to replace \times and tupletSpannerDuration \tuplet: Scale the given @var{music} to tuplets. @var{ratio} is a fraction that specifies how many notes are played in place of the nominal value: it will be @samp{3/2} for triplets, namely three notes being played in place of two. If the optional @var{duration} is specified, it is used instead of @code{tupletSpannerDuration} for grouping the tuplets. For example, @example \tuplet 3/2 4 @{ c8 c c c c c @} @end example will result in two groups of three tuplets, each group lasting for a quarter note. \tupletSpan: Set @code{tupletSpannerDuration}, the length into which tuplets are being subdivided. To unset, use a zero duration like @samp{1*0}. If TimeScaledMusic carries a duration, let it override tupletSpannerDuration

Patch Set 1 #

Patch Set 2 : No need for extensive protection while music is protected by iterator #

Total comments: 3

Patch Set 3 : Incorporate results of discussion with Ian #

Total comments: 1

Patch Set 4 : Fix embarrassingly half-baked renaming of duration to tuplet-span #

Patch Set 5 : Deal with 2.17.10 release by updating version numbers #

Total comments: 10

Patch Set 6 : Address Keith's comments, add display test, fix display expression #

Unified diffs Side-by-side diffs Delta from patch set Stats (+876 lines, -795 lines) Patch
M Documentation/cs/learning/common-notation.itely View 1 2 3 4 3 chunks +6 lines, -6 lines 0 comments Download
M Documentation/cs/learning/fundamental.itely View 1 2 3 4 2 chunks +5 lines, -5 lines 0 comments Download
M Documentation/cs/learning/tweaks.itely View 1 2 3 4 3 chunks +9 lines, -9 lines 0 comments Download
M Documentation/cs/usage/lilypond-book.itely View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M Documentation/de/essay/engraving.itely View 1 2 3 4 3 chunks +4 lines, -4 lines 0 comments Download
M Documentation/de/learning/common-notation.itely View 1 2 3 4 3 chunks +6 lines, -6 lines 0 comments Download
M Documentation/de/learning/fundamental.itely View 1 2 3 4 2 chunks +5 lines, -5 lines 0 comments Download
M Documentation/de/learning/tweaks.itely View 1 2 3 4 3 chunks +9 lines, -9 lines 0 comments Download
M Documentation/de/notation/ancient.itely View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M Documentation/de/notation/cheatsheet.itely View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M Documentation/de/notation/fretted-strings.itely View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M Documentation/de/notation/repeats.itely View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M Documentation/de/notation/rhythms.itely View 1 2 3 4 4 chunks +5 lines, -5 lines 0 comments Download
M Documentation/de/notation/spacing.itely View 1 2 3 4 11 chunks +15 lines, -15 lines 0 comments Download
M Documentation/de/notation/vocal.itely View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M Documentation/de/usage/lilypond-book.itely View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M Documentation/es/essay/engraving.itely View 1 2 3 4 3 chunks +4 lines, -4 lines 0 comments Download
M Documentation/es/learning/common-notation.itely View 1 2 3 4 3 chunks +6 lines, -6 lines 0 comments Download
M Documentation/es/learning/fundamental.itely View 1 2 3 4 2 chunks +5 lines, -5 lines 0 comments Download
M Documentation/es/learning/tweaks.itely View 1 2 3 4 3 chunks +9 lines, -9 lines 0 comments Download
M Documentation/es/notation/ancient.itely View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M Documentation/es/notation/cheatsheet.itely View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M Documentation/es/notation/fretted-strings.itely View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M Documentation/es/notation/repeats.itely View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M Documentation/es/notation/rhythms.itely View 1 2 3 4 4 chunks +5 lines, -5 lines 0 comments Download
M Documentation/es/notation/spacing.itely View 1 2 3 4 11 chunks +15 lines, -15 lines 0 comments Download
M Documentation/es/notation/vocal.itely View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M Documentation/es/usage/lilypond-book.itely View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M Documentation/essay/engraving.itely View 1 2 3 4 3 chunks +4 lines, -4 lines 0 comments Download
M Documentation/fr/essay/engraving.itely View 1 2 3 4 3 chunks +4 lines, -4 lines 0 comments Download
M Documentation/fr/learning/common-notation.itely View 1 2 3 4 3 chunks +6 lines, -6 lines 0 comments Download
M Documentation/fr/learning/fundamental.itely View 1 2 3 4 2 chunks +5 lines, -5 lines 0 comments Download
M Documentation/fr/learning/tweaks.itely View 1 2 3 4 3 chunks +9 lines, -9 lines 0 comments Download
M Documentation/fr/notation/ancient.itely View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M Documentation/fr/notation/cheatsheet.itely View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M Documentation/fr/notation/fretted-strings.itely View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M Documentation/fr/notation/repeats.itely View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M Documentation/fr/notation/rhythms.itely View 1 2 3 4 4 chunks +5 lines, -5 lines 0 comments Download
M Documentation/fr/notation/spacing.itely View 1 2 3 4 11 chunks +15 lines, -15 lines 0 comments Download
M Documentation/fr/notation/vocal.itely View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M Documentation/fr/usage/lilypond-book.itely View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M Documentation/hu/learning/common-notation.itely View 1 2 3 4 3 chunks +6 lines, -6 lines 0 comments Download
M Documentation/hu/learning/fundamental.itely View 1 2 3 4 2 chunks +5 lines, -5 lines 0 comments Download
M Documentation/hu/usage/lilypond-book.itely View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M Documentation/it/learning/common-notation.itely View 1 2 3 4 3 chunks +6 lines, -6 lines 0 comments Download
M Documentation/it/learning/fundamental.itely View 1 2 3 4 2 chunks +5 lines, -5 lines 0 comments Download
M Documentation/it/learning/tweaks.itely View 1 2 3 4 3 chunks +9 lines, -9 lines 0 comments Download
M Documentation/it/usage/lilypond-book.itely View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M Documentation/ja/learning/common-notation.itely View 1 2 3 4 3 chunks +6 lines, -6 lines 0 comments Download
M Documentation/ja/learning/fundamental.itely View 1 2 3 4 2 chunks +5 lines, -5 lines 0 comments Download
M Documentation/ja/learning/tweaks.itely View 1 2 3 4 3 chunks +9 lines, -9 lines 0 comments Download
M Documentation/ja/notation/cheatsheet.itely View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M Documentation/ja/notation/fretted-strings.itely View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M Documentation/ja/notation/repeats.itely View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M Documentation/ja/notation/rhythms.itely View 1 2 3 4 4 chunks +5 lines, -5 lines 0 comments Download
M Documentation/ja/notation/spacing.itely View 1 2 3 4 11 chunks +15 lines, -15 lines 0 comments Download
M Documentation/ja/notation/vocal.itely View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M Documentation/ja/usage/lilypond-book.itely View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M Documentation/learning/common-notation.itely View 1 2 3 4 3 chunks +6 lines, -6 lines 0 comments Download
M Documentation/learning/fundamental.itely View 1 2 3 4 2 chunks +5 lines, -5 lines 0 comments Download
M Documentation/learning/tweaks.itely View 1 2 3 4 3 chunks +9 lines, -9 lines 0 comments Download
M Documentation/ly-examples/aucun-snippet.ly View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M Documentation/ly-examples/cary.ly View 1 2 3 4 19 chunks +29 lines, -29 lines 0 comments Download
M Documentation/ly-examples/granados.ly View 1 2 3 4 3 chunks +5 lines, -5 lines 0 comments Download
M Documentation/nl/learning/common-notation.itely View 1 2 3 4 3 chunks +6 lines, -6 lines 0 comments Download
M Documentation/nl/learning/fundamental.itely View 1 2 3 4 2 chunks +5 lines, -5 lines 0 comments Download
M Documentation/nl/learning/tweaks.itely View 1 2 3 4 3 chunks +9 lines, -9 lines 0 comments Download
M Documentation/notation/ancient.itely View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M Documentation/notation/cheatsheet.itely View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M Documentation/notation/fretted-strings.itely View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M Documentation/notation/repeats.itely View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M Documentation/notation/rhythms.itely View 1 2 3 4 4 chunks +5 lines, -5 lines 0 comments Download
M Documentation/notation/spacing.itely View 1 2 3 4 11 chunks +15 lines, -15 lines 0 comments Download
M Documentation/notation/vocal.itely View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M Documentation/snippets/adding-beams,-slurs,-ties-etc.-when-using-tuplet-and-non-tuplet-rhythms.ly View 1 2 3 4 2 chunks +5 lines, -5 lines 0 comments Download
M Documentation/snippets/changing-the-tuplet-number.ly View 1 2 3 4 2 chunks +5 lines, -5 lines 0 comments Download
M Documentation/snippets/controlling-tuplet-bracket-visibility.ly View 1 2 3 4 2 chunks +4 lines, -4 lines 0 comments Download
M Documentation/snippets/creating-a-sequence-of-notes-on-various-pitches.ly View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M Documentation/snippets/entering-several-tuplets-using-only-one--times-command.ly View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M Documentation/snippets/flamenco-notation.ly View 1 2 3 4 6 chunks +10 lines, -10 lines 0 comments Download
M Documentation/snippets/fretted-headword.ly View 1 2 3 4 3 chunks +17 lines, -17 lines 0 comments Download
M Documentation/snippets/inserting-score-fragments-above-a-staff,-as-markups.ly View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M Documentation/snippets/modifying-tuplet-bracket-length.ly View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M Documentation/snippets/new/creating-a-sequence-of-notes-on-various-pitches.ly View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M Documentation/snippets/new/fretted-headword.ly View 1 2 3 4 3 chunks +17 lines, -17 lines 0 comments Download
M Documentation/snippets/non-default-tuplet-numbers.ly View 1 2 3 4 2 chunks +8 lines, -8 lines 0 comments Download
M Documentation/snippets/permitting-line-breaks-within-beamed-tuplets.ly View 1 2 3 4 2 chunks +4 lines, -4 lines 0 comments Download
M Documentation/snippets/preventing-final-mark-from-removing-final-tuplet.ly View 1 2 3 4 3 chunks +7 lines, -7 lines 0 comments Download
M Documentation/snippets/printing-music-with-different-time-signatures.ly View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M Documentation/snippets/proportional-strict-notespacing.ly View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M Documentation/snippets/screech-and-boink.ly View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M Documentation/snippets/unfretted-headword.ly View 1 2 3 4 3 chunks +11 lines, -11 lines 0 comments Download
M Documentation/snippets/vertically-aligning-ossias-and-lyrics.ly View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M Documentation/usage/lilypond-book.itely View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M input/regression/alignment-order.ly View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M input/regression/auto-beam-triplet.ly View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M input/regression/auto-beam-tuplets.ly View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M input/regression/autobeam-tuplet-recheck.ly View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M input/regression/backend-excercise.ly View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M input/regression/beam-extreme.ly View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M input/regression/beam-slope-stemlet.ly View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M input/regression/beam-subdivide-tuplets.ly View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M input/regression/beaming.ly View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M input/regression/beaming-tuplet-regular.ly View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M input/regression/beamlet-test.ly View 1 2 3 4 2 chunks +9 lines, -9 lines 0 comments Download
M input/regression/breathing-sign-ancient.ly View 1 2 3 4 5 chunks +5 lines, -5 lines 0 comments Download
M input/regression/chord-repetition-times.ly View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M input/regression/completion-heads-tuplets.ly View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M input/regression/completion-heads-unit.ly View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M input/regression/display-lily-tests.ly View 1 2 3 4 5 2 chunks +7 lines, -6 lines 0 comments Download
M input/regression/dot-column-engraver.ly View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M input/regression/grace.ly View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M input/regression/lyric-combine.ly View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M input/regression/lyric-combine-switch-voice.ly View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
A input/regression/markup-rest.ly View 0 chunks +-1 lines, --1 lines 0 comments Download
A input/regression/markup-rest-styles.ly View 0 chunks +-1 lines, --1 lines 0 comments Download
M input/regression/markup-score.ly View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M input/regression/metronome-mark-broken-bound.ly View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M input/regression/midi-tuplets.ly View 1 2 3 4 2 chunks +5 lines, -5 lines 0 comments Download
M input/regression/mozart-hrn3-allegro.ily View 1 2 3 4 2 chunks +14 lines, -14 lines 0 comments Download
M input/regression/part-combine-tuplet-end.ly View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M input/regression/part-combine-tuplet-single.ly View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M input/regression/phrasing-slur-tuplet.ly View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M input/regression/quote-tuplet.ly View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M input/regression/quote-tuplet-end.ly View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M input/regression/repeat-slash-mixed.ly View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M input/regression/skiptypesetting-tuplet.ly View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M input/regression/slur-shift-region.ly View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M input/regression/slur-tuplet.ly View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M input/regression/song-reordering.ly View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M input/regression/song-reordering2.ly View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M input/regression/spacing-loose-polyphony.ly View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M input/regression/spacing-multi-tuplet.ly View 1 2 3 4 2 chunks +5 lines, -5 lines 0 comments Download
M input/regression/spacing-proportional.ly View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M input/regression/spacing-strict-notespacing.ly View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M input/regression/spacing-uniform-stretching.ly View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M input/regression/spanner-break-overshoot.ly View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M input/regression/staff-mixed-size.ly View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M input/regression/tablature-full-notation.ly View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M input/regression/tuplet-beam.ly View 1 2 3 4 2 chunks +4 lines, -4 lines 0 comments Download
M input/regression/tuplet-bracket-avoid-fingering.ly View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M input/regression/tuplet-bracket-avoid-scripts.ly View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M input/regression/tuplet-bracket-avoid-string-number.ly View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M input/regression/tuplet-bracket-cross-staff.ly View 1 2 3 4 2 chunks +5 lines, -5 lines 0 comments Download
M input/regression/tuplet-bracket-direction.ly View 1 2 3 4 2 chunks +10 lines, -10 lines 0 comments Download
M input/regression/tuplet-bracket-outside-staff-priority.ly View 1 2 3 4 2 chunks +5 lines, -5 lines 0 comments Download
M input/regression/tuplet-bracket-vertical-skylines.ly View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M input/regression/tuplet-bracket-visibility.ly View 1 2 3 4 2 chunks +4 lines, -4 lines 0 comments Download
M input/regression/tuplet-broken.ly View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M input/regression/tuplet-full-length.ly View 1 2 3 4 2 chunks +5 lines, -5 lines 0 comments Download
M input/regression/tuplet-full-length-extent.ly View 1 2 3 4 1 chunk +4 lines, -4 lines 0 comments Download
M input/regression/tuplet-full-length-note.ly View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M input/regression/tuplet-gap.ly View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M input/regression/tuplet-nest.ly View 1 2 3 4 3 chunks +15 lines, -15 lines 0 comments Download
M input/regression/tuplet-nest-beam.ly View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M input/regression/tuplet-nest-broken.ly View 1 2 3 4 2 chunks +12 lines, -12 lines 0 comments Download
M input/regression/tuplet-no-stems.ly View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M input/regression/tuplet-number-outside-staff-positioning.ly View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M input/regression/tuplet-number-outside-staff-priority.ly View 1 2 3 4 2 chunks +4 lines, -4 lines 0 comments Download
M input/regression/tuplet-number-slur-script.ly View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M input/regression/tuplet-properties.ly View 1 2 3 4 2 chunks +11 lines, -11 lines 0 comments Download
M input/regression/tuplet-rest.ly View 1 2 3 4 2 chunks +9 lines, -9 lines 0 comments Download
M input/regression/tuplet-single-note.ly View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M input/regression/tuplet-slope.ly View 1 2 3 4 1 chunk +8 lines, -8 lines 0 comments Download
M input/regression/tuplet-staffline-collision.ly View 1 2 3 4 2 chunks +5 lines, -5 lines 0 comments Download
M input/regression/tuplet-subdivision.ly View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M input/regression/tuplet-text-different-numbers.ly View 1 2 3 4 2 chunks +4 lines, -4 lines 0 comments Download
M input/regression/tuplet-text-fraction-with-notes.ly View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M input/regression/tuplet-text-note-appended.ly View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M input/regression/tuplets.ly View 1 2 3 4 2 chunks +6 lines, -6 lines 0 comments Download
M lily/tuplet-iterator.cc View 1 1 chunk +10 lines, -5 lines 0 comments Download
M ly/music-functions-init.ly View 1 2 3 4 2 chunks +40 lines, -1 line 0 comments Download
M python/convertrules.py View 1 2 3 4 5 1 chunk +31 lines, -0 lines 0 comments Download
M scm/define-music-display-methods.scm View 1 2 3 4 5 2 chunks +7 lines, -2 lines 0 comments Download

Messages

Total messages: 16
dak
No need for extensive protection while music is protected by iterator
11 years, 3 months ago (2013-01-11 12:27:54 UTC) #1
Ian Hulin (gmail)
This LGTM, but with one really big question: do we really still need \tupletSpan at ...
11 years, 3 months ago (2013-01-12 12:54:25 UTC) #2
dak
On 2013/01/12 12:54:25, Ian Hulin (gmail) wrote: > This LGTM, but with one really big ...
11 years, 3 months ago (2013-01-12 14:51:40 UTC) #3
Ian Hulin (gmail)
OK, let's go with keeping \tupletSpan with a statement that it's not the preferred way ...
11 years, 3 months ago (2013-01-12 15:49:56 UTC) #4
dak
Incorporate results of discussion with Ian
11 years, 3 months ago (2013-01-12 16:05:25 UTC) #5
Trevor Daniels
On 2013/01/12 15:49:56, Ian Hulin (gmail) wrote: > > tuplets specified by the current \tuplet ...
11 years, 3 months ago (2013-01-12 16:16:55 UTC) #6
dak
Fix embarrassingly half-baked renaming of duration to tuplet-span
11 years, 3 months ago (2013-01-12 16:25:22 UTC) #7
dak
On 2013/01/12 16:16:55, Trevor Daniels wrote: > I prefer \tupletSpan \default too, but I don't ...
11 years, 3 months ago (2013-01-12 16:35:17 UTC) #8
Ian Hulin (gmail)
Thanks Trevor, good catch. Have re-drafted the doc-string accordingly. Cheers, Ian https://codereview.appspot.com/7094044/diff/2001/ly/music-functions-init.ly File ly/music-functions-init.ly (right): ...
11 years, 3 months ago (2013-01-12 16:43:42 UTC) #9
Trevor Daniels
On 2013/01/12 16:35:17, dak wrote: > On 2013/01/12 16:16:55, Trevor Daniels wrote: > > > ...
11 years, 3 months ago (2013-01-12 16:59:48 UTC) #10
dak
On 2013/01/12 16:43:42, Ian Hulin (gmail) wrote: > tuplets specified by the current \tuplet command ...
11 years, 3 months ago (2013-01-12 17:56:16 UTC) #11
Ian Hulin (gmail)
LGTM https://codereview.appspot.com/7094044/diff/4003/ly/music-functions-init.ly File ly/music-functions-init.ly (right): https://codereview.appspot.com/7094044/diff/4003/ly/music-functions-init.ly#newcode1372 ly/music-functions-init.ly:1372: ") LGTM
11 years, 3 months ago (2013-01-12 23:22:36 UTC) #12
dak
Deal with 2.17.10 release by updating version numbers
11 years, 3 months ago (2013-01-13 12:56:14 UTC) #13
Keith
https://codereview.appspot.com/7094044/diff/11001/lily/tuplet-iterator.cc File lily/tuplet-iterator.cc (right): https://codereview.appspot.com/7094044/diff/11001/lily/tuplet-iterator.cc#newcode139 lily/tuplet-iterator.cc:139: } lgtm https://codereview.appspot.com/7094044/diff/11001/ly/music-functions-init.ly File ly/music-functions-init.ly (right): https://codereview.appspot.com/7094044/diff/11001/ly/music-functions-init.ly#newcode1376 ly/music-functions-init.ly:1376: Perfect ...
11 years, 3 months ago (2013-01-15 05:09:45 UTC) #14
dak
Address Keith's comments, add display test, fix display expression
11 years, 3 months ago (2013-01-15 12:08:57 UTC) #15
dak
11 years, 3 months ago (2013-01-15 12:09:41 UTC) #16
https://codereview.appspot.com/7094044/diff/11001/ly/music-functions-init.ly
File ly/music-functions-init.ly (right):

https://codereview.appspot.com/7094044/diff/11001/ly/music-functions-init.ly#...
ly/music-functions-init.ly:1376: 
On 2013/01/15 05:09:46, Keith wrote:
> Perfect

Comment or implementation?  I actually like how using \default has impacted code
complexity.

https://codereview.appspot.com/7094044/diff/11001/python/convertrules.py
File python/convertrules.py (right):

https://codereview.appspot.com/7094044/diff/11001/python/convertrules.py#newc...
python/convertrules.py:3490: if (den & (den - 1)) != 0 :
On 2013/01/15 05:09:46, Keith wrote:
>  # if den is a power of two
> A bit too clever to put in with no comment.  Somebody somewhere will have his
> time needlessly wasted figuring this out... me, for example.

I was not actually thinking anybody would ever look at the convert rules ever. 
They are not really active code, and fairly inconsistent overall.  At any rate,
added a comment.

https://codereview.appspot.com/7094044/diff/11001/python/convertrules.py#newc...
python/convertrules.py:3502: return (r"\tupletSpan 1*%d/%d" % (num, den))
On 2013/01/15 05:09:46, Keith wrote:
> It would have been fine to handle all cases this way.

Disagree.  Naturally occuring durations should be handled as such.  1*x/y is a
fallback.

https://codereview.appspot.com/7094044/diff/11001/scm/define-music-display-me...
File scm/define-music-display-methods.scm (right):

https://codereview.appspot.com/7094044/diff/11001/scm/define-music-display-me...
scm/define-music-display-methods.scm:683: "")
On 2013/01/15 05:09:46, Keith wrote:
> I guess you wanted a space  " ")
Here?  No.  The "" is not inside of the string-append at all.  It is the
else-branch of (if span ...

> so you get \tuplet 2/3 4 {...}
> but I don't understand why you used string-append at all.

The space is wrongly prepended rather than appended.  I did it via the format
string instead now.  Turns out that formatting here (after changing
*time-scale*) was the wrong thing to do anyway.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b