On 2019-07-09 7:11 pm, Eby Mani wrote:
Many Thanks Torsten, exactly the thing i was looking for.

Now, how to do those "Forefall" and "the shake turned" symbols in
lilypond. any snippets ?.

You could do something like this:

%%%%
\version "2.19.83"

forefall-markup = \markup \rotate #'-30 \musicglyph "scripts.rvarcomma"
forefall = #(let ((m (make-articulation "trill")))
  (set! (ly:music-property m 'tweaks)
    (acons 'stencil (lambda (grob)
        (grob-interpret-markup grob forefall-markup))
      (ly:music-property m 'tweaks)))
  m)

shakeTurned-markup = \markup \overlay {
  \raise #'0.65 \rotate #'-150 \musicglyph "ties.lyric.short"
  \rotate #'-30 \musicglyph "scripts.rvarcomma"
  \lower #'0.55 \rotate #'-30 \musicglyph "scripts.rvarcomma"
}
shakeTurned = #(let ((m (make-articulation "trill")))
  (set! (ly:music-property m 'tweaks)
    (acons 'stencil (lambda (grob)
        (grob-interpret-markup grob shakeTurned-markup))
      (ly:music-property m 'tweaks)))
  m)

{ b'4 b'\forefall b'\shakeTurned b' }
%%%%

Here I am partying on the "trill" articulation and changing its stencil using glyphs that already exist in the notation font.


-- Aaron Hill

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to