Questions tagged [lilypond]

For questions about usage of LilyPond, the free music engraving program. Code formatting on this site is not intended for LilyPond; workarounds can be found on meta. Questions may also necessitate the notation and/or engraving tags.

Filter by
Sorted by
Tagged with
4
votes
1answer
78 views

Creating two-staved ossia in Lilypond

How can I create an ossia in lilypond with two staves (for piano). I want the ossia to be smaller in size than the regular music and if possible have the dotted line connecting it to the actual music ...
4
votes
1answer
166 views

How to disable or limit compression of over-full pages in Lilypond?

Sometimes lilypond tries to use less pages for more music, which is not always wanted. This can be easily fixed by manually adding \pageBreak , but sometimes an automatic solution is needed. When ...
4
votes
1answer
270 views

LilyJazz major 7 triangle symbol

I'm getting started using lilyjazz to write Jazz-styled music. I'd like to get the Realbook-like notation that I'm used to featuring a triangle to denote a major seven. the jazzchords.ily stylesheet ...
4
votes
0answers
62 views

Stop Lilypond from generating multiple files

I am not sure if this is the right place to ask, but it seems like a lot of people are using Lilypond here. Every time I compile a .ly file using lilypond for Windows10 it generates too many files. ...
4
votes
0answers
43 views

lilypond: Odd horizontal spacing with two voices

In the example below I get an unwanted large horizontal gap between the d and the c. I think it has to do with a conflict between \voiceOne an \voiceTwo, because alone they are typesetted properly. ...
3
votes
1answer
396 views

Barcheck failed (Lilypond)

This piano excerpt is somewhere in movement two of "Trio élégiaque No. 2 in D minor, Op.9 (Rachmaninoff, Sergei)". Listen here: or here: ...
3
votes
2answers
27 views

How to place finger numbers below staff in LilyPond?

I cannot find out, how to place the finger numbers below the staff of the left hand staff in a piano staff. The command \set fingeringOrientation = #'(down) does not work or it only works with chords....
3
votes
2answers
298 views

Horizontal centering of staffs in Lilypond

I'm trying to set a score in Lilypond displaying several short themes each on its own staff. The themes don't span the full horizontal width, and I'd like to center them horizontally. I suspect there ...
3
votes
2answers
120 views

Lilypond - Contemporary Glissando to hidden final note

I'm trying to typeset a glissando with a known but hidden final note in lilypond 2.19.82. It's called "contemporary glissando" in the manual: Glissando Manual I've posted an example on http://www....
3
votes
1answer
68 views

How to express in sheet music that pedals and dynamics are “on” the performer

I transcribe music into sheet music. In a piece of music I am working on it is imperative that the performer him/herselves decides how he/she uses piano pedals and dynamics (the music must be '...
3
votes
2answers
97 views

Can lyrics be added interleaved with notation in lilypond

When writing vocal music in lilypond, I find it easier to find my place when there are lyrics in near proximity to the notes, so I've been using linebreaks and comments to achieve this so far: \...
3
votes
2answers
315 views

slur or tie to no note in Lillypond

I am trying to have a slured note to 'nothing' in a musical example in my paper, like this: Any tie (~) or slur () I put in Lilypond (actually Frescobaldi), nothing happens. This is the code I am ...
3
votes
2answers
664 views

Typeset whole note as full measure in 6/8 time in Lilypond

I'm trying to copy a song from a book in which they were using a whole note to represent a full measure in 6/8 time. If I try to use the whole note duration in Lilypond (1), it lasts 8/8 and ...
3
votes
1answer
76 views

Display time signature as single number above the staff

Sometimes, when a piece of music has a frequently-changing time signature, the time signature is printed above the staff. In the following example, only the numerator is printed (the denominator is 4 ...
3
votes
2answers
100 views

LilyPond : how to write numbers before staves?

I'm writing some exercises, one per line, and I would like to write a number before each one. I can't figure out how to do that, so a little help would be appreciated! My code is pretty simple : \...
3
votes
2answers
89 views

Slur With Mixed Syllabics

In my score, I have two verses where in verse 1, the slur should have one syllable per note in the slur, but in verse 2, the one word should apply to both notes. You can see that in verse one the ...
3
votes
2answers
103 views

LilyPond tie doesn't work as expecting with two voices

I want to connect two b2., but the output connected the g. How to make this work? An explanation of this issue will be more grateful. \version "2.18.2" { \clef bass \time 3/4 << { \...
3
votes
1answer
283 views

How can I change slur from above to below notes when switching staff in Lilypond?

I have a music passage that crosses from the bottom staff to the top (in a Grand Staff) with a slur. But, I want the slur to go from above the notes on the bottom to underneath the note on the top ...
3
votes
3answers
809 views

Increase space between lines of a staff in LilyPond

I have a few very short songs (about 20 bars) that I'm trying to transcribe with LilyPond. I'd like to increase the vertical spacing, in particular the space between lines, so that they take the full ...
3
votes
4answers
333 views

Unplayed 2nd voice in notation - spaces or rests

In transcribing a work for piano with two voices in each staff, I've come across a passage in which there are two voices in the LH staff for some duration, but in one measure there is only one voice ...
3
votes
1answer
40 views

LilyPond: passing music symbols as arguments to a function / markup-command

I am preparing in LilyPond a music book divided into many sections, each having a title. I want to keep the formatting of all titles in a single place, to make future format changes easier, and know ...
3
votes
2answers
30 views

In Lllypond, connect half note with 8th note beams for guitar arpeggio

I've come across guitar sheets several times where the bass note of an arpeggiated chord, written as a half note (to keep the string ringing) is connected to the beam of the 8th notes following, for ...
3
votes
1answer
62 views

Force bar numbers below the staff and chord names above in LilyPond

In the documentation for the bar number engraver, it's quite clear that the bar numbers were only ever intended to go above the staff. How do I override that behavior? It would make a part I'm ...
3
votes
2answers
102 views

Formatting Eighth Notes in LilyPond

These are the notes that LilyPond is producing How do I make the notes look like this instead? (I edited this image, sorry if the last eighth note looks bad)
3
votes
1answer
166 views

Lilypond - Repeat with Partial Mesaure at the End

This demonstrates the problem: \relative c' {c4 d e f d e \repeat volta 2 { f g a, b c d } \alternative { {e2} {e2~e2} }} (And here's a picture: I need the first ending to be half a measure, ...
3
votes
3answers
2k views

Lilypond: \transpose syntax for an entire song

I am trying to transpose an entire song from B Flat Major to A Major. There is only one part for a "C" instrument. I have it tagged as "flute", but it could just as easily function with a C Melody ...
3
votes
1answer
739 views

How to align chords, melody and lyrics in LilyPond?

I have to write down a simple song with LilyPond (my iPad music book did disappear when I've tried to recover a backup, so I think it is save to store the music sheets in text form), but I can't ...
3
votes
1answer
285 views

Lilypond - two voices, with overlapping beams

I have the following in my measure: What would I have to write, to have those <c e>'s connected with beam instead of 1/8 rests, and those in second voice bellow also? Edit upper voice : <c'...
3
votes
1answer
481 views

How do I get the bar lines in successive staves to align?

In the following, lines 2-6 have the same notes, yet the bar lines in the middle are not aligned. Is there a way to get them to align? Also, is there a way to extend the bar lines to the lyrics (here ...
3
votes
1answer
40 views

Coloring chord names in LilyPond

How do you color chords in LilyPond? For example, in the following fragment, how can you print chord names in red? << \chords { r8 d4 g4 a4 d4 d4:sus4 d4 } \relative { \time 2/4 \key d \...
3
votes
2answers
139 views

How to make position/barre markers in lilypond?

I've recently started experimenting with LilyPond (Version 2.18.2 in case it matters). I've been fairly successful in creating basic scores, but I cannot figure how to properly make position/barre ...
3
votes
1answer
198 views

How can I scale down everything that Lilypond is outputting?

How can I scale down/shrink everything that Lilypond is outputting so that I can fit more material on each page? I tried using \layout{ #(layout-set-staff-size XX) } inside the \score{} block (...
3
votes
2answers
143 views

Melisma not extending when second voice has notes during it

Having this code : \version "2.19.55" \language "italiano" soloistsMelody = \relative do'' { \time 2/4 <mi la>16 <sol re>16 <fa do>16 <sol re>16<mi la>8 <mi la&...
3
votes
2answers
285 views

Voices doubling a dotted note in Lilypond

How do you get two voices to double the same dotted note in LilyPond? Goal Let's say I'm trying to reproduce the simple four-voice example below, where tenor and bass double the G. Attempt #1 \...
3
votes
1answer
115 views

Lilypond “elevation” of rests after two voice passage

After I resolve a two voice passage that involves using \set associatedVoice, rests for the remainder of the piece are higher on the staff than before: The eighth rest at the beginning is lower on ...
3
votes
1answer
33 views

lilypond:: tacet

In German music-notation, we know the term "tacet" in order to say the musician not to play his chords for a while. How can that be typeset with lilypond? It's similar to "N.C.", but in most common ...
3
votes
1answer
44 views

Can Lilypond chordmode be made to recognize inversions?

There are times when it's convenient for me to write something like: << e a c >> or \chordmode { e:1.4.6- } in my harmony. In staff notation, everything's find, but when I engage ...
3
votes
1answer
68 views

LilyPond - supress/skip MIDI generation

When I work on my LilyPond scores, especially in the end when I just tweak on some graphical settings, it would be quite nice if it was possible to skip the Midi generation, even though it is not very ...
3
votes
1answer
46 views

How to make unpitched percussion and a pitched instrument share a staff in LilyPond?

For parts where the percussionist switches from vibraphone to maracas, for example, is there a way to combine the two on the same staff? IIRC, LilyPond treats normal staves and percussion staffs ...
3
votes
1answer
84 views

How to change clef automatically when note falls between a certain range in LilyPond?

I want to accomplish the following: Is this possible to do automatically (i.e. without the \clef tenor, treble etc). Ideally, what I would like is to specify the points, or a range at which the clef ...
3
votes
1answer
325 views

How to cross staff slurs in lilypond?

\language "english" global = { \key c \minor \numericTimeSignature \time 4/4 } right = \relative c'' { \global < g c d g >1\arpeggio \bar "||" } left = \relative c, { \global <&...
3
votes
1answer
142 views

Lilypond Lyrics Alignment - Align to first syllable

Hello I am a new Lilypond user. I have a question about alignment of lyrics. Let say I have a word, with two parts (syllable) A and B. I want the syllable A align (center) to a note, but not the whole ...
3
votes
1answer
226 views

Lilypond: Undesireable extra horizontal space with chords and lyrics

I'm working on a simple chords + lyrics (with bar lines) sheet. I'm getting a lot of extra space between a bar line and the following chord+lyric, seemingly depending on the length of the lyric in the ...
3
votes
1answer
132 views

Have tie extend past end of music in lilypond

I'm writing out a short snippet of music and would like to have a tie that extends past the end; How do I do this in lilypond? Here's what I get now: I'd like to indicate the tie back to the start ...
3
votes
1answer
536 views

Markup text inside second volta bracket

I want to format text in the headings of both 1st and 2nd ending Volta brackets in Lilypond. There are several examples of formatted text in the first ending bracket, but I cannot seem to find one ...
3
votes
1answer
72 views

lilypond: How to display changed chord names only?

In German songbooks chordnames are only displayed if they have changed. Lilypond shows chordnames at the beginning of a new line even if the chordname has not changed. Is it possible to change this ...
3
votes
2answers
133 views

Lilypond – ties across staves

Is there a way in Lilypond to tie notes across two staves? I have this fragment of an organ piece: \version "2.18.2" \language "deutsch" global = { \key c \major \numericTimeSignature \time 3/...
3
votes
1answer
82 views

Lilypond: paper spacing variables not being respected for a score inside markup

I'm doing some chords+lyrics song sheets, and trying to achieve a two column layout. From what I've read, the way to accomplish this is by putting scores within a markup block. This works to get the ...
3
votes
1answer
80 views

Augmentum broken in Lilypond Vaticana notation

While transcribing Vexilla regis I came across a weird issue with augmenta being offset to the right. \version "2.19.81" \include "gregorian.ly" cantus = \relative c' { \[ \augmentum g \melisma \...
3
votes
2answers
179 views

Reducing staff numbers in LilyPond

I have a choral piece where some of it is 4-part divisi SATB, and some of it is unison (true unison, not octaves). I would love to notate this in LilyPond with the two (women's & men's) staves ...