The LilyPond Snippet Repository ♪♫

What's this? Searching the LSR Browse Contributing Snippet database

Results 1−10 of 39 for rests

Using a different rest stencil globally (e.g., printing rests as circles) [0.40179]

…a different rest stencil globally (e.g., printing rests as circles)

Sometimes, an author may want to display rests not with their usual symbols, but e.g. … …the usual rest symbols for quarter and eighth rests, but uses the standard symbols for all other rests. This is done by checking the duration-log property …

…id=548 % Our own stencil for rests: quarter rests are shown as a centered filled circle, % eighth rests are an underlined filled circle: #(define (ly:rest-interface::dot-rests … …wherever you want. % After the block with circle rests, simply revert the stencil property to its % default …

Using a different rest stencil globally (e.g., printing rests as circles)

Merging rests automatically [0.39286]

Merging rests automatically

…or more) voices on a staff share common rests, common engraving practice merges these rests into one. The following snippet takes care of that, automatically. Please note that multi-measure rests are not automatically combined.

…two voices %% - does not handle multi-measure/whole-measure rests #(define (rest-score r) (let ((score 0) (yoff (… …new Score << \new Staff << s4-\markup{ LilyPond default, rests in both voices. } \relative c'' { c4 d e … …with { \override RestCollision.positioning-done = #merge-rests-on-positioning } << s4-\markup{Merge rests as per standard notation practice.} \relative c'' { c4 …

Merging rests automatically

Positioning multi-measure rests [0.39286]

Positioning multi-measure rests

Unlike ordinary rests, there is no predefined command to change the … …to a note. However, in polyphonic music multi-measure rests in odd-numbered and even-numbered voices are vertically separated. The positioning of multi-measure rests can be controlled as follows:

\relative c'' { % Multi-measure rests by default are set under the fourth line … …are under the bottom line << { a1 } \\ { R1 } >> % Multi-measure rests in both voices remain separate << { R1 } \\ { R1 } >> % Separating multi-measure rests in more than two voices % requires an override << { …

Positioning multi-measure rests

Printing figured bass figures above rests in a Staff context [0.32143]

Printing figured bass figures above rests in a Staff context

…Staff context, then by default figures attached to rests are printed, as seen in the first staff. To skip figures assigned to rests, one has to set the ignoreFiguredBassRest property of …

…4 c s e | } \new Score { << % Figures above rests in figuremode inside a Staff context are printed: \…

Printing figured bass figures above rests in a Staff context

Changing stems direction without affecting rests [0.28571]

Changing stems direction without affecting rests

…how to change the stems direction without affecting rests.

…r2 } \context Voice = "down" { \voiceTwo c'1^"stemDown, rests Up" } >> }

Changing stems direction without affecting rests

Polymetric section: printing full-measure rests [0.26786]

Polymetric section: printing full-measure rests

…The problem is that although notes and ordinary rests compress in the offending staves, full measure rests adhere to the time of the global voice. … …by 4/9ths. To get appropriate length full-measure rests in the nine, we must set the \time …

Polymetric section: printing full-measure rests

Changing form of multi-measure rests [0.26786]

Changing form of multi-measure rests

If there are ten or fewer measures of rests, a series of longa and breve rests (called in German Kirchenpausen - church rests) is printed within the staff; otherwise a simple …

Changing form of multi-measure rests

Hiding staves with rests only (for some/all voices) [0.25000]

Hiding staves with rests only (for some/all voices)

…to hide staves containing nothing (or only multi-measure rests). By default, LilyPond shows all staves, even if they only contain rests. To change this into what is sometimes called …

Hiding staves with rests only (for some/all voices)

Forcing visibility of systems with multi-bar rests when using \RemoveEmptyStaffContext [0.25000]

Forcing visibility of systems with multi-bar rests when using \RemoveEmptyStaffContext

…you may find it useful to hide multi-bar rests using \RemoveEmptyStaffContext to produce a Frenched score, but … …If you insert multi-measure-rest-interface into this list, multi-bar rests count as interesting items. You can then create …

Forcing visibility of systems with multi-bar rests when using \RemoveEmptyStaffContext

Merging multi-measure rests in a polyphonic part [0.25000]

Merging multi-measure rests in a polyphonic part

When using multi-measure rests in a polyphonic staff, the rests will be placed differently depending on the voice …

Merging multi-measure rests in a polyphonic part

1 2 3 4 Next ⇨