bug-lilypond
[Top][All Lists]
Advanced

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

Re: Simultaneous notes yield "programming error"


From: Simon Albrecht
Subject: Re: Simultaneous notes yield "programming error"
Date: Fri, 2 Sep 2016 09:38:31 +0200

Hi Joel,

thanks for the report.

On the user list, I may have exaggerated my zeal for minimal examples. Here on the bug list, however, they are more strictly required, so the bass clef and bar checks (which I believe are certainly unrelated with the bug – can’t test on Linux) could’ve been left out. Also it will be very much appreciated if you revise your code formatting. Privately, you may do whatever you like, but sharing code requires complying to some conventions such as indenting by two spaces, giving closing brackets or braces their own line if the opening struct also has one &c. See attached.

And don’t misunderstand me: This is not about my personal preferences, but badly formatted code is an obstacle in understanding it.

I’ll wait submitting an issue tracker and see if somebody can say some more on what the actual problem is.

Best, Simon


On 02.09.2016 05:57, Joel C. Salomon wrote:
Compiling the attached file with LilyPond 2.19.46 on Windows 10 64-bit
via Frescobaldi yields:

Starting lilypond-windows.exe 2.19.46 [programming_error.ly]...
Processing 
`c:/users/chesky/appdata/local/temp/frescobaldi-irr7t1/tmpc362im/programming_error.ly'
Parsing...
Interpreting music...
Preprocessing graphical objects...
Interpreting music...
MIDI output to `programming_error.mid'...
programming error: asked to compute volume at +1.000000 for dynamic
span of duration 1.000000 starting at 1
continuing, cross fingers
programming error: asked to compute volume at +1.000000 for dynamic
span of duration 1.000000 starting at 1
continuing, cross fingers
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `./tmp-lilypond-XEJJlg'...
Converting to `programming_error.pdf'...
Deleting `./tmp-lilypond-XEJJlg'...
Success: compilation successfully completed
Completed successfully in 1.3".

Replacing the << {} \new Voice {} >> structure with << {} \\ {} >>
makes this go away; interestingly, simply writing << \new Voice {}
\new Voice {} >> still yields the error.

Giving the note immediately following the << >> structure an explicit
dynamic (\f, for example) also makes the error disappear.

—Joel C. Salomon


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

Attachment: programming_error.ly
Description: Text Data


reply via email to

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