lilypond-user-fr
[Top][All Lists]
Advanced

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

Re: manipuler les VoiceFollowers


From: Éditions IN NOMINE
Subject: Re: manipuler les VoiceFollowers
Date: Fri, 24 Jun 2011 16:07:49 +0200
User-agent: Thunderbird 2.0.0.24 (X11/20101027)

Braaaavooooo !
Merci à Gilles et à toi de m'avoir aidé si rapidement !

Bénédictions éternelles jusqu'à la 14ème génération (après, on verra.) !

JMarc

Bertrand Bordage a écrit :
Voilà un solution qui devrait convenir :


paddingsTrait =
#(define-music-function (parser location pl pr) (number? number?)
   #{
     \once \override VoiceFollower #'bound-details =
       #`((right (attach-dir . 0) (padding . ,$pr))
          (left (attach-dir . 0) (padding . ,$pl)))
   #})

\new PianoStaff  <<
\new Staff = "up" <<
 \new Voice {\relative c'' {\voiceOne c1}}
\new Voice {\relative c'' {\voiceTwo g4 \change Staff = "down" \showStaffSwitch \paddingsTrait #2 #2 g, c c }}
  >>
\new Staff = "down" << \clef F \relative c {c1} >>
>>


Bertrand



reply via email to

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