lilypond-user
[Top][All Lists]
Advanced

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

Re: "Creating MIDI Files" doc is wrong


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

> 1. If I write it as specified in the manual, I get a syntax error. 
>  
> 2. If I write it as above, I get no syntax error, and no MIDI file. 

Never mind, I see my mistake now. I had extrapolated from \new Staff and \new 
Voice to \new Score. LilyPond accepts \new Score (!). Possible improvement 
might be to reject that wrong syntax with an informative error.

That mistake is entirely my own fault, of course -- the result of coming back 
to LilyPond after a few years without writing for acoustic instruments and 
trying to be clever. But it does remind me of one of my general gripes with LP: 
the number of subtle syntactic variations. I *always* have to look up:

- Do I just write a number here, or prepend '#' -- 1.0 or #1.0?

- Single or double # for other entities? (#t vs ##t)

- Is it a (list of things), or a '(list of things), or a #'(list of things)?

But, yeah, the present case is my goof.

hjh




reply via email to

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