The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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
32 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
66 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
34 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
47 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 ...
4
votes
1answer
48 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
55 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
663 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
110 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
55 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
65 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
45 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
56 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. ...
3
votes
0answers
36 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
101 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
186 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
122 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
416 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
74 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
57 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
79 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
88 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
51 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
69 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
137 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
128 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
94 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
65 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 ...
1
vote
2answers
84 views

Multiple voices (divisi) in one part

In LilyPond, how do you produce results like this? I want to go from a regular section to divisi, but I am unable to figure it out. I attempted to use \parallelMusic and \new StaffGroup, but those ...
2
votes
1answer
40 views

Changing direction of notes

Here, the last chord has a line that goes down. How do I get the last chord to be directed upwards, like this?
3
votes
2answers
94 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)
1
vote
1answer
47 views

Lilypond: How to use repeat bars in markup lyrics

I am using \markup after the score for several verses of lyrics, so roughly \score { ... } \markup { \column { \line { ... } ... } } How can I typeset repeat marks for a piece of ...
1
vote
1answer
58 views

Does lilypond have the ability to typeset bars in free or open time?

I'm using lilypond to arrange a new part for concert band by combining/picking and choosing from a couple of different parts that need to be covered, but we don't have instruments for on the ...
2
votes
1answer
155 views

Errors with slashed grace notes in LilyPond

Here's a strange issue with typesetting (in LilyPond) a work that begins with slashed grace notes (acciaccatura). First of all, I get the following error message in my console when I run lilypond (...
5
votes
5answers
188 views

Lilypond with LaTeX

Can someone ELI5 the process? I've tried reading the guide from http://lilypond.org/doc/v2.18/Documentation/usage/an-example-of-a-musicological-document but it doesn't seem to work. I am on Windows ...
3
votes
1answer
385 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: ...
1
vote
1answer
90 views

Left hand/right hand indications LilyPond

I have been skimming through the LilyPond documentation for quite some time now, and I cannot find the proper way to insert "left hand" or "right hand" indications with LilyPond. Usually, when some ...
2
votes
1answer
181 views

LilyPond does not create MIDI file

I am a new user here. I have just installed LilyPond on Windows and I am having trouble creating MIDI files together with my scores. I am employing Frescobaldi as an editor, but the problem persists ...
2
votes
2answers
83 views

Adding \new Lyrics to music throws off alignment in lilypond

The following code causes an overflow, where the music goes off the side of the page: It seems that lilypond decides where the line breaks go before considering how lyrics will change spacing. How ...
2
votes
1answer
56 views

Lilypond v2.19 - How do I add a title to the second page of the same score?

I want to add a title to the second page of the same score. How would that be possible? Here is a template: http://www.lilybin.com/3hii6e/1 Any help would be appreciated. Thanks!
3
votes
2answers
98 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
81 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 ...
4
votes
1answer
83 views

How to properly use ChordRootNamer in lilypond

I write a songbook in lilypond and want to use Czech chords. Czech chords are almost the same as German chords are. (B chord is "H" and Bb chord is "B".) Moreover, I want minor chords to be small ...
1
vote
3answers
106 views

Localization in scores

Is there some way to make localization (translate to other languages) an easier task when digitally making scores? Currently, I have two options: write a page before the score with all the ...
4
votes
1answer
45 views

How can I set \repeatTie to follow a note

I need a small tie like the \repeatTie, but it has to be behind a note, not before: \version "2.18.2" \relative c' { \clef treble \key c \major \time 4/4 r2 c4 d8 d~ \repeat volta 2 {d8 ...
3
votes
2answers
113 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/...
1
vote
2answers
79 views

Lilypond v2.19 - How do I overlap noteheads?

I would like to have the notes overlap each other, so that only the stems are turned upward. Here is the lilybin link http://lilybin.com/fr648f/1
4
votes
1answer
244 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 ...
5
votes
2answers
139 views

How do I insert bar lines in mensural style in LilyPond?

I'm playing with LilyPond and was attempting to typeset some of Fux's Gradus Ad Parnassum. As far as I can tell, Fux uses what LilyPond calls mensural style for note heads, clefs, time signatures, etc....
3
votes
1answer
77 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 ...