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
1 answer
63 views

Lilypond: how to restore Fingering.staff-padding?

In all examples I saw, the only value ever assigned to Fingering.staff-padding is #'() to make fingering be placed inside the staff. What should I do to go back to placing fingering outside the staff? ...
user avatar
  • 621
3 votes
2 answers
55 views

lilypond - forcibly write string number under the staff

I am translating a guitar part into lilypond. The string numbers (the ones that show up inside a circle) are showing up on top of the staff. Is it possible to force lilypond to write them under the ...
user avatar
  • 648
4 votes
1 answer
52 views

Lilypond verse lyrics with repeat and anacrusis

I'm wondering if someone can point me to a snippet or other example as I'm yet to find a solution ... I have a piece, a simple tune with 2 verses n Lilypond where the piano parts, melody and words are ...
user avatar
  • 41
5 votes
1 answer
111 views

lilypond - generating a single very wide score/staf instead of multiple lines/pages

I am thinking of creating a video where (originally) the viewer would see a scrolling music sheet (be it a single staff or a system or score) so I was wondering if it would be possible to make ...
user avatar
  • 648
5 votes
1 answer
87 views

Lilypond: How to remove extra vertical space for piano "play with right hand" notation

I am trying to add a half bracket with "r.h." next to it in my score, indicating that notes inside the bracket are to be played with the right hand. Here is an example measure from the Fugue ...
user avatar
  • 87
5 votes
1 answer
33 views

How can I create conductor's annotations in Lilypond?

I'm writing a second edition of a Legend of Zelda: Ocarina of Time medley I wrote and conducted in high school (it was indeed as fun as it sounds). Through our rehearsals, my director and I penciled ...
user avatar
  • 53
3 votes
3 answers
77 views

LilyPond: How to make a "Blank Staff Paper"?

I was trying to "update" and change some properties from the "Blank Staff Page" piece of code that appears here: https://snipplr.com/view/579/blank-staff-paper-with-lilypond Which ...
user avatar
4 votes
2 answers
126 views

Dash in text in Lilypond

How does one add a dash to the text in Lilypond? I would like what corresponds to --- in LaTex and — in HTML. With \addlyrics I have tried -, -- and ---, but these attempts are not ...
user avatar
8 votes
1 answer
282 views

lilypond - hide tuplet numbers

I am working on translating BWV 772 into a lilypond file. I want to make it match the manuscript as much as possible. In the first bar, Bach writes the 3s for the triplets in both voices and then you ...
user avatar
  • 648
2 votes
1 answer
75 views

How to get a footnote to appear in a bookpart title

I have been struggling to get this to work. I have the following code: \language "english" \book { \header { title = "Footnote Test" } \markuplist\table-of-...
user avatar
  • 87
2 votes
1 answer
48 views

Align note with grace note in different stave in LilyPond

I am trying to make something like this in LilyPond, where the note in the upper stave is aligned with the grace notes in the lower staff: Any solution should also work after a time signature change, ...
user avatar
9 votes
1 answer
551 views

Can Lilypond change MIDI instruments during a piece?

I am writing a brass piece that includes the instruction con sordino for the trumpet at one point. As there is in fact a muted trumpet MIDI instrument, I would like to switch the staff's channel to ...
user avatar
4 votes
1 answer
74 views

How to get Lilypond to produce a "repeat lyrics here" mark?

I'd like to get lilypond to produce the ://: mark above the stave used in hymnals (at least) to indicate "repeat the preceding line of words here" - for an example of what I mean, see the ...
user avatar
  • 41
2 votes
1 answer
62 views

Lilypond: Ossia at the bottom of a page - howto?

Händel's Allemande from HWV 437 has three trills wich I would play in an identical manner. To illustrate how exactly they are to be played (for me to remember) I want to add a footnote at all three ...
user avatar
  • 413
6 votes
1 answer
146 views

How to display Alt chords in Lilypond?

I can get Lilypond to display Alt chords on a lead sheet by explicitly spelling the Alt chord, but this seems like a real nuisance. Here is an example: \version "2.22.2" \header { title =...
user avatar
1 vote
1 answer
47 views

creating a bookpart generating scheme function in lilypond

I am creating a piano book in LilyPond, which I am using for the first time. I am separating each piece into its own \bookpart, and if any of them have multiple movements, then each movement is in a ...
user avatar
  • 87
3 votes
1 answer
75 views

passing a variable between files

I'm running into an issue trying to pass a variable between three files. For example: in fileA.ily I have the variable number = "3" in fileB.ly I have the statement \include "fileA.ily&...
user avatar
  • 31
6 votes
1 answer
78 views

How do I customize the fingerings in fretboard diagrams when using predefined-guitar-fretboards?

I have the following LilyPond code: \include "predefined-guitar-fretboards.ly" verse_one_progression = \chordmode { \set chordChanges = ##t g4 g g8 g~ g4 g4 g g8 g~ g4 \break \set ...
user avatar
3 votes
1 answer
97 views

Two \tweak in a LilyPond variable

Per the manual, I am trying to define a variable that inserts "p dolce" dynamics. pDolce = \tweak DynamicText.self-alignment-X #LEFT #(make-dynamic-script (markup "p&...
user avatar
  • 621
5 votes
2 answers
88 views

Get the current time signature numerator/denominator

I'm transcribing a piece with extremely frequent time changes. Some parts have a lot of full-measure rests. I'm trying to define a function that produces a full-measure rest based on the current time ...
user avatar
3 votes
1 answer
58 views

How to fix legato errors on repeats

I'd like to fix two errors with legato appearance near the repeat sign. I'd like the legato before the repeat (inside the 1st volta) to extend slightly to the right from the A note to emphasize that ...
user avatar
1 vote
1 answer
58 views

LilyPond: stack order of Multimark engraver

I continue my struggle (began here) with engraving Barrozo's collection of Czerny exercises. The problem is in engraving brackets that Barrozo uses to mark parts for repetition. Following advice of ...
user avatar
  • 621
3 votes
2 answers
886 views

Why is lilypond treating this measure with 3⅓ beats?

The problem I'm currently working on a joke piece to learn the lilypond software and came across this unusual bug. I currently have this in the code: \clef "percussion" c'1^\markup "...
user avatar
3 votes
2 answers
88 views

Modify Slur/Tie Stencil

I've always been fascinated by the shape of SCORE's slurs/ties and I'd like to achieve this look in Lilypond. My reasons aren't purely aesthetic. Somebody created this code for me years ago but it has ...
user avatar
2 votes
2 answers
56 views

Space between Lyrics and Stave, no paper effect related to remove "Bar_engraver"

Using modern gregorian notation, I remove the bar engraver, but that causes that the space between Lyrics and next Stave shrinks. I want to increase the space between the Lyrics and next stave but ...
user avatar
  • 171
2 votes
1 answer
84 views

Square brackets in lilypond

How can this be done in lilypond? I've tried using analysis brackets, however they don't work when a bracket ends and start from the same note - it just joins the brackets into a large bracket. ...
user avatar
  • 255
3 votes
1 answer
112 views

Color sharps in key signature with lilypond

Is it possible to color the sharps (or flats) in a key signature using lilypond? Notes can be individually colored: \version "2.22.2" \score { \relative { \key a \major \omit Score....
user avatar
  • 255
3 votes
2 answers
41 views

Lyluatex Reuse code: Stylesheet or newcommand

I color all stanza numbers in many hymns (typically with red) but i I would like to keep the definition of color in a stylesheet and only pass "the number and dot" of the stanza as parameter ...
user avatar
  • 171
3 votes
1 answer
57 views

Lilypond - Modern Gregorian Drop Cap Letter

How can I replace a section of the instrument name with a big drop cap letter colored red? \score { \relative { c' c c c c c c c } \addlyrics { longtext longtext longtext longtext ...
user avatar
4 votes
2 answers
264 views

How to write a sharp (#) or hash-tag in Lilypond markup

I want to write a Cis (C-sharp) with markup{}. I am aware that there is a difference between the usual hashtag sign # (used in commenting code or on twitter) and the muscial sharp sign ♯. With the ...
user avatar
  • 205
3 votes
3 answers
407 views

Teaching theory online with real time music notation

We're about to give online music theory lessons to primary school children and would like advice on notation software to use in the lessons to give real time examples - at the moment we're considering ...
user avatar
  • 255
3 votes
2 answers
368 views

Center a note in lilypond

How do I achieve this in lilypond? This is my attempt: { \hide Staff.TimeSignature d4'' \bar "||" } The issue is with the horizontal spacing - is there a way to hide/delete the time ...
user avatar
  • 255
5 votes
3 answers
104 views

NullVoice is affecting the orientation of ties and slurs in LilyPond

Adding a NullVoice to a staff with two other voices affects the orientation of ties and slurs. Consider the following three Examples and their output: \version "2.22.2" << \new ...
user avatar
3 votes
1 answer
189 views

Chords are skipping a line in lilypond

I'm trying to produce a piece containing only chords and lyrics in lilypond, and I want to use one set of chords for different verses. Yet, I don't understand why the chords won't appear over the ...
user avatar
  • 317
5 votes
1 answer
87 views

Lilypond- Half diminished Seventh symbol

I'd like to write notes with explicit chord notation. I have \set majorSevenSymbol = \markup { \super "maj9" } Which works just fine, so was trying to guess something similar like: \set ...
user avatar
  • 51
2 votes
2 answers
93 views

Lilypond: Set key change signature before D.C. or D.S., and different key in next line

Imagine you have a piece consisting of 3 parts, say A, B, C, and they appear in order A B A C. You want to typeset this in the following form with Da Capo and a Coda, and a line break after the "...
user avatar
2 votes
2 answers
66 views

Lilypond: Is it possible to globally display boxes around every single item on a page?

Assuming that Lilypond is (La)TeX in disguise, every single entity on the final page should be an invisible box with its respective content. Is it possible to display every of these boxes? Ideally ...
user avatar
  • 413
5 votes
1 answer
127 views

Shift trill symbol horizontally in Lilypond

I'm rewriting (with Lilypond) an old copy of Händel's Allemande HWV 437 and I can not recreate the orignial position of the trill symbol. In the original the ornament begins with the note 'b', yet ...
user avatar
  • 413
3 votes
2 answers
110 views

How to force a page break in LilyPond

I'm trying to force a page break by using the manual page breaking mode in LilyPond. Yet, I cannot make a working example. Consider this snippet (main.ly) \version "2.22.2" \include "...
user avatar
  • 317
4 votes
1 answer
50 views

Adding a section label over the staff

I'm trying to add some text to mark the sections in the score, and I'm doing this with the \sectionLabel command. The following snippet doesn't seem to work though; no text appears at all. What am I ...
user avatar
  • 317
6 votes
1 answer
78 views

How to write parameterized functions in LilyPond?

The LilyPond code below creates two notes, including their names on top and the corresponding fingering chart for saxophone. \version "2.22.0" #(print-keys-verbose 'saxophone) #(set-global-...
user avatar
  • 205
1 vote
2 answers
60 views

Can lilypond grace note beams be added to regular beams?

I'm engraving Bach Invention 4 (D Minor) BWV775 in Lilypond and the existing score has grace notes (measure 37) beamed from a regular note: My reading of https://lilypond.org/doc/v2.21/Documentation/...
user avatar
  • 907
3 votes
1 answer
102 views

Using chordmode in tabstaff for ukulele shows the wrong fretted strings

I'm pretty new to music and trying to use lilypond. I want to write some chords and have the tabstaff match up with the chordnames and fretboards on a ukulele. Here's my lilypond file: \version "...
user avatar
  • 33
1 vote
1 answer
43 views

Correct Connected (Across Staves) Arpeggio Collission

In context, the collision looks like this: Here's a minimum example that appears to reproduce the problem: \version "2.22.1" rh=\relative c'' {\key des \major <g g'>4.( <e e'&...
user avatar
3 votes
1 answer
75 views

LilyPond: Allow dynamics (or other outside-staff objects) within the staff

I tried \version "2.22.1" \language "english" { \dynamicUp \once \override DynamicLineSpanner.staff-padding = #0 \once \override DynamicLineSpanner.Y-offset = -3 b'\f } ...
user avatar
5 votes
2 answers
178 views

How Do I Insert Markup (ritardando) Without a Note

In the solo voice here: a ritardando shows up on beat four of the measure, but there is only a whole note in the measure. If I attach the ^\markup{\italic rit.} to that whole note, the ritardando ...
user avatar
1 vote
1 answer
51 views

How To Split Chords Across Staves

Using \autoChange \relative ..., one can set music across staves, but chords don't seem to follow the same rules: How do I get the music to look more like this: (code for the right hand) \autoChange ...
user avatar
0 votes
1 answer
40 views

Tempo Marks On Each Part Individually, but not in Score

I have a part that looks like this: And another like this: What is the best way to make the score look like this: (only one "Adagio") without having to change the lilypond source files ...
user avatar
0 votes
1 answer
52 views

Lilypond \easyHeadsOn: How to increase font size and make them bold inside a note head?

I am trying to annotate each note using tonic pitch names, so that it will be easier to sing these notes. Lilypond has this very nice feature \easyHeadsOn: https://lilypond.org/doc/v2.21/Documentation/...
user avatar
3 votes
2 answers
236 views

How to engrave these rest symbols in Lilypond?

The original instrument in the note below is violin, I'm engraving this piece for another instrument using Lilypond V2.20. How to make the rest symbols look like this in the first line below? And, ...
user avatar

1
2 3 4 5
10