[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Add tab-tie-follow-engraver (issue2723043)
From: |
marc |
Subject: |
Re: Add tab-tie-follow-engraver (issue2723043) |
Date: |
Sun, 28 Nov 2010 15:42:47 +0000 |
Just some remarks about the harmonic detection.
Regards,
Marc
http://codereview.appspot.com/2723043/diff/109001/scm/tablature.scm
File scm/tablature.scm (right):
http://codereview.appspot.com/2723043/diff/109001/scm/tablature.scm#newcode296
scm/tablature.scm:296: (harmonic (eq? (ly:grob-property grob 'style #f)
'harmonic))
I am not sure whether this approach is sane enough;
I would at least include mixed-harmonic, too.
When I worked on this, I used a different function:
(define (is-harmonic? grob)
(let ((articulations (ly:event-property (event-cause grob)
'articulations))
(harmonic-found #f))
(for-each (lambda (art)
(if (ly:in-event-class? art 'harmonic-event)
(set! harmonic-found #t)))
articulations)
harmonic-found))
This seems to work regardless of the user's choice of
harmonic display style.
http://codereview.appspot.com/2723043/
- Re: Add tab-tie-follow-engraver (issue2723043), (continued)
Re: Add tab-tie-follow-engraver (issue2723043), Marc Hohl, 2010/11/13
Re: Add tab-tie-follow-engraver (issue2723043), n . puttock, 2010/11/16
Re: Add tab-tie-follow-engraver (issue2723043), Carl . D . Sorensen, 2010/11/26
Re: Add tab-tie-follow-engraver (issue2723043), marc, 2010/11/27
Re: Add tab-tie-follow-engraver (issue2723043), Carl . D . Sorensen, 2010/11/27
Re: Add tab-tie-follow-engraver (issue2723043),
marc <=
Re: Add tab-tie-follow-engraver (issue2723043), n . puttock, 2010/11/28
Re: Add tab-tie-follow-engraver (issue2723043), Carl . D . Sorensen, 2010/11/28