Re: Bug in lilypond version 2.6.0 combining \arpeggioBracket and connectArpeggios.

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: Bug in lilypond version 2.6.0 combining \arpeggioBracket and connectArpeggios.

Erik Sandberg-2
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
>
> http://www.lilypond.org/doc/v1.6/Documentation/user/out-www/lilypond/Arpegg
>io.html
>
> 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.

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)

Erik


_______________________________________________
lilypond-user mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: Bug in lilypond version 2.6.0 combining \arpeggioBracket and connectArpeggios.

Erik Sandberg-2
On Wednesday 06 July 2005 13.08, Dainis Millers wrote:

> Erik Sandberg wrote:
> > On Wednesday 06 July 2005 08.30, Dainis Millers wrote:
> >>Erik Sandberg wrote:
> >>
> >>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
> >>
> >>http://www.lilypond.org/doc/v1.6/Documentation/user/out-www/lilypond/Arpe
> >>gg io.html
> >>
> >>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)
> >
> > Erik
>
> 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.

You will need to specify it explicit:
\override PianoStaff.Arpeggio ...

Erik


_______________________________________________
lilypond-user mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-user