lilypond-user
[Top][All Lists]
Advanced

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

Re: Syntax error using \midi directive


From: Helge Kruse
Subject: Re: Syntax error using \midi directive
Date: Mon, 14 Sep 2009 06:38:23 +0200
User-agent: Thunderbird 2.0.0.23 (Windows/20090812)

This compiles fine with Lilypond 2.13.0. Are you sure you sent the actual content of you .ly file? Without the original file it may be mystic to us.

Regards,
Helge

Jörg Krause schrieb:
Hi to all,

I am getting a (almost to me) mysterial syntax error

----
lodi_vespri/musiche/psalmen_joerg.ly:65:17: Fehler: syntax error, unexpected '}', expecting '='
    \midi {
----
compiling the following source (the line which produces the error is marked):

Thanks for your help.

mailto:address@hidden

----
\version "2.13.3"

VierzeiligErsterOben = \relative c''
    { \key f \major
        <<
            { c,4 a8 c d2 | f4 g8 a f2 | a4 g8 f g2 | f4 e8 d e4 d4 | } \\
            { s1          | d2      c2 | c1         | d4 s4   s2    | }
        >>   }
VierzeiligErsterUnten = \relative c'
    { \key f \major
<< { e2 <f a>2 | <f~ bes>2 <f~ a~> | <f a> <e g> | <g bes>2. <a f>4 | }
        >>
    }

DreizeiligErsterOben = \relative c''
    { \key f \major
        << { a g8 f g2 g4~ g8 a f2 f4 d8 f g4 f4 } \\
           { c1        d           s2      c2    }
        >> }
DreizeiligErsterUnten = \relative c
    { \key f \major \clef bass
        f4 a e2 bes'2 a2 << { bes2~ bes4 a4 } \\ { <f~ d>2 f } >>
    }

ZweizeiligErsterOben = \relative c''
    { \key f \major
        << { a4 g8 a d,2 g4 f8 g a2  } \\
           { c,2 s d e } \bar "||"
        >>     }
ZweizeiligErsterUnten = \relative c
    { \key f \major \clef bass % Untere Zeile
                       << { s4 a bes a bes c cis2 } \\
                          { f,1         g2    a4 g }
                >> \bar "||" }

ZweizeiligZweiterOben = \relative c'
    { \key c \major
        << { c2^"Version 2" g' a g } \\
           { s2 d c d }
        >>     }
ZweizeiligZweiterUnten = \relative c
    {  \key c \major
        << { e4 f c' b s2    b2} \\
           { g1         f4 g8 a g4 f }
        >>     }

\header {
    title = "Begleitmusik für Psalmen"
    subtitle = "Gesetzt von Jörg Krause"
}

\score {
    \new PianoStaff {
            <<
                \new Staff \VierzeiligErsterOben
                \new Staff \VierzeiligErsterUnten
>> } \header {
        piece = "4 Zeilen"
    }
    \layout { }
    \midi { } %###### Line where the error is #########
}
\score {
    \new PianoStaff
        <<
            \new Staff \DreizeiligErsterOben
            \new Staff \DreizeiligErsterUnten
        >>
    \header {
        piece = "3 Zeilen"
    }
}
\score {
    \new PianoStaff
        <<
            \new Staff { \ZweizeiligErsterOben \ZweizeiligZweiterOben }
            \new Staff { \ZweizeiligErsterUnten \ZweizeiligZweiterUnten }
        >>
    \header {
        piece = "2 Zeilen"
    }
    \layout { }
}
----




_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user






reply via email to

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