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

Issue 40720060: Automatically unfold percent and tremolo repeats in MIDI output. (issue 769)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 4 months ago by Devon Schudy
Modified:
10 years, 4 months ago
Reviewers:
Keith, dak
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

Automatically unfold percent and tremolo repeats in MIDI output. (issue 769) Tremolo durations are now scaled when iterating, not when they're created, so the original body is intact for unfolding. This also means unfold-repeats and display methods no longer need to undo the scaling. Tremolo spanners are now built in Scheme, not C++. shift-duration-log now clears the cached length, since it changes the length. \shiftDurations no longer duplicates shift-duration-log. Open question: can we get rid of the tremolo-type property and just calculate it when making the spanner?

Patch Set 1 #

Patch Set 2 : Tremolo cleanups removed to a separate patch. Remove unused midiUnfoldRepeats. #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -26 lines) Patch
M lily/chord-tremolo-iterator.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M lily/include/repeated-music.hh View 1 chunk +3 lines, -0 lines 0 comments Download
M lily/percent-repeat-iterator.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M lily/repeated-music.cc View 2 chunks +43 lines, -0 lines 3 comments Download
M lily/unfolded-repeat-iterator.cc View 2 chunks +2 lines, -26 lines 0 comments Download

Messages

Total messages: 8
Keith
I think I like the approach. Right now, we can \score { \music \layout{} } ...
10 years, 4 months ago (2013-12-21 06:43:25 UTC) #1
Devon Schudy
Tremolo cleanups removed to a separate patch. Remove unused midiUnfoldRepeats.
10 years, 4 months ago (2013-12-21 07:10:35 UTC) #2
dak
Keith comments: > The other limitation of \unfoldRepeats is that it fails to see repeats ...
10 years, 4 months ago (2013-12-21 08:23:05 UTC) #3
Keith
On Sat, 21 Dec 2013 00:23:05 -0800, <dak@gnu.org> wrote: > Keith comments: >> The other ...
10 years, 4 months ago (2013-12-22 07:01:10 UTC) #4
dak
On 2013/12/22 07:01:10, Keith wrote: > On Sat, 21 Dec 2013 00:23:05 -0800, <mailto:dak@gnu.org> wrote: ...
10 years, 4 months ago (2013-12-22 08:07:00 UTC) #5
Devon Schudy
Unfolding during iteration doesn't extend well to voltas, because it changes their length. Even if ...
10 years, 4 months ago (2013-12-22 19:46:09 UTC) #6
Keith
On Sun, 22 Dec 2013 11:45:49 -0800, Devon Schudy <dschudy@gmail.com> wrote: > Unfolding during iteration ...
10 years, 4 months ago (2013-12-22 22:01:25 UTC) #7
dak
10 years, 4 months ago (2013-12-22 22:41:00 UTC) #8
On 2013/12/22 22:01:25, Keith wrote:
> On Sun, 22 Dec 2013 11:45:49 -0800, Devon Schudy <mailto:dschudy@gmail.com>
wrote:
> 
> > Unfolding during iteration doesn't extend well to voltas, because it
> > changes their length. Even if the length is updated, the old length
> > has already been used by the parent iterator to compute moments for
> > subsequent events. So unless this can be changed,
> 
> Okay.  That eager evaluation of lengths by the iterators also frustrated my
> attempt at a \RestUntil function (to fill the tuba part, for example, with
rests
> until the next tempo change) so we might change that someday.

The lyric-combine-music-iterator seems to get along with that
preevaluation just fine, doesn't it?  Well, at least if one wants to
call what it does "just fine": no idea whether things like
http://code.google.com/p/lilypond/issues/detail?id=2010 could be due
to that.
Sign in to reply to this message.

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