Rune Zedeler wrote:
I have attached a small example that produces midi output.
Whoops, I forgot to attach.
Here goes.
-Rune
\version "2.10.0"
melody = {
\time 3/4
\key d \major
\set Staff.midiInstrument = "flute"
d''4 d''8 e''8 fis''4 |
g''4. fis''8 e''4 |
d''2 cis''4 |
d''2. |
}
bass = {
\time 3/4
\key d \major
\set Staff.midiInstrument = "electric piano 1"
d4 < fis a >4 d4 |
g,4 r4 gis,4 |
a,4 b,4 cis4 |
< d fis a >2. |
}
\score {
<<
\tempo 4 = 115 % this line sets tempo to 115 bpm
\new Staff \melody
\new Staff \bass
>>
\midi {
}
}
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user