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

2011-04-13 Thread Marc Hohl

Am 13.04.2011 08:56, schrieb Martin Tarenskeen:



On Wed, 13 Apr 2011, Marc Hohl wrote:

Or, if you are using the latest development version, you can use 
\articulate

in your \midi { } block.


don't you forget
\include "articulate.ly"
?

or is that not necessary anymore in the latest development version ?

Oh, yes, of course! Thanks for the hint!

Marc




\score {
 \myMusic
 \layout { }
}

\score {
 \articulate \myMusic
 \midi { }





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


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

2011-04-12 Thread Martin Tarenskeen



On Wed, 13 Apr 2011, Marc Hohl wrote:


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


don't you forget
\include "articulate.ly"
?

or is that not necessary anymore in the latest development version ?



\score {
 \myMusic
 \layout { }
}

\score {
 \articulate \myMusic
 \midi { }


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


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

2011-04-12 Thread Marc Hohl

Am 13.04.2011 01:55, schrieb Michael Ellis:




On Tue, Apr 12, 2011 at 12:38 PM, Helge Hafting > 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


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

2011-04-12 Thread Michael Ellis
On Tue, Apr 12, 2011 at 12:38 PM, Helge Hafting 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. 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