[Top][All Lists]

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

Re: Bug in lilypond version 2.6.0 combining \arpeggioBracket and connect

From: Dainis Millers
Subject: Re: Bug in lilypond version 2.6.0 combining \arpeggioBracket and connectArpeggios.
Date: Wed, 06 Jul 2005 13:08:15 +0200
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

Erik Sandberg wrote:
On Wednesday 06 July 2005 08.30, Dainis Millers wrote:

Erik Sandberg wrote:

On Monday 04 July 2005 21.55, Dainis Millers wrote:

I have the following Lilypond fragment:

\context PianoStaff <<
 \set PianoStaff.connectArpeggios = ##t

 \context Voice = one
   \arpeggioBracket <c' e g c>\arpeggio
 \context Voice = other
   \clef bass
   \arpeggioBracket  <c, e g>\arpeggio

You need to set the \arpeggioBracket in the PianoStaff context. See
ly/property-init.ly for how the command is defined.

Could you provide a modified version of my example to illustrate this? I am
looking for something like the image at the end of the page


Also, the music I am working on contains both arpeggios and arpeggio
brackets, both of which cross the staves. How would I handle that?

Please keep discussions on the mailing list.

Sorry, mistake on my part. I will keep it in the list in the future.

arpeggioBracket is just a variable, containing some (slightly more cryptic) code. It's defined in the file ly/property-init.ly under the directory where lilypond's data files are installed.

The command contains something like { \override Arpeggio ... } . You should paste this into your file, and modify it so the setting is done in the PianoStaff context. It's a good idea to read chapter 9, "Changing Defaults", in the manual, which also tells you how to revert the setting.

(Also, you probably want to use \context Staff rather than \context Voice in your example)


Do you mean something like this (I have tried various ways of replacing Voice with Staff; including embedding a Voice in a Staff, with the same results):

  \context PianoStaff <<
    \set PianoStaff.connectArpeggios = ##t
    \override Arpeggio  #'print-function = #Arpeggio::brew_chord_bracket

    \context Staff = one
      <c' e' g' c''>\arpeggio
    \context Staff = other
      \clef bass
      <c, e g>\arpeggio

This version procudes an arpeggio instead of a bracket exactly as the previous one.

reply via email to

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