lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How can I get good layout and good midi without writing everything t


From: Marc Hohl
Subject: Re: How can I get good layout and good midi without writing everything twice?
Date: Wed, 13 Apr 2011 08:49:38 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8

Am 13.04.2011 01:55, schrieb Michael Ellis:



On Tue, Apr 12, 2011 at 12:38 PM, Helge Hafting <address@hidden <mailto:address@hidden>> 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
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user




reply via email to

[Prev in Thread] Current Thread [Next in Thread]