The LilyPond Snippet Repository ♪♫

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

Results 1−10 of 47 for barline

Curly end barline [0.32143]

Curly end barline

Curly end barline supports svg output.

…01 -0.40) (closepath)) } endBarCurly = { \once \override Staff.BarLine.stencil = #(lambda (grob) (ly:stencil-combine-at-edge (ly:bar-line::print grob) X … …grob endBarCurlyPath) 0)) \bar "||" } endBarCurlyTab = { \once \override Staff.BarLine.stencil = #(lambda (grob) (ly:stencil-combine-at-edge (ly:bar-line::print grob) X …

Curly end barline

Ripped, torn staff-lines [0.27679]

…at random. Both work by temporarily modifying the BarLine stencil. STYLE 1 PREFERENCES: tearWidth ... default is 1 … …default is '(-4 . 4) Y-extent of the zigzag BarLine stencil (measured in staff-spaces). zigzagDefaultSerrationCount ... default is 5 … …default is '(0 . 0) X-extent of the zigzag BarLine stencil, NOT including its width. Can be used …

…1.5 . 2.5))) #{ \once \override Staff.BarLine.stencil = #ly:text-interface::print \once \override Staff.BarLine.text = \markup \… …0 y0 moveto plotSerrations stroke") \once \override Staff.BarLine.layer = #1 \once \override Staff.BarLine.X-extent = #`(,(car zigzagTearXext) . ,(- (+ (cdr zigzagTearXext) zigzagTearWidth) …

Ripped, torn staff-lines

Repeat-bar-lines with angle-wings for whole StaffGroup (automatic and semi-automatic) [0.21429]

…property tip. To activate it, say \override Staff.BarLine.tip = #'auto Using values up and down …

…symbols than 'up or 'down are used for `BarLine.tip' an %% automatic procedure takes over trying to … …possible" } } \score { << \new StaffGroup << \new Staff \with { \override BarLine.tip = #'up } \mus \new Staff \mus \new Staff \with { \override BarLine.tip = #'down } \mus >> \new StaffGroup << \new Staff \…

Repeat-bar-lines with angle-wings for whole StaffGroup (automatic and semi-automatic)

Combining pedal notes with clef changes [0.19643]

…by a small cautionary clef printed after the barline.

…Similar to above, but lower and positioned after barline fakeBassClefShift = { % Change default prefatory item order so that clef is printed after barline \override Score.BreakAlignment.break-align-orders = #(make-vector 3 '(span-bar … …##t % The faked bass clef, printed after the barline and next % to the pedal note \fakeBassClefShift a ~ | % …

Combining pedal notes with clef changes

High and Low woodblock example [0.17857]

…and 'wbl' (low woodblock). The length of the barline has been altered with an \override command otherwise …

…3) % This is necessary; if not entered, % the barline would be too short! \override Staff.BarLine.bar-extent = #'(-1.0 . 1.5) % small correction …

High and Low woodblock example

How to print two rehearsal marks above and below the same barline (method 2) [obsolete in 2.23] [0.14286]

…two rehearsal marks above and below the same barline (method 2) [obsolete in 2.23]

How to print two rehearsal marks above and below the same barline (method 2) [obsolete in 2.23]

Crossing staves [0.14063]

…pauke >> % Chicane staff % ------------- % % We temporarily override the `BarLine` stencil to use % `\chicane-staff`. The drawing gets triggered … …e \cadenzaOn \hideNotes c8 \bar "" \once \override Staff.BarLine.stencil = #(lambda (grob) (ly:stencil-combine-at-edge (ly:bar-line::print grob) X … …g \cadenzaOn \hideNotes c8 \bar "" \once \override Staff.BarLine.stencil = #(lambda (grob) (ly:stencil-combine-at-edge (ly:bar-line::print grob) X …

Crossing staves

Repeat-bar-lines with angle-wings for whole StaffGroup (manually) [0.13839]

…starts the snippet: \markup\italic "Standard alternate repeat barline output in a StaffGroup:" \new StaffGroup << \new Staff \… …#}))) #}) ((string=? repeat-bar-type "]") #{ \once \override Staff.BarLine.stencil = #(lambda (grob) (ly:stencil-combine-at-edge (ly:bar-line::print grob) X … …#repeat-bar-height #}))) #}) (else #{ \once \override Staff.BarLine.stencil = #ly:bar-line::print #}))) %%% Test: \new StaffGroup << \new Staff \…

Repeat-bar-lines with angle-wings for whole StaffGroup (manually)

Affecting items only on the left or right of a line break (BarLines, KeySignatures, Clefs, etc.) [0.13393]

…ly:grob-set-property! g 'color color))) #{ \once\override Staff.BarLine.after-line-breaking = #color-at-line-begin #}) colorBarLineEnd = #(define-music-function (color)(list?) (… …repeat volta 2 { c1 } \break \once\override Staff.BarLine.after-line-breaking = #translate-at-line-begin \repeat volta 2 { d } \break \once\… …repeat volta 2 { dis } \break \once\override Staff.BarLine.after-line-breaking = #color-at-line-end \once\override Staff.KeySignature.after-line-breaking = #rotate-at-line-begin \…

Affecting items only on the left or right of a line break (BarLines, KeySignatures, Clefs, etc.)

Hymn template (Wilhelmus van Nassouwe) [0.12500]

…bar line to 2 staff-spaces \once \override Staff.BarLine.bar-extent = #'(0 . 2) \bar "|" } myBreak = { \bar "" \break } \… …#'neomensural g\breve %% justified lines: %%\override Staff.BarLine.extra-offset = #'(12 . 0) %% ragged-right: \override Staff.BarLine.extra-offset = #'(23 . 0) \bar "|." } stich = \relative c'' { \…

Hymn template (Wilhelmus van Nassouwe)

1 2 3 4 5 Next ⇨