lilypond-user
[Top][All Lists]
Advanced

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

Re: Immediate Need For Midi Output


From: Rune Zedeler
Subject: Re: Immediate Need For Midi Output
Date: Sun, 04 Feb 2007 17:29:55 +0100
User-agent: Thunderbird 1.5.0.9 (X11/20070104)

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 {
  }
}

reply via email to

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