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
2answers
244 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
2answers
120 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
3answers
222 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
1answer
101 views

How to get note names below staff in Lilypond?

I am a beginner at creating scores with Lilypond and I wonder if is there any way to make Lilypond automatically put note names below the staff (or above)? I searched the documentation but could not ...
4
votes
3answers
216 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
317 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
3answers
153 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
2answers
64 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 ...
4
votes
1answer
349 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 ...
4
votes
2answers
474 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
145 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
185 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
151 views

Clef of the lower staff does not look right in Lilypond, how to fix?

I am trying to engrave a pipa piece using Lilypond 2.20 on Ubuntu 20.04. The first several notes render like this: What do not look right: Clef in the lower part does not start with a bass symbol, ...
4
votes
2answers
92 views

LilyPond: Combine parts when identical, but split into staves when different

I'm arranging the second movement of Ravel's Ma mere l'Oye for recorder ensemble. There are two parts for tenor recorder, and I'd like to combine them into one written part. Sometimes, the two parts ...
4
votes
1answer
53 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
281 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
1answer
185 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
537 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 ...
4
votes
1answer
40 views

Aligning the start of a hairpin at the start of a bar despite acciaccatura

I'd like to get a hairpin to start at the beginning of a bar, when the bar begins with an acciaccatura, and I'm not having any luck. This is what I want: Here's what I've got instead: \version "2....
4
votes
2answers
141 views

Lilypond: How to create an ossia Staff above a PianoStaff?

When trying to create an ossia Staff, that is used multiple times, above a PianoStaff, Lilypond does not reuse the context, but creates a new one. How can I tell Lilypond to find the existing context ...
4
votes
1answer
97 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
62 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
84 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
275 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
183 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
151 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
1answer
558 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
67 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
117 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 ...
4
votes
1answer
131 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
88 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
55 views

How to create a spanner for a fingering in lilypond

I'm engraving scores for pipa, a sibling instrument of classical guitar (Pipa and guitar do have the same ancestor from central Asia). One of the most common right-hand fingering on pipa is called ...
4
votes
1answer
132 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
134 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
128 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
192 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
244 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:...
4
votes
1answer
62 views

Include \markup in define-music-function

I want a custom \breathe sign that can be freely positioned, like: I have some shortcut code for this: place = #(define-music-function (parser location xy) (pair?) #{ ...
4
votes
1answer
129 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
78 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 typeset properly. ...
4
votes
1answer
228 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
2answers
204 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/...
4
votes
1answer
321 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
58 views

LilyPond - “Table of Contents” TOC in different languages

I am working on a music-book using LilyPond with different languages (here English and German). I created a minimal working example (MWE) referring to a snippet that can be found here in the LilyPond ...
3
votes
1answer
441 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
358 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
1answer
219 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 (...
3
votes
2answers
160 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
2answers
382 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 ...

1 2
3
4 5
7