[Top][All Lists]

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

Re: Compile last n bars

From: pls
Subject: Re: Compile last n bars
Date: Mon, 26 May 2014 22:48:38 +0200

Hi David,

you can find it in the Notation Reference under 3.4.2 Skipping corrected music. seems to be down.  Therefore I copied the text from the documentation:

3.4.2 Skipping corrected music

When entering or copying music, usually only the music near the end (where you are adding notes) is interesting to view and correct. To speed up this correction process, it is possible to skip typesetting of all but the last few measures. This is achieved by putting

showLastLength = R1*5
\score { … }

in your source file. This will render only the last 5 measures (assuming 4/4 time signature) of every \score in the input file. For longer pieces, rendering only a small part is often an order of magnitude quicker than rendering it completely. When working on the beginning of a score you have already typeset (e.g. to add a new part), the showFirstLength property may be useful as well.

Skipping parts of a score can be controlled in a more fine-grained fashion with the property Score.skipTypesetting. When it is set, no typesetting is performed at all.

This property is also used to control output to the MIDI file. Note that it skips all events, including tempo and instrument changes. You have been warned.

c8 d
\set Score.skipTypesetting = ##t
e8 e e e e e e e
\set Score.skipTypesetting = ##f
c8 d b bes a g c2
[image of music]

In polyphonic music, Score.skipTypesetting will affect all voices and staves, saving even more time.

On 26.05.2014, at 22:36, David Stephen Grant <address@hidden> wrote:

Hello list,
I'm sure I have read somewhere that it is possible to compile only the last n bars of a Lilypond file, but I cannot seem to find it anywhere! Or is this a feature of some front-end? Any tips or pointers to the relevant documentation are much appreciated.
Best, David
lilypond-user mailing list

reply via email to

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