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
18 views

How do I change the Lilypond title font?

This should be fairly simple but I'm getting lost in instructions. What is the easiest way to change the font for the tune title only? I don't want to change the whole family of fonts for the whole ...
2
votes
3answers
41 views

Include an inline time signature in Lilypond \markup block?

How can I create inline time signatures like those displayed in the above paragraph from Behind Bars inside a Lilypond \markup block? Do I need to manually draw the time signature, like a simpler ...
3
votes
1answer
50 views

Create new \score-like context/template in Lilypond

My current project is to create a number of short snippets for doumbek. To create each snippet, I use the following \score block: \header { piece = "Name here" } % different for each ...
4
votes
1answer
130 views

Prevent collision/overlap of ties in Lilypond

Running the input \score { \relative c' { <c d f g b c>4~ 4 } \layout { \context { \Score \override SpacingSpanner.base-shortest-duration = #(ly:make-moment 1/16) ...
2
votes
1answer
49 views

Lilypond Scheme Substitution function not using its arguments properly?

I would like to create a Lilypond music function that allows me to express this MWE: { \override Score.SpacingSpanner.base-shortest-duration = #(ly:make-moment 1/30) a b c } as \spn #1 #30 { a b c } ...
2
votes
1answer
70 views

LilyPond: phrasing brackets above the staff

Consider the following piece of sheet music: It has right-angle brackets in the beginning and in the end. How can I engrave it with LilyPond? Here is a template for the piece: \version "2.22.1&...
5
votes
2answers
190 views

LilyPond: étude number on the left of the system

I would like to typeset several Czerny's études in LilyPond. In the original text they are numbered, like this: How can I get this number on the left of the system? I understand I can kind of mock it ...
1
vote
3answers
67 views

Lilypond: How to insert a white space to shorten the last line?

I'd like to have the result as in the image. Is there a specific method to have that white space after the bar?
4
votes
1answer
47 views

Lilypond variables in \relative score

I've been avoiding using variables in Lilypond as the pieces I've been scoring have been short but I'm now beginning to use bars (phrases?) repeatedly. What is the best approach to the problem of ...
4
votes
2answers
396 views

How to generate MIDI of a drum score in Lilypond?

I am beginning to experiment with Lilypond, trying to see the possibilities for writing drum scores / lead sheets. So far I have found the \drums notation, as well as \midi { } command. However, when ...
1
vote
2answers
66 views

lilypond - make it start counting from a partial opening measure

We have noticed that when a part starts with a partial measure, LilyPond will consider the first measure to be the following one. Is there an easy way to tell LilyPond to start counting from the ...
2
votes
1answer
60 views

Lilypond: How to tell the midi file not to play the hidden notes? [closed]

I noticed that the Frescobaldi midi file produces the hidden notes. How to avoid this?
2
votes
2answers
63 views

lilypond - start measure on second volta if first volta mesure is not complete

I am trying to transcribe a Bach manuscript from BWV 1004. Bar 9 of sarabande has what looks like a Segno. Then in measure 25 we need to jump back to this segno. I have this for measures 24-26 % ...
3
votes
1answer
108 views

Lilypond avoid \melisma code

To align lyrics to music properly, instead of using \melisma and \melismaEnd, I found this method: \version "2.20.0" ... \addlyrics { Che -- _ _ _ ta -- na __ _ _ _ } Is this ok? or is better to ...
3
votes
1answer
62 views

Lilypond: How to write - when the left hand should play more than the number of notes per bar as per the time signature

This is what I am aiming for: How can I tell LilyPond that the c1 in the first three measures is to be played by the thumb of the left hand in parallel with the other three notes also played by the ...
10
votes
2answers
1k views

lilypond - how to hide an accidental

I am writing a JS Bach manuscript in lilypond. I want to just write what he wrote without adding any editorial stuff... and I am kind of struggling with accidentals. In (at least) this manuscript (BWV ...
4
votes
1answer
150 views

Instrumental intro on "Piano and melody with lyrics" score in LilyPond

I am creating a LilyPond piano/vocal score starting with the Template A.3.2 Piano and melody with lyrics. In my piece, there will be several bars of instrumental introduction before the vocal line ...
5
votes
2answers
558 views

Lilypond: Putting left hand notes on treble clef - one more question

Similar to my earlier question - How to put Left hand notes on the treble clef But this still has me stumped - This is what I am trying to achieve: This is what I am getting: My right hand is: \...
10
votes
3answers
564 views

Multiple staccato dots on minim with tremolo repeat in Lilypond

I'm writing a piano reduction of Gustav Mahler's 4th Symphony (to help study the score and practice music notation, but mainly just for kicks 'n' grins) using GNU LilyPond. (Yes, I know, I'm totally ...
7
votes
1answer
209 views

How to put Left hand notes on the treble clef

I want to put a note to be played by the left hand on the treble clef - using LilyPond. How can this be done? What I want to achieve is like this: This is how my code looks right now: Right Hand: \...
5
votes
1answer
100 views

How to represent beams broken with rests in lilypond

I'm trying to write the following in Lilypond notation: As shown in the circled parts of the image, there are two different ways of representing a beam that spans a sixteenth note - a sixteenth rest -...
8
votes
2answers
428 views

How to annotate staff with beat numbers in Lilypond?

I would like to annotate a RhythmicStaff with Beat Numbers - as in the following picture: Perhaps, one could use the '_' character after a note to add numbers connected to a note at the beginning of ...
3
votes
2answers
112 views

Lilypond: How can I write Lyrics without notes?

For some files, I want to add lyrics only, using Lilypond. And for some texts I want to add ties in the lyrics, I don't know how to format it probably like a normal text. Can I use ties in markup mode,...
3
votes
2answers
55 views

Fragment of a bar before break when transitioning to staff group

Here is a demonstration of what I want to achieve. A single staff for a few measures, then additional staves joining to form a staff group: However, with a key signature, I get an additional fragment ...
6
votes
2answers
730 views

Lilypond: natural+flat accidental in front of the note

I can not find a way to have both a natural and a flat accidental in front of a single note. How can I get this in LilyPond?
2
votes
0answers
34 views

align markup to bottom of page

I have some music where I put the stanzas below: \version "2.20.0" #(set! paper-alist (cons '("size8" . (cons (* 8 cm) (* 8 cm))) paper-alist)) \paper { #(set-paper-size "...
2
votes
2answers
106 views

Glissando without a final note too long

I've tried different methods to have a glissando without a final note. The problem is that the glissando sign is too long whatever the hidden note is. I need a short glissando sign. Is that possible? ...
4
votes
1answer
235 views

how to disconnect two notes

I’m rewriting a sheet of music where the first two notes are separate, but lilypond connect them. How to disconnect those two 1/8 notes? Thanks. see exemple: http://lilybin.com/rexyws/1
4
votes
2answers
330 views

"Wrong number of arguments to #<procedure #f (music)>" when trying to execute a snippet from Lilypond Documentation

I'm trying to use the code from a snippet found on the official documentation on "Displaying pitches" (scroll down to "Known issues and warnings"): \version "2.18.2" ...
0
votes
1answer
82 views

Repeat bar errors

I'm triyng to have the second line open at the end as the first. But with repeats bar at the third line the second line get a bar and if I try to overrite with \once \hide Staff.BarLine also the bar ...
1
vote
1answer
66 views

Add special text and sign marks to measures

I wonder what is the best way to add the yellow signs and text (attached) in LilyPond code?
3
votes
1answer
62 views

enhance woodwind diagram for eight holes

Hi there, A code for changing woodwind diagram from six holes into seven holes is shown below. Can someone help to change it to eight holes as shown in picture below? \version "2.22.1" % ...
3
votes
1answer
57 views

Manipulating the appearance of instrument names and staff group names

In Lilypond, I am trying to change the appearance of instrument names and staff group names. Below are two images; the first is what I currently have and the second is the look I am trying to achieve. ...
1
vote
1answer
73 views

Doubling part's staves in LilyPond

I am trying to typeset some music in Lilypond, where there is a player doubling on an auxiliary instrument. I would like the 2nd flute player to change to 2nd piccolo. But I also want the staves to ...
2
votes
1answer
77 views

Lilypond error: Loose column does not have right side to attach to

in every song that I compile there is the message: "programming error: " but at the same time Frescobaldi says: "Completed successfully in 1.9" Why that error? Lilypond code below: ...
10
votes
1answer
451 views

How do I write hairpins and dynamics between staves in LilyPond?

Here's a minimal example of the sort of result I want to produce in LilyPond. (This was produced in Finale.) Notice that the crescendo-stop, f, and decrescendo-start align with a note in the bottom ...
2
votes
1answer
39 views

how to force lyrics under manually beamed notes

If I do not specify any manual beams and let the algorithm do it, lyrics are put at each note: \relative { g'4 e8 g8 g4 e8 g } \addlyrics { a b c d e f } But if I do it manually and forbid the ...
-2
votes
1answer
80 views

Why is my LilyPond code not including barlines?

I really do not understand why no barlines appear in my simple LilyPond code. Here a part of my code: \version "2.22.1" % this is my first score \language "english" \header { ...
3
votes
1answer
85 views

Can't find in Lilypond docs - how to place notes in a chord?

How do I tell Lilypond which side of a stem I want individual chord tones on? With a simple chord in single angle brackets, like <e g b> <e a c>, the note heads all go to the left (default)...
5
votes
1answer
160 views

Move tempo signature up from staff

In the code example below, I'd like to move the tempo signature "Slow 80" on the sheet music a little bit up. Is this possible? \header { title = "test" subtitle = "123&...
2
votes
3answers
131 views

align notes vertically disregarding their duration

I am trying to make a book page for explaining different notes and their durations. What I currently get is this: How can I align the notes vertically? (i.e., spacing in each line should be as in the ...
3
votes
1answer
235 views

Error and flat notes

Lilypond gives me an error in the second line but I can't find out where it is. Plus in the last line all the F note are flat (ff) but the second F note even if it is written correctely do not show ...
2
votes
0answers
67 views

Triplet round instead of square [duplicate]

I'd like to use a round bracket instead the square bracket for the Triplets but I can't find a solution. Here the exemple with regular square bracket: http://lilybin.com/iqdj8r/1 Thank you!
1
vote
0answers
30 views

outsource inside-lyrics markup as custom command

I have some music with lyrics. Inside the lyrics is a markup: \relative { e'4 e d f g a } \addlyrics { ha -- cky me -- lis -- ma \once \override LyricText.extra-offset = #'(-0.11 . 0) \markup ...
2
votes
1answer
44 views

markup that allows overlap

How do I make my footer allow overlapping with other markup? I have defined my footer to show page numbering: \paper { oddFooterMarkup = \markup \fill-line { "" \on-the-fly #print-...
3
votes
1answer
339 views

Space the score notes evenly

Is there a way in LilyPond to space the score notes evenly? In the sample image made with LilyPond 2.22.01 the notes are not equally spaced. Edit The idea is to get all the notes to be spaced equally ...
3
votes
1answer
75 views

lilypond scheme function optional argument

How do I make an argument in a scheme function optional? This says A Scheme type predicate for which argN must return #t. There is also a special form (predicate? default) for specifying optional ...
2
votes
1answer
77 views

correctly calling a lilypond scheme function

I have some general questions regarding calling a scheme function which I will ask using the following example code (which gives no errors and produces an output pdf): \version "2.20.0" ...
8
votes
1answer
194 views

Add text at the end of the score in LilyPond

Is it possible to add a text at the end of the score like in this example?
5
votes
2answers
184 views

Frescobaldi does not create files

I am using LilyPond with Frescobaldi editor. It sometimes happens that Frescobaldi stops working, that is: If I change something in the .ly file (e.g. some string) and hit the Lilypond button (or ...

1
2 3 4 5
9