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

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

Re: Barre verticale entre deux notes


From: Pierre Perol-Schneider
Subject: Re: Barre verticale entre deux notes
Date: Wed, 16 Aug 2017 19:46:42 +0200

Bonjour Sébastien,

Voici une solution, mais c'est un peu laborieux...

%%%
\version "2.18.2"

\new PianoStaff \with { connectArpeggios = ##t } <<
  \cadenzaOn
  \new Staff = "MD" \relative c'  {
    s4 r <
    \tweak stencil #(lambda (grob)
          (grob-interpret-markup grob #{
            \markup
            \override #'(thickness . 3)
            \combine
            \with-dimensions #'(0 . 0) #'(0 . 0)
            \translate #'(.6 . .6) %% <= à ajuster
            \draw-line #'(0 . 1) %% <= à ajuster
            \musicglyph #"noteheads.s2"
            #}))
   d a'>4
   -\tweak positions #'(-3 . 0)
   \arpeggio r s1 s4
   \stemDown e \arpeggio
   f \arpeggio
  }
  \new Staff = "MG" {
    \clef F
    s4*4 <
    \tweak stencil #(lambda (grob)
          (grob-interpret-markup grob #{
            \markup
            \override #'(thickness . 3)
            \combine
            \with-dimensions #'(0 . 0) #'(0 . 0)
            \translate #'(.9 . .6) %% <= à ajuster
            \draw-line #'(0 . 2.3) %% <= à ajuster
            \musicglyph #"noteheads.s0"
            #}))
    d d'>1
    -\tweak positions #'(-1 . 5)
    \arpeggio _\markup\teeny\italic"(avec la main)"
    <
    \tweak stencil #(lambda (grob)
          (grob-interpret-markup grob #{
            \markup
            \override #'(thickness . 3)
            \combine
            \with-dimensions #'(0 . 0) #'(0 . 0)
            \translate #'(.6 . .6) %% <= à ajuster
            \draw-line #'(0 . 2.3) %% <= à ajuster
            \musicglyph #"noteheads.s2"
            #}))
    d d'>4
    -\tweak positions #'(-1 . 5)
    \arpeggio
    \tweak stencil #(lambda (grob)
          (grob-interpret-markup grob #{
            \markup
            \override #'(thickness . 1.3)
            \combine
            \with-dimensions #'(0 . 0) #'(0 . 0)
            \translate #'(.065 . 0) %% <= à ajuster
            \draw-line #'(0 . 4) %% <= à ajuster
            \combine
            \override #'(thickness . 3)
            \with-dimensions #'(0 . 0) #'(0 . 0)
            \translate #'(.6 . .6) %% <= à ajuster
            \draw-line #'(0 . 6) %% <= à ajuster
            \musicglyph #"noteheads.s2"
            #}))
    e \arpeggio
    \tweak stencil #(lambda (grob)
          (grob-interpret-markup grob #{
            \markup
            \override #'(thickness . 1.3)  %% <= à ajuster
            \combine
            \with-dimensions #'(0 . 0) #'(0 . 0)
            \translate #'(.065 . 0) %% <= à ajuster
            \draw-line #'(0 . 4) %% <= à ajuster
            \combine
            \override #'(thickness . 3)
            \with-dimensions #'(0 . 0) #'(0 . 0)
            \translate #'(.6 . .6) %% <= à ajuster
            \draw-line #'(0 . 6) %% <= à ajuster
            \musicglyph #"noteheads.s2"
            #}))
    f \arpeggio
  }
>>

%%%

Cordialement,
Pierre

Le 16 août 2017 à 16:04, SebastienVB <address@hidden> a écrit :
Bonjour,


Je dois relier deux notes simultanées par une barre verticale parallèle à la
hampe et centrée sur les têtes de note. Voici un extrait du passage, en
notations manuelles

<http://lilypond-french-users.1298960.n2.nabble.com/file/n7585188/clusters.jpg>





L'auteur indique: "jouer toutes les notes diatoniques entre les deux notes
indiquées". Le signe arpeggio est assimilé à un trémolo sur l'ensemble de
ces notes, avec les doigts ou la main entière (...ou d'autres parties du
corps pour de plus grands ambitus ).

La notation se rapproche du "Ambitus_engraver", mais à l'intérieur de la
pièce. J'ai cherché longtemps une solution simple, dont voici la dernière
tentative:



... mais ce n'est pas stable . Comme la notation revient tout au long d'une
longue section avec des distances de notes différentes, y compris des
croisements de portées, j'aimerais savoir si une commande ne permet pas
d'obtenir une barre verticale plus simplement entre deux notes données.

Merci pour vos précieux conseils,



Sébastien.



--
View this message in context: http://lilypond-french-users.1298960.n2.nabble.com/Barre-verticale-entre-deux-notes-tp7585188.html
Sent from the LilyPond French Users mailing list archive at Nabble.com.

_______________________________________________
liste de diffusion lilypond-user-fr
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user-fr


reply via email to

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