On 10/31/2019 2:50 PM, Pierre Perol-Schneider wrote:
Oops, I miss something, here it goes:

\version "2.19.83"

#(define-markup-command (ricochet layout props nb spce) (integer? number?)
  (interpret-markup layout props
    #{ \markup
       \override #'(baseline-skip . 1.5)
       \left-column {
         \line { \hspace #2 \teeny\bold "ric." }
         \line {
            " "
            \overtie\concat {
              " " \pattern #nb #X #spce \musicglyph #"dots.dot"
              " "
            }
         }
       } #}))

{
  d''^\markup\ricochet #7 #1 s s s
  d''^\markup\ricochet #3 #3
}

Cheers,
Pierre

Le jeu. 31 oct. 2019 à 19:45, Pierre Perol-Schneider <[email protected] <mailto:[email protected]>> a écrit :

    Hi Ben,
    How about:

    \version "2.19.83"

    #(define-markup-command (ricochet layout props nb spce) (integer?
    number?)
      (interpret-markup layout props
        #{ \markup {
              " "
              \overtie\concat {
                " " \pattern #nb #X #spce \musicglyph #"dots.dot"
                " "
              }
            } #}))

    {
      d''^\markup\ricochet #7 #1 s s s
      d''^\markup\ricochet #3 #3
    }

    HTH, cheers,
    Pierre

    Le jeu. 31 oct. 2019 à 15:45, Ben <[email protected]
    <mailto:[email protected]>> a écrit :

        Good morning!

        How would it be possible to create the attached ricochet
        articulation in LilyPond?

        Also, I'm looking for a way to be able to modify the dots in
        two ways, for example: add/remove the number of dots (3-6) per
        articulation instance, and add some space in between several
        of the dots to suggest a certain 'rhythm' to the ricochet.

        Any suggestions would be appreciated. :)

        Thanks!


Maybe something like this, where you can group dots and then add space?

c''2^\markup\ricochet #2  #1 #4 s2 |

(   group 2 dots    <1 space>    group 4 dots    |   )

Is this doable?


Reply via email to