Hi Lee,

> This works but isn't ideal as I have duplicate notes.  At least it gives me
> the score I want and the midi notes with no grace notes.

Maybe use tags:

\afterGrace #1/2 { \tag nomidi <>\^ d\3 } \tag nomidi {\once\hideNotes e\3 }

and then do `\removeWithTag nomidi ...` in your midi score.

You can even put this into a convenience function like so:

%%%
nomidiBend =
#(define-music-function (main bend) (ly:music? ly:music?)
   #{
     \afterGrace 1/2
     { \tag nomidi <> \^ #main }
     \tag nomidi { \hideNotes #bend \undo\hideNotes }
   #})
%%%

and then do `\nomidiBend d\3 e\3`.

Best regards,
Tina

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to