The LilyPond Snippet Repository ♪♫

What's this? Searching the LSR Browse by date Contributing Snippet database Browsing items 190−199 out of 940

Changing the tempo without a metronome mark

To change the tempo in MIDI output without printing anything, make the metronome mark invisible.

Changing the tempo without a metronome mark

Changing the text for sustain markings

Staff.pedalSustainStrings can be used to set the text used for pedal down and up. Note that the only valid strings are those found in the list of pedal glyphs - the values used this snippet constitute an exhaustive list.

Changing the text for sustain markings

Changing the tuplet number

By default, only the numerator of the tuplet number is printed over the tuplet bracket, i.e., the numerator of the argument to the \tuplet command.

Alternatively, num:den of the tuplet number may be printed, or the tuplet number may be suppressed altogether.

Changing the tuplet number

Changing the width of ledger lines

If you want to modify the width of ledger lines (for example to make them wider) you can do this by overriding the values of LedgerLineSpanner.length-fraction and (optionally) LedgerLineSpanner.minimum-length-fraction.

Changing the width of ledger lines

Changing the width of ledger lines for a group of notes

If you want to temporary modify the width of ledger lines you have to specify \stopStaff \startStaff before overriding the ledger line values.

Changing the width of ledger lines for a group of notes

Changing time signatures inside a polymetric section using \scaleDurations

The measureLength property, together with measurePosition, determines when a bar line is needed. However, when using \scaleDurations, the scaling of durations makes it difficult to change time signatures. In this case, measureLength should be set manually, using the ly:make-moment callback. The second argument must be the same as the second argument of \scaleDurations.

Changing time signatures inside a polymetric section using \scaleDurations

Chant or psalms notation

This form of notation is used for Psalm chant, where verses aren't always the same length.

Chant or psalms notation

Chord glissando in tablature

Slides for chords are indicated by default in both Staff and TabStaff.

String numbers are necessary for TabStaff because automatic string calculations are different for chords and for single notes.

Chord glissando in tablature

Chord name exceptions

The property chordNameExceptions can be used to store a list of special notations for specific chords.

Chord name exceptions

chord name major7

The layout of the major 7 can be tuned with majorSevenSymbol.

chord name major7

⇦ Previous 11 12 13 14 15 16 17 18 19 20 Next ⇨