lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Analysis brackets with text [was: how to get notes without tails?]


From: David Nalesnik
Subject: Re: Analysis brackets with text [was: how to get notes without tails?]
Date: Tue, 1 Sep 2015 19:10:51 -0500



On Tue, Sep 1, 2015 at 4:01 PM, Paul Morris <address@hidden> wrote:
Hi David,

On Aug 31, 2015, at 8:20 AM, David Nalesnik <address@hidden> wrote:

Which of course makes them unsuitable for showing phrase elision.
Or longer overlaps:

%%%%

 \relative c'' {
  c\startGroup d c\startGroup d\stopGroup c d\stopGroup
}

\layout {
  \context {
    \Voice
    \override HorizontalBracket.direction = #UP
    \consists Horizontal_bracket_engraver
  }
}

%%%%

The first \stopGroup closes the smaller grouping, because the system is designed so that brackets nest cleanly.

Interestingly, this overlap is possible with slurs:

%%%%%

\version "2.19.25"

secondSlur = #(make-music 'SlurEvent 'span-direction START 'spanner-id "2")
secondEnd = #(make-music 'SlurEvent 'span-direction STOP 'spanner-id "2")

\relative c'' {
  c( d c\secondSlur d) c d\secondEnd
}

%%%%%%

This, too:

%%%%

thirdSlur = #(make-music 'SlurEvent 'span-direction START 'spanner-id "3")
thirdEnd = #(make-music 'SlurEvent 'span-direction STOP 'spanner-id "3")

\relative c'' {
  c-\tweak Slur.positions #'(4 . 4) ( \secondSlur
  c\secondEnd\secondSlur -\tweak Slur.positions #'(3 . 3)\thirdSlur
  c\secondEnd\secondSlur
  c)\secondEnd\thirdEnd
  c( d c\secondSlur d) c d\secondEnd
}

%%%

Maybe a system could be devised where brackets nest by default, but a spanner-id property can be used to create more sophisticated structures?

David


reply via email to

[Prev in Thread] Current Thread [Next in Thread]