[Top][All Lists]

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

Re: Analysis brackets?

From: M Watts
Subject: Re: Analysis brackets?
Date: Sat, 11 Apr 2009 07:23:18 +1000
User-agent: Thunderbird (X11/20081105)

Claudia wrote:
Hi, I need to draw several superimposed -- although not nested --
brackets in order to evidence two
melodic overlapping structures for teaching purposes. Does
anyone knows how to do it?

I've tried Analysis brackets but the groupings are presumed nested
and so, the group openings and
closings are interpreted as in a heap.

I'm looking for something like:
\openGroup1 c d e f \openGroup2 g a b c \closeGroup1 d e fis g \closeGroup2

As the Horizontal_bracket_engraver lives at voice level, overlapping brackets need to live in different voices.

\version "2.12.2"

upper = \relative c'' {
 c\startGroup d e s4
 g a b c\stopGroup
 d e fis s4

lower = \relative c'' {
 s2. f4\startGroup
 s2. g'4\stopGroup

\score {
 \new Staff {
     \voiceOne \upper
     \voiceThree \lower

\layout {
 \context {
   \consists "Horizontal_bracket_engraver"

Btw, you can put any bracket above the staff with \once \override HorizontalBracket #'direction = #UP

reply via email to

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