When I process your .ly file here, I get a wasser.midi that is
799 bytes long and plays perfectly well. I used the latest version
from CVS which includes a few changes compared to 2.7.3, but I
couldn't find anything in the ChangeLog that directly looks related
to MIDI output. However, I know there have been some reports in
bug-lilypond on MIDI problems with 2.7.xx, so it might be something
that has been fixed very recently.
In general, I recommend to stick to the stable versions (2.6.x) if
you want to do any serious typesetting and only use the unstable (2.7.x)
if you are really interested in the latest additions. Also, please keep
issues specific to the development versions in the lilypond-devel
mailing list.
/Mats
Martin Brodbeck wrote:
Hello,
I want to create a midi file from wasser.ly. But the resulting midi file
is too (?) small (319 bytes). I'm not sure if there is something wrong
with lilypond, or if I don't know how to create a MIDI file correctly
with lilypond or if the midi file is all right and I just can't play it.
I use lilypond 2.7.3
Thanks a lot
Martin
------------------------------------------------------------------------
\version "2.7.3"
melodie = {
\override Score.BarNumber #'break-visibility = #all-invisible
\time 4/4
\clef violin
\key d \major
\partial 4
\repeat volta 1 {
a4 |
fis'4. e'8 fis'4 g'4 |
a'2. fis'4 |
d'4. cis'8 d'4 g'4 | %\break
\slurDotted
fis'8([ e'8]) e'2 } \break
\partial 4
d'4 |
b'4. a'8 b'4 cis''4 |
d''2 a'2 |
r4 b'4 a'4 g'4 |
a'4. a'8 d'4. d'8 |
g'4 fis'4 d'4. d'8 |
g'4 fis'4 d'4. d'8 |
g'4 fis'4 e'4. d'8 |
d'2. \bar "|."
}
texteins = \lyricmode {
\override LyricText #'font-family = #'sans
\override LyricText #'font-size = #'-0.5
\set stanza = "1. "
Ins
Was -- ser fÀllt ein
"Stein," ganz
heim -- "lich," still und
lei -- "se;"
Wo
Got -- tes gro -- �e
Lie -- be
in ei -- nem
Men -- schen "fÀllt," da
wirkt sie fort in
Tat und Wort hin --
aus in uns -- re "Welt."
}
textzwei = \lyricmode {
\override LyricText #'font-family = #'sans
\override LyricText #'font-size = #'-0.5
und
ist er noch so
"klein," er
zieht doch wei -- te
Krei -- "se."
}
\score {
<<
\context Voice = "melodie" {
\set Staff.midiInstrument = #"acoustic grand"
\melodie
}
\lyricsto "melodie" \new Lyrics \texteins
\lyricsto "melodie" \new Lyrics \textzwei
>>
\layout {}
\midi {}
}
------------------------------------------------------------------------
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user
--
=============================================
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44 STOCKHOLM
Sweden
Phone: (+46) 8 790 8463
Fax: (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=============================================
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user