lilypond-user
[Top][All Lists]
Advanced

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

"Creating MIDI Files" doc is wrong


From: James Harkins
Subject: "Creating MIDI Files" doc is wrong
Date: Sun, 15 Oct 2017 17:39:18 +0800
User-agent: Zoho Mail

I suppose this must have been reported at some point, but, LP 2.18.2 (stable):

http://lilypond.org/doc/v2.18/Documentation/notation/creating-midi-files

```
To create a MIDI output file from a LilyPond file, insert a \midi block inside 
a \score block;

    \score {
      …music…
      \layout { }
      \midi { }
    }
```

However, the LP version installed from Ubuntu 16.04 packages requires this:

    \layout { }
    \midi { }
    \score {
      …music…
    }

\layout{} or \midi{} inside the \score causes a syntax error:

```
Starting lilypond 2.18.2 [climax-test.ly]...
Processing `/home/dlm/share/SC/scd/khaen/tests/climax-test.ly'
Parsing...
/home/dlm/share/SC/scd/khaen/tests/climax-test.ly:90:3: error: syntax error, 
unexpected \layout
  
  \layout {}
/home/dlm/share/SC/scd/khaen/tests/climax-test.ly:4:1: error: errors found, 
ignoring music expression

\new Score {
```

$ lilypond --version
GNU LilyPond 2.18.2

hjh




reply via email to

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