A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

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
5
votes
1answer
653 views

Is there an easier way to notate this excerpt in LilyPond?

<< <des f aes c g' bes>1 \arpeggio { <<c''1 {f4. (c8 c2)} >> } >> It seems too difficult to do this in LilyPond. How do I do it?
5
votes
2answers
485 views

Lilypond finger placement brackets

In music sheets intended for beginner harpists it's very common that the fingering includes not only the numbers but also brackets that indicate which fingers are positioned at the same time, ...
5
votes
4answers
1k views

Partial Measures with Matching Ending Measure

In a hymn I am working on, the first measure is partial and has only an eighth note, but the Time Signature is 6:8. Someone told me that the ending measure should also be offset in reverse to make up ...
5
votes
2answers
738 views

Is there a single command for vertical padding in LilyPond \markup?

The documentation for \markup alignment lists two essentially different padding commands: \pad-around or \pad-markup, which adds the same amount of space all around the element, and \pad-x, which adds ...
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. ...
5
votes
1answer
71 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 ...
5
votes
1answer
1k views

LilyPond vertical spacing, alternate endings, and chords

I am typesetting a score that contains alternate endings on a volta repeat, as well as chords (using LilyPond 2.17.97). By default, the following MWE: song = { \repeat volta 2 { ...
5
votes
1answer
1k views

Rendering second ending closing bar when followed by another repeat in Lilypond

Using Lilypond, I'm engraving some music that consists of two parts that are repeated. The first repeated phrase contains an alternate ending. By default, Lilypond renders the MWE below: \version "2....
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 ...
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
625 views

Cross-staff chord in score with multiple voices in Lilypond

Assume I need to reproduce the following piano music. Notice the middle "voice" spans both staves. How would I accomplish this using Lilypond? (I am aware of a hack involving adjusting the stem ...
5
votes
1answer
345 views

lilypond: can I combine \autochange and \change Staff?

With a PianoStaff, and having all the melody in the upper staff, if we put \autochange before the melody, the notes will be displayed in the upper or the lower staff depending on their height. I would ...
5
votes
5answers
265 views

How to specify global markup font-size or other property in Lilypond

Can I do this in Lilypond? I believe it's possible, however I could not find anything in docs about this. My question is, instead of repeating like this: g16-\markup {\tiny\underline\typewriter 1/16 ...
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 "...
5
votes
1answer
208 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 ...
5
votes
2answers
157 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....
5
votes
1answer
277 views

Lilypond: How to engrave lowercase chord symbols

My goal is to engrave music for accordion and I would like to have my chords symbols as follows: Bass tone: always uppercase: e.g. A E D Chords: always lower case: e.g. major chords a e d; minor ...
5
votes
1answer
94 views

How to print overlapping system start delimiters with lilypond

Is it possible to have overlapping system delimiters (braces and brackets) in lilypond? I know how to do complex nested hierarchies, but they're always nested. I can't figure out how to start, for ...
4
votes
2answers
719 views

How do I put musical symbols in text fields using Lilypond?

I am writing a score using Lilypond and I want the title of a staff to be "Concert D flat major". How would I replace the word "flat" with the corresponding marking? Here is an example of what I have ...
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
2answers
83 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 ...
4
votes
3answers
195 views

Write some text before music staves in lilypond, like instrument names

Is it possible to write some text like "Here is an example of a diatonic whole step" and enter the notes just for a measure length and then keep writing some text after that, I've been reading ...
4
votes
3answers
179 views

Is there a way in Lilypond to omit entire staffs from the pdf layout but listen to them in MIDI?

I'm using Lilypond to compile music for my church choir. I've recently discovered the use of midiMaximumVolume and midiMininumVolume so I can highlight a given staff to isolate a part. I produce ...
4
votes
1answer
258 views

Horizontal spacing of notes with multiple staves

I created this minimal example : \version "2.21.0" \include "italiano.ly" soprano_notes = \relative do' { fad fad16 sold8 la16 re4 re16 re8 re16 re4 re16 dod8 si16 dod2 } alto_notes = \...
4
votes
2answers
1k views

example song with lyrics and instrumental introduction?

I really need help for how to create a song in lilypond that has both instrumental portions and verse / chorus portions. Like a real-world practical song. I want to be able to create something like ...
4
votes
2answers
402 views

Notating lilypond triplet inside of slur

I'm trying to have a slurred triplet inside of some lilypond notation, but I get the following error: music.ly:32:52: error: syntax error, unexpected EVENT_IDENTIFIER a(b cis a e'-.) e e8(d \...
4
votes
1answer
135 views

Merging several measures of score's part in LilyPond

I'm wondering if is it possible to notate a score like on the picture below in LilyPond. The problem here is that the third measure of the topmost part (which is flute, actually) should be stretched ...
4
votes
3answers
171 views

lilypond engraving lyrics to small part with voices

I try to set a sheet of music using lilypond 2.18 and i have difficulties to engrave the lyrics to a small part of the score where I use << { } \\ { } >> to get a second voice to the staff....
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 \...
4
votes
1answer
47 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 ...
4
votes
2answers
271 views

Is this acceptable notation for a “how to play” excerpt?

I have notated (via LilyPond) how I would like a turn to be played in my score. Is this an acceptable way to notate this?
4
votes
3answers
128 views

Lilypond: Can't create title for song

The following displays only the book title. I want a separate title for each score. It shows the opus and piece, but not the title for that score. What am I doing wrong? I'm basing this on Creating ...
4
votes
1answer
173 views

In Lilypond: Can one absorb the sharps and flats in the key, in order to ease typing?

As I understood from the tutorial, the short code \key d \major cis4 d e fis would generate . Is this the only way to type it, or is there a natural way to get the same output by ...
4
votes
1answer
64 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. ...
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 ...
4
votes
2answers
234 views

Question about beaming in LilyPond

I've recently installed LilyPond and Denomo and found them to be great tools. However I can not seem to learn how to make a beaming pattern like this: This is the bar in Denemo gui: My LilyPond ...
4
votes
1answer
144 views

Repeat symbol in the middle of the measure because of my lyrics and a starting rest

I know what my problem is, just can't find how to solve it. I have this (I hope) minimum example showing exactly what my problem is : \version "2.18.2" \language "italiano" \score { \new ...
4
votes
3answers
1k views

Lilypond: How can I put the chord names above the right notes?

it's my first time creating a lead sheet with a melody, lyrics and chords. I just can't figure out how to place the chord symbols where I want them, they just appear "anywhere". I looked on the ...
4
votes
2answers
161 views

Unsure how to move text outside of staff in LilyPond

I'm attempting to notate a choral psalm where only certain refrains are sung in four-part harmony, with the first few refrains are just the unison psalm melody sung by all parts. I'm attempting to do ...
4
votes
1answer
518 views

lilypond : tuplet vs. times

Reading some examples of lilypond codes, I sometimes see \tuplet and sometimes \times for engraving nuplets. In the documentation, the french (using \times) and the english version (that uses \tuplet) ...
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 ...
4
votes
1answer
151 views

How to draw a rectangle for reciting tone in chant transcription in LilyPond

I am trying to use LilyPond to transcribe chanted music using mostly modern notation. I've read http://lilypond.org/doc/v2.18/Documentation/learning/gregorian-transcription-template, which was quite ...
4
votes
1answer
121 views

Putting text in a repeat without repeating the text

I want to put text in a repeat unfold in Lilypond without repeating the text, so that it only shows up on the first instance of the phrase. I can't put it on the previous note because the repeat ...
4
votes
1answer
69 views

Unable to switch text fonts in LilyPond

I've followed all the instructions to set custom fonts in LilyPond and nothing seems to be working. I was originally attempting to set IM Fell English Pro as the document font, but I've set everything ...
4
votes
1answer
94 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 ...
4
votes
1answer
107 views

How can I increase the spacing between a fermata and the note in Lilypond?

I'm notating a piece of music with Lilypond, and am running into an issue where the fermata symbol is consistently too close to the note it's attached to. The problem is emphasised by some nearby ...
4
votes
1answer
117 views

How do you center partial measure rests in LilyPond?

I'm trying to use \partial to create a pickup in lilypond and I'm trying to fill it with rests so I use the command: \partial 4 r4 It works, but the output is ugly and off center: How do I make ...
4
votes
1answer
171 views

Get segno to appear above chord-names in lilypond

Problem: the segno appears between the staff and the chord-names, pushing the chord names up, which makes them hard to read: I'd like to have the sengo appear above the chord names (so that the chord ...
4
votes
2answers
227 views

How do I define an Lilypond/Scheme alist as cons of two a lists?

I have pitch names defined as a alist in Lilypond as below and it works fine. \version "2.18.2" pitchname = #`( (saa . , (ly:make-pitch -1 0 NATURAL)) (raa . , (ly:...