lilypond-user
[Top][All Lists]
Advanced

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

Re: Cross-staff fingerings when using \autochange


From: Valentin Villenave
Subject: Re: Cross-staff fingerings when using \autochange
Date: Tue, 6 Nov 2007 11:22:26 +0100

2007/11/6, Mats Bengtsson <address@hidden>:
> Sounds like the same problem as
> http://code.google.com/p/lilypond/issues/detail?id=446
> and/or
> http://code.google.com/p/lilypond/issues/detail?id=506

Yes indeed;

there might be some kind of workaround; the following works, but I
can't get the left hand fingering to be printed:

\include "italiano.ly"
\layout {
  \context {
    \Voice
    \remove "Fingering_engraver"
  }
  \context {
    \PianoStaff
    \consists "Fingering_engraver"
  }
}
droiteDoigts = {
  s16-2 s-1 s-2 s-3 s-4 s-1 s-2 s-3 s-4 s-1 s-2 s-3
  s-4 s-5 s-4 s-3 s-2 s-1 s-4 s-3 s-2 s-1 s-4 s-3 s-2 s-1}
droiteB = \autochange \relative {
  \time 3/4
  \stemUp
    re, do mi sol si do mi sol si do mi sol
    si do la fa re do la fa re do la fa
    reb do
}
gaucheDoigts = {
  s16-4 s-5 s-4 s-3 s-2 s-1 s-4 s-3 s-2 s-1 s-4 s-3
  s-2 s-1 s-2 s-3 s-4 s-1 s-2 s-3 s-4 s-1 s-2 s-3 s-4 s-5 }
gaucheB = { \clef bass
\autochange \relative {
  \time 3/4
  \stemDown
    re,,16 do mi sol si do mi sol si do mi sol
    si do la fa re do la fa re do la fa
    reb do
}}
\score {
  \new PianoStaff {
  <<
  \context Staff="up" \new Voice = "droite" { \droiteB }
  \context Staff="down" \new Voice = "gauche"  { \gaucheB }
      \context Voice="droite" {  \override Voice.Fingering #'direction = #up
      \droiteDoigts      }
  %  \context Voice ="gauche" { \override Voice.Fingering #'direction = #down
  %\gaucheDoigts   }
  >> }
}

Regards,
Valentin




reply via email to

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