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

Issue 186189: Fix #189: Episema over single neume. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 3 months ago by Neil Puttock
Modified:
14 years, 1 month ago
Reviewers:
hanwenn
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

Fix #189: Episema over single neume. * add Episema_engraver (based on Text_spanner_engraver) which listens to EpisemaEvent and creates Episema spanner * set NoteHeads as 'side-support-elements so spanner can be quantized over neume/melisma * ensure episema doesn't extend past bound items by setting NoteColumns as spanner bounds * add regression test

Patch Set 1 #

Patch Set 2 : Tie up some loose ends. #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+242 lines, -34 lines) Patch
M Documentation/notation/ancient.itely View 1 2 chunks +14 lines, -9 lines 0 comments Download
M input/regression/display-lily-tests.ly View 1 chunk +1 line, -0 lines 0 comments Download
A input/regression/episema.ly View 1 1 chunk +16 lines, -0 lines 0 comments Download
A lily/episema-engraver.cc View 1 chunk +169 lines, -0 lines 6 comments Download
M ly/engraver-init.ly View 1 4 chunks +3 lines, -21 lines 0 comments Download
M ly/gregorian.ly View 1 2 chunks +1 line, -3 lines 0 comments Download
M ly/spanners-init.ly View 1 chunk +4 lines, -0 lines 0 comments Download
M scm/define-event-classes.scm View 1 1 chunk +1 line, -1 line 0 comments Download
M scm/define-grobs.scm View 1 1 chunk +26 lines, -0 lines 1 comment Download
M scm/define-music-display-methods.scm View 2 chunks +2 lines, -0 lines 0 comments Download
M scm/define-music-types.scm View 1 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 3
hanwenn
lgtm. just a quick look at at the .cc http://codereview.appspot.com/186189/diff/2001/2005 File lily/episema-engraver.cc (right): http://codereview.appspot.com/186189/diff/2001/2005#newcode92 lily/episema-engraver.cc:92: ...
14 years, 2 months ago (2010-02-24 23:11:50 UTC) #1
Neil Puttock
Hi Han-Wen, Thanks for your review. Cheers, Neil http://codereview.appspot.com/186189/diff/2001/2005 File lily/episema-engraver.cc (right): http://codereview.appspot.com/186189/diff/2001/2005#newcode92 lily/episema-engraver.cc:92: announce_end_grob ...
14 years, 2 months ago (2010-02-26 20:19:03 UTC) #2
hanwenn
14 years, 2 months ago (2010-02-26 22:04:46 UTC) #3
On Fri, Feb 26, 2010 at 5:19 PM,  <n.puttock@gmail.com> wrote:

>> what if note_cols is empty?
>
> Hmm, that could be dangerous. :)
>
> If I check for note_columns_.size (), is it worth using
> currentMusicalColumn (which would allow an episema to be typeset over a
> skip)?

that is the usual approach - it may not make sense, but at least it
does not crash.

Or at least, the crash will happen later on :)

-- 
Han-Wen Nienhuys - hanwen@xs4all.nl - http://www.xs4all.nl/~hanwen
Sign in to reply to this message.

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