[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: .ly to midi
From: |
Joe Mc Cool |
Subject: |
Re: .ly to midi |
Date: |
Sun, 20 Jan 2008 16:21:42 +0000 |
User-agent: |
Mutt/1.5.9i |
On Sun, Jan 20, 2008 at 03:03:14PM +0000, Christoph wrote:
> My question: How can I convert the written notes to a MIDI-file (audio)? I
> don't
> know/ understand how it should works.
Here's an example of how I do it. It works, but may not be ideal. I
am not an expert.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\version "2.11.33"
\header {
composer = ""
piece = "Thursday Evening"
dedication = ""
}
melody = \relative c' {
\clef treble
\key g \major
\time 6/8
\repeat volta 2 { %TUNE_START
\partial 8
d'8 \times 2/3 { g a g } g d b g \bar "|"
c b a b g e \bar "|"
d g d g d g \bar "|"
a b c d4
d8 \times 2/3 { g a g } g d b g \bar "|"
c b a b g e \bar "|"
d g d g d g \bar "|"
a b a g4. \bar ":|:"
}
\repeat volta 2 { %2nd part
a8 b a g4 a8
g' d b a' f d
b d b c4 g'8
a f d c d c
a8 b a g4 a8
g' d b a' f d
b d b c4 g'8
a f d g4.
} % TUNE_END
}
\score {
\new Staff \melody
\layout { }
}
\score {
\unfoldRepeats
\repeat unfold 2 {\melody} %UNFOLD
\midi { }
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
--
Thanks
____________________
Joe Mc Cool
Snark, currently LEYC
028 37548074, 07802572441