[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lilypond-auto] Issue 2717 in lilypond: Implement \single, \omit and
From: |
lilypond |
Subject: |
Re: [Lilypond-auto] Issue 2717 in lilypond: Implement \single, \omit and \hide |
Date: |
Mon, 24 Sep 2012 11:03:34 +0000 |
Updates:
Labels: -Patch-needs_work Patch-new
Comment #31 on issue 2717 by address@hidden: Implement \single, \omit and \hide
http://code.google.com/p/lilypond/issues/detail?id=2717#c31
Issue 2717: Implement \single, \omit and \hide
\omit StringNumber would be equivalent to
\override StringNumber #'stencil = ##f,
\hide StringNumber would be equivalent to
\override StringNumber #'transparent = ##t
and something like \single\omit StringNumber \3 would be equivalent to
\tweak StringNumber #'stencil ##f \3
\single can, like \once, translate larger override sets like \voiceOne
into a tweak, so you can use things like \single\voiceOne c4 .
The disadvantage of this particular approach is that with
\single\omit StringNumber \3 you still need to be specific about the
grob you want to see erased, even though \3 would sufficiently provide
that information. It would be conceivable to allow
\single\omit \default \3
for that, by letting \erase \default create something that does not
actually work in music but is understood by \single, but that does not
seem all too satisfactory either.
The advantage is that this makes most overrides in ly/property-init.ly
available as tweaks.
http://codereview.appspot.com/6495135
- Re: [Lilypond-auto] Issue 2717 in lilypond: Implement \single, \omit and \hide, lilypond, 2012/09/20
- Re: [Lilypond-auto] Issue 2717 in lilypond: Implement \single, \omit and \hide, lilypond, 2012/09/24
- Message not available
- Re: [Lilypond-auto] Issue 2717 in lilypond: Implement \single, \omit and \hide, lilypond, 2012/09/24
- Message not available
- Re: [Lilypond-auto] Issue 2717 in lilypond: Implement \single, \omit and \hide, lilypond, 2012/09/24
- Message not available
- Re: [Lilypond-auto] Issue 2717 in lilypond: Implement \single, \omit and \hide,
lilypond <=
- Message not available
- Re: [Lilypond-auto] Issue 2717 in lilypond: Implement \single, \omit and \hide, lilypond, 2012/09/24
- Message not available
- Re: [Lilypond-auto] Issue 2717 in lilypond: Implement \single, \omit and \hide, lilypond, 2012/09/24
- Message not available
- Re: [Lilypond-auto] Issue 2717 in lilypond: Implement \single, \omit and \hide, lilypond, 2012/09/25
Re: [Lilypond-auto] Issue 2717 in lilypond: Implement \single, \omit and \hide, lilypond, 2012/09/26