2017-09-08 12:15 GMT+02:00 Thomas Morley <thomasmorle...@gmail.com>: > 2017-09-07 20:59 GMT+02:00 Robert Schmaus <robert.schm...@web.de>: > >> So anyway, except for writing a music function that basically does the >> ottava voiding + spacer grace + ottava reset in one go, I don't have any >> other solution as well. > > Quick'n dirty: > > { > \ottava 1 > c'''4 4 4 > \afterGrace 4 \ottava 0 > \ottava 1 > d'''4 4 4 4 > \ottava 0 > } > > Cheers, > Harm
Also, David K's at-function will work (not sure if below is the most recent one: at = #(define-music-function (time event music) (ly:duration? ly:music? ly:music?) "Place @var{event} at a relative duration @var{time} in relation to @var{music}." #{ \context Bottom << { \skip $time <>$event } $music >> #}) { \ottava 1 c'''4 4 4 \at 8. \ottava 0 c'''4 \ottava 1 d'''4 4 4 4 \ottava 0 } Cheers, Harm _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user