2009/4/7 Stefan Thomas <kontrapunktste...@googlemail.com>:
> Yes, this is exactly what I want

I think you'll have to fake the grace notes in this situation.  You
probably won't get them to look perfectly grace-like, due to spacing
constraints and the action of the lyrics, though you might be able to
tweak them slightly by override SpacingSpanner.

startGrace = {
  \override Stem #'direction = #UP
  \override Stem #'font-size = #-3
  \override NoteHead #'font-size = #-3
  \override Dots #'font-size = #-3
  \override Stem #'length-fraction = #0.8
  \override Stem #'no-stem-extend = ##t
  \override Beam #'thickness = #0.384
  \override Beam #'length-fraction = #0.8
  \override Accidental #'font-size = #-4
  \override Slur #'direction = #DOWN
}
stopGrace = {
  \revert Stem #'direction
  \revert Stem #'font-size
  \revert NoteHead #'font-size
  \revert Dots #'font-size
  \revert Stem #'length-fraction
  \revert Stem #'no-stem-extend
  \revert Beam #'thickness
  \revert Beam #'length-fraction
  \revert Accidental #'font-size
  \revert Slur #'direction
}

graceNotes =
#(define-music-function (parser location music) (ly:music?)
#{
  \startGrace
  $music
  \stopGrace
#})

melodie = \relative c'' {
  \global cis2.*47/48\trill \graceNotes { b16*1/8 [ cis] } | d4
}

Regards,
Neil


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

Reply via email to