lilypond-user
[Top][All Lists]
Advanced

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

Problem (or not?) with creating a MIDI File


From: Martin Brodbeck
Subject: Problem (or not?) with creating a MIDI File
Date: Wed, 03 Aug 2005 10:18:21 +0200
User-agent: Mozilla Thunderbird 1.0.5 (X11/20050718)

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

reply via email to

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