What's this? Searching the LSR Browse by date Contributing Snippet database | Browsing items 0−9 out of 897 |
\changePitch
, to repeatedly print a given rhythm with different notes. Its syntax is
\changePitch \pattern \newnotes
This will replace notes in \pattern
by notes in \newnotes
. If the note-count in \newnotes
is greater, the pattern is copied repeatedly. Rests or skips are allowed, and the function also works for chords.
More detailed documentation (in pdf format), and also the most recent "changePitch.ly" can be found here.
A common practice in lead sheets is to abbreviate chord changes when only the bass note is changed. s, Cmaj7, Cmaj7/B
would be written as Cmaj7, /B
, for example. There is no simple way to do this in LilyPond, but it is possible to use a whiteout hack like snippet #309 to accomplish the desired effect.
\combine
command helps, but it can only take two arguments.
By defining a new markup command which takes a list markup elements, it becomes much easier to lay out complex markup into specific arrangements, such as tables.
\markup
can be tweaked by changing the
\translate-scaled
arguments. \translate-scaled
is
used here rather than \translate
in order to let the
positioning of the symbol parts adapt to changes of font-size
.
After switching from Sibelius, I missed having all my repeat barlines have "wings" on them. It's not documented in the Lilypond documentation, but it's not too hard to accomplish. Just add this inside your Staff:
\set Score.startRepeatType = #"[|:"
\set Score.endRepeatType = #":|]"
\set Score.doubleRepeatType = #":|][|:"
When writing a figured bass, you can place the figures above or below the bass notes, by defining the BassFigureAlignmentPositioning.direction
property (exclusively in a Staff
context). Choices are #UP
(or #1
), #CENTER
(or #0
) and #DOWN
(or #-1
).
This property can be changed as many times as you wish. Use \once \override
if you don't want the override to apply to the whole score.