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

Issue 4080057: Beam collision engraver (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 3 months ago by MikeSol
Modified:
13 years, 1 month ago
Reviewers:
Neil Puttock
Visibility:
Public.

Description

Beam collision engraver

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+179 lines, -0 lines) Patch
M lily/beam.cc View 1 chunk +1 line, -0 lines 0 comments Download
A lily/beam-collision-engraver.cc View 1 chunk +175 lines, -0 lines 0 comments Download
M ly/engraver-init.ly View 1 chunk +1 line, -0 lines 0 comments Download
M scm/define-grob-properties.scm View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 1
Neil Puttock
13 years, 2 months ago (2011-02-07 22:49:38 UTC) #1
Hi Mike,

As I suggested previously, you don't need the hack to remove automatic beams:
just acknowledge manual beams instead.  Han-Wen gave some pointers how you'd do
this: use Grob_info::event_cause () to check for a BeamEvent (using the macro
in_event_class ())

BTW, currently you're acknowledging chord tremolo beams (though if you implement
the above they would be filtered out).  Though this might be useful for
accidental avoidance, it will break down for tremolos with more than two notes
due to multiple announce_end_grob () calls in chord-tremolo-engraver.cc.

Cheers,
Neil
Sign in to reply to this message.

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