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
3
votes
1answer
43 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
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
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
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 ...
4
votes
1answer
65 views

How do I raise or lower Lilypond's “repeat percent” symbol?

Lilypond's "\repeat percent" construct enables you to express a repeating musical snippet by writing the first occurrence in full then using a symbol as a sort of "ditto" mark for the later ones. ...
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 ...
4
votes
1answer
54 views

Bar lines in wrong place after removing staff lines

I need to set a rhythm-only piece in lilypond without staff lines. The following almost works but it puts the bar lines in the wrong place. It thinks I'm in 4/4 when I set it to 3/4. \score { \new ...
5
votes
1answer
55 views

LilyPond - setting different staff-sizes for different scores in “2.18”

I'm truing to use different staff sizes for different scores or at least book-parts in LilyPond "2.18.2". There is a question on here about setting the staff-size globally, which does not solve my ...
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 ...
4
votes
1answer
35 views

LilyPond - compile midi output only

Is there a way/command-line option, to make LilyPond only compile the \midi {} output, even though there is a \layout {} block in the source.ly file? Just been going through The Command Line Options ...
4
votes
1answer
35 views

lilypond-book cropping the bottom of a png, Any way around this?

I am working on a purely personal project. Unfortunately technology is getting in my way. Included at imgur are two images, one is correct the other has the bottom cut off. Is there anyway of ...
13
votes
2answers
914 views

LilyPond - how to write a basic makefile

During the last years I tought myself to write scores using LilyPond and furthermore to make file handling easier by using Bash scripts. Recently I started a project a little bigger than only one or ...
1
vote
1answer
36 views

LilyPond - changing the output format and resolution of a preview image

I use the folowing command to get preview images of my scores: lilypond -d preview -o preview/ my_file.ly -d sets the output to the first line including titles -o to select a different output ...
5
votes
1answer
103 views

LilyPond - change tuplet bracket to a small bow

I have a Cello piece from Sebastian Lee, that uses quite a lot of tuplets. My snippet with the default LilyPond setting looks like this: this looks pretty nice, the problem is that a beginner could ...
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 '...
2
votes
1answer
34 views

LilyPond – omit first page-number when numbering formatted by markup

I use this snippet to reformat the LilyPond page numbering: pagenumcol = \markup { \column { \vspace #0.5 \fromproperty #'page:page-number-string } } copyrightcol = \markup { \fill-...
2
votes
3answers
42 views

Consistent use of LIlypond Transpose Function

From the current lilypond doucmentation: http://lilypond.org/doc/v2.18/Documentation/notation/changing-multiple-pitches I see the following explanation for the function \transpose: \transpose ...
4
votes
2answers
84 views

Music engraving - chord with different note lengths (half and quarter)

Another engraving question arised from the same book Sebastian Lee; Op. 70 In Nr. 40 there are two chords, containing half and quarter notes: since this is a cello score, and you can not play three ...
5
votes
2answers
659 views

Music engraving - note with two accidentals - natural (♮) and sharp (♯)

I have a cello score here from Sebastian Lee; Op. 70. Nr. 37 in bass clef and the key of c minor contains the following part: what is the sense of this 5th note in the upper staff? why is it using ...
2
votes
1answer
33 views

Second ending is shifting note values for remainder of song

I am currently working on a Christmas setlist for bagpipes. The second ending doesn't seem to count the note from the previous measure and as a result, it shifts the high a eight note to the next ...
2
votes
1answer
40 views

Is there a way to get two songs on a single page using lilypond-book?

I am currently using Frescobaldi to edit my lilypond files. I have several short songs (a half-page or less) that I would like to combine into a set with more than one song on each page. Currently, ...
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
1answer
64 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
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
1answer
48 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
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 ...
5
votes
1answer
62 views

Placing beam between staves with autochanging voice in LilyPond

I have a PianoStaff with two voices on the right hand. The lower voice with eighths is spread across the staves with \autochange and the additional pitch parameter nicely controls the turning point. ...
4
votes
1answer
77 views

Lilypond - autochange with alternative staves / turning point

I want a single voice drifting across two staves, and I want LilyPond to automatically decide which staff to use. (As can be seen here) For treble and bass clefs this is easily implemented with the \...
5
votes
3answers
691 views

Notation: grace note played on the beat with a chord

I want to write a four note chord in which three notes are held but one note is played and released very quickly. The extra note is played on the beat with the rest of the chord so is not an ...
5
votes
1answer
133 views

Conditionally transpose up versus down in LilyPond?

In version 2.19.x, how can I make LilyPond decide whether – and by how much – to transpose up or down, depending on a target octave/range for one of the transposed notes (I'll call that note the "...
4
votes
2answers
70 views

Merge rests in lilypond

I write a program which produces scores in lilypond. Due to some limitations in this program, the rests are written as if they were seperate notes: r2 r4. r8 | r2 r4. e''8 | r4 r4 e''2 Is there ...
4
votes
1answer
80 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 ...
2
votes
1answer
71 views

Lilypond Swing Feeling

How to properly write sheet music in swing-feeling with lilypond? Just for clarification: in MuseScore, this can be achieved as explained here. I'm a bit confused as I did not find anything useful ...
2
votes
3answers
1k views

Time signature inconsistent

I'm trying to write the first measure of the Moonlight in Lilypond From my very basic knowledge the first measure is 4 x 3 x 1/8 = 3/2 long, but the special symbol (alla breve) seams to be a 2/2. ...
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
44 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. ...
6
votes
3answers
136 views

Lilypond acciaccatura slur position

Lilypond issue: I'm trying to get the slurs in acciaccatura to look like this (generated in Musescore): Notice that the slur is beneath the grace note. However, Lilypond insists on putting the slur ...
7
votes
2answers
195 views

Migrating from commercial music notation software to free alternative

A friend of mine dislikes composing music on the commercial software he owns (Si..us). The main reason is that he is into modern, avant-garde music and the notation on his current system is just not ...
5
votes
1answer
209 views

Lilypond: Create natural signs and accidentals manually

Edit: At first, I was looking for a way to add natural signs manually. Turns out that, at least for the moment, I actually need to place accidentals manually. Generally, I might need both in the ...
6
votes
1answer
421 views

Lines too long in piece with two sections for different instruments

I'm trying to use Lilypond 2.18.2 to engrave a piece with two staff groups: a verse for piano (18 bars), and a chorus for choir (8 bars). I'm trying to follow the Lilypond example "Solo Verse and Two-...
5
votes
1answer
79 views

assistance adding back midi to a lilypond file

I had been typesetting Orthodox Christian liturgical by using the gregorian style in lilypond. For the "recitatives" where many syllables are sung to one note I have been actually separating them and ...
5
votes
1answer
72 views

How do I make the staff for dynamics affect the MIDI output?

I've written a lovely[citation needed] piece of piano music using Denemo (a graphical front-end to Lilypond), consisting of a piano staff with a staff for dynamics inserted in between them. The ...
1
vote
1answer
95 views

Adding vertical space after header in LilyPond score [duplicate]

I have prepared a \header and I would like to increase the vertical space before my first stave, which also includes chords. Is that also possible with LilyPond?
1
vote
1answer
98 views

Vertical space between stanzas

I have some songs with several stanzas. I would like to control the vertical space between the first and second stanza and the second and third stanza, .... individually. How is that possible by ...
2
votes
1answer
55 views

Stop Lilypond from placing beam around second voice

I have two voices in the right-hand staff. I'm not sure why Lilypond is doing what it is (see freehand circle) but I would like it to stop. The beam should ideally be somewhere near the red line, with ...
1
vote
2answers
75 views

Tie notes across multiple voices

I'm aware this is an FAQ but I've tried a bunch of commonly-suggested workarounds (\repeatTie, \laissezVibrer, hiding noteheads and/or stems) without success. What is the easiest way of tying the ...
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 ...
3
votes
2answers
142 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 ...
2
votes
1answer
133 views

Lilypond: Indicate alternate endings

Using Lilypond, I would like to indicate alternate endings to the piece I am engraving; an "Optional 'Screen Gems' Ending" which is 2 measures long or another "Low Fat" ending (not my terms; they are ...
2
votes
1answer
71 views

How can I transpose a quote in Lilypond?

I'm transcribing a piece that has a section where one instrument doubles another an octave lower. I'd expect something like this short example to work: oboe = \relative c' { \clef treble | c g a ...