Am 13.04.2011 01:55, schrieb Michael Ellis:



On Tue, Apr 12, 2011 at 12:38 PM, Helge Hafting <helge.haft...@hist.no <mailto:helge.haft...@hist.no>> wrote:

    What I need, is to get the midi output for
     \appoggiatura{e16 fis} e16
    but the layout for
     e16\prall



Hi Helge,
You could use tags.

Or, if you are using the latest development version, you can use \articulate
in your \midi { } block.

\score {
  \myMusic
  \layout { }
}

\score {
  \articulate \myMusic
  \midi { }
}

HTH,

Marc
The following produced the desired results for me even though LilyPond (2.13.54) issued a warning: "programming error: Going back in MIDI time."

I think the warning will go away if there's some music before the grace notes.

music = {
          \tag #'played {\appoggiatura{e16 fis} e16}
          \tag #'printed {e16\prall}
}

\score {
    \removeWithTag #'played \music
    \layout {}
    }
\score {
    \removeWithTag #'printed \music
    \midi {}
}

Hope this helps,
Mike



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


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

Reply via email to