[Top][All Lists]

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

Programming error when using very many grace notes [was: Re: ]

From: Malte Meyn
Subject: Programming error when using very many grace notes [was: Re: ]
Date: Mon, 5 Jun 2017 08:29:57 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1

Hi Alex,

please say which LilyPond version you are using. Issues 2 and 3 probably are no bugs but partly intended behaviour (although I really much would like at least a warning and maybe an error when a line is longer than it should be like TeX’s “Overfull hbox”). And I cannot reproduce your first issue so please give us a minimal example like the following that illustrates your problem:

%%%%%%%%%%%%%%% BEGIN MINIMAL EXAMPLE (all three issues)
\version "2.18.2"

\relative {
  % issue 2: very long instrument name
  \set Staff.instrumentName = "This is a very long instrument"
  % issue 3: too many notes per line
  \repeat unfold 64 d'64
  % issue 1: very many grace notes
  \repeat unfold 1024 { \grace e8 d }
%%%%%%%%%%%%%%% END MINIMAL EXAMPLE

Now here comes a solution for issue 2 and 3:
2. Change the indent (and if you use shortInstrumentName also the short-indent) as shown in this pdf: http://joramberger.de/files/LilypondSpacing.pdf 3. Use a very small font size or, probably better, allow line breaks at some reasonable points in the measure:

  \repeat unfold 16 d'64 \bar ""
  \repeat unfold 16 d64 \bar ""
  \repeat unfold 16 d64 \bar ""
  \repeat unfold 16 d64

Am 05.06.2017 um 01:54 schrieb alex a:
sorry issue #3 below got chopped off. Here is the complete statement:

3. If a bar in a 4/4 rhythm piece has 64 notes (of 1/64 value each), then 
Lilypond will run the notes off the page. One can only see about 2/3 of the 
notes in that bar.

From: alex a <address@hidden>
Sent: June 4, 2017 7:48:34 PM
To: address@hidden


I am not sure if this the result of bugs or something else but here are three 
issues I found using this great product:

   1.  When using too many grace notes and you run the code it will give a 
message that says:

“Programming error: going back in MIDI time”

   1.  Instrument names that are not very short get chopped
   2.  If a bar in a 4/4 rhythm piece has 64 note

Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10

bug-lilypond mailing list

reply via email to

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