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

Issue 3334043: PartCombine: Keep track of the state in the Part_combine_engraver (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 5 months ago by Reinhold
Modified:
8 years, 1 month ago
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

PartCombine: Keep track of the state in the Part_combine_engraver -) Extend iterator to emit events also for apart and together states -) Add a clear-partcombine-event and broadcast it to unused voices to reset the partcombine state This can later on be used to make the engraver print out the texts depending on the previous state, and even for e.g. line breaks or so.

Patch Set 1 #

Total comments: 18
Unified diffs Side-by-side diffs Delta from patch set Stats (+114 lines, -29 lines) Patch
M lily/part-combine-engraver.cc View 3 chunks +25 lines, -11 lines 3 comments Download
M lily/part-combine-iterator.cc View 10 chunks +73 lines, -17 lines 11 comments Download
M scm/define-event-classes.scm View 2 chunks +2 lines, -1 line 0 comments Download
M scm/define-music-types.scm View 3 chunks +14 lines, -0 lines 4 comments Download

Messages

Total messages: 8
Valentin Villenave
Hi Reinhold, I really like where you're going with this! As always, I'm not a ...
13 years, 5 months ago (2010-11-26 23:05:51 UTC) #1
Carl
Looks like a good approach to improve the part combiner to me. Thanks, Carl
13 years, 5 months ago (2010-11-26 23:07:29 UTC) #2
Reinhold
http://codereview.appspot.com/3334043/diff/1/lily/part-combine-iterator.cc File lily/part-combine-iterator.cc (right): http://codereview.appspot.com/3334043/diff/1/lily/part-combine-iterator.cc#newcode69 lily/part-combine-iterator.cc:69: Stream_event *unisono_event_; On 2010/11/26 23:05:51, Valentin Villenave wrote: > ...
13 years, 3 months ago (2011-01-25 17:11:19 UTC) #3
Graham Percival (old account)
Nothing obviously wrong in a regtest comparison, and the code style looks fine to me. ...
13 years, 3 months ago (2011-01-26 19:23:47 UTC) #4
Neil Puttock
http://codereview.appspot.com/3334043/diff/1/lily/part-combine-engraver.cc File lily/part-combine-engraver.cc (right): http://codereview.appspot.com/3334043/diff/1/lily/part-combine-engraver.cc#newcode62 lily/part-combine-engraver.cc:62: if (ev->get_property ("class") == ly_symbol2scm ("clear-partcombine-event")) ev->in_event_class ("clear-partcombine-event") http://codereview.appspot.com/3334043/diff/1/lily/part-combine-engraver.cc#newcode65 ...
13 years, 2 months ago (2011-02-09 23:26:40 UTC) #5
Keith
I know you haven't added any new functionality yet, but I checked that the part ...
13 years, 2 months ago (2011-02-10 08:44:51 UTC) #6
Graham Percival (old account)
It would be nice if Neil's concerns could be addressed and we could move forward ...
12 years, 10 months ago (2011-06-21 09:27:28 UTC) #7
Reinhold
12 years, 10 months ago (2011-06-21 09:51:11 UTC) #8
On 2011/06/21 09:27:28, Graham Percival wrote:
> It would be nice if Neil's concerns could be addressed and we could move
forward
> with this patch.

Actually, that patch by itself it not that useful as it might first look. Its
main purpose is to make it possible to print the a2/Solo I/Solo II texts after a
linebreak again. Unfortunately, I don't know how to create those part combine
texts after a line break, so pushing this patch right now is not that useful.

What makes the problem so complicated is that the texts after a line break
should NOT in general be printed at the begin of each system, but on the first
note of the new system. I have no idea how this can be achieved.
Sign in to reply to this message.

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