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
1 vote
1 answer
44 views

How to surround chordnames with bars?

I want to make a line containing only chord names, separated and surrounded by vertical bars. I have the following code << \new ChordNames \with { \override BarLine.bar-extent = #'(-0.5 . ...
Antonius's user avatar
  • 327
3 votes
3 answers
57 views

How do I make LilyPond omit all barlines except the last one?

\omit Staff.Barline works a treat for getting rid of bar lines, but when I get to the end of the score I do want a barline — just one — the usual final double bar line. There must be a \once \include ...
John Kelly's user avatar
3 votes
1 answer
49 views

How to make actually minimal page breaking in LilyPond

Consider the example below. It has 6 systems, and if I force LilyPond to put all 6 onto one page with min-systems-per-page = #6, it does, and it works well. The issue is that in real life, not every ...
yo''s user avatar
  • 2,357
2 votes
1 answer
99 views

Installing Lilypond in (La)TeX environment

Apologies if this has been asked before, but I have not found the relevant question. I am trying to use LilyPond in a LaTeX environment. From ChatGPT I should be able to use a simple file such as: \...
Oбжорoв's user avatar
5 votes
1 answer
223 views

Lilypond attaching postscript to a NoteHead

I'm making a fingering chart for a 5-valve tuba, but having some troubles. In the top line, I'm using lilypond's built in fingerings: \relative bes,,{ <bes-0> <b-123> ... } I guess ...
Stewart's user avatar
  • 669
4 votes
0 answers
64 views

Aligning staves across pages in Lilypond

I'm looking for a way to align staves in Lilypond such that the bars are at the same height on different pages. A somewhat contrived example to show the effect: \version "2.24.0" \paper { ...
heiner's user avatar
  • 141
5 votes
1 answer
116 views

LilyPond - dotted note chords

I have a problem with dotted note chords in LilyPond, for example: \version "2.22.2" \relative c { <f' g a c>4.\arpeggio } This produces: For the sake of presentation, I am ...
Lei Peng's user avatar
6 votes
1 answer
479 views

Misplaced rest in triplet

LilyPond beginner here. I am trying to set an easy shuffle beat rhythm for the drums as follows: \version "2.24.2" \new DrumStaff { << \new DrumVoice {\voiceOne \drummode{\...
Marvin Dippell's user avatar
4 votes
2 answers
169 views

LilyPond: different clefs for each voice on one staff

Here is the desired engraving: See how the tied D continues in the bass clef while the left-hand staff switches to the treble clef. Is it possible to engrave with LilyPond? Here is a MWE I tried: \...
facetus's user avatar
  • 905
2 votes
0 answers
30 views

How to write a right-hand bracket in Lilypond? [duplicate]

Somebody else already asked this for Musescore; but how can I produce a half-bracked as pictured in Lilypond?
Anon's user avatar
  • 21
4 votes
1 answer
278 views

LilyPond: how do I place a hairpin under a slur?

Here is the desired engraving (look at the last 4 notes of the left hand): Here is what I tried: sib4 la8 sol16 \< (la \! \clef bass \once \override Hairpin.outside-staff-priority = #0 sib \> ...
facetus's user avatar
  • 905
2 votes
0 answers
36 views

Lilypond: Changing \partCombine on a system-by-system basis [duplicate]

In Dorico and many published scores (such as this Mahler score), there is condensing where instruments are displayed in multiple voices and can 'separate' out when necessary. For example, on the 2nd ...
Uncodeable864's user avatar
2 votes
0 answers
43 views

LilyPond: Consistent stem/beam position (not length)

In the style of scottish snare drumming I am trying to notate, the ideal is for all stems and beams to end at the same height. Unlike concert snare, where all notes are on the line (so this happens ...
user2676858's user avatar
2 votes
0 answers
25 views

LilyPond: Analysis Brackets over 1 note or in conjunction with other functions

IIUC, the way you notate analysis brackets in LilyPond is a\startGroup b\stopGroup. For my use-case, this is inconvenient in a couple ways. Sometimes I need a bracket on just one note. a\startGroup\...
user2676858's user avatar
1 vote
0 answers
71 views

How to create a custom markup for chord names in lilypond

I am trying to display chord names left from the chord diagrams in lilypond. Based on answers in this question I was able to offset the positions of the diagrams and respective chord names, but the ...
JAV's user avatar
  • 153
1 vote
1 answer
72 views

LilyPond: Scottish Snare Notation

The notation for snare drum music used in bagpipe bands is somewhat nonstandard. Here's some simple examples of the Association of North American Pipe Band Associations (ANAPBA) standardized "...
user2676858's user avatar
1 vote
2 answers
180 views

LilyPond: Problems with the \scaleDurations function

I recently developed an algorithm in Python that allows me to generate time signatures and metronome markings and output them as LilyPond code. I use metronome indications with up to three decimal ...
kleinlosen's user avatar
2 votes
1 answer
85 views

Display LilyPond fret diagrams next to chord names instead of below

I am trying to display chord diagrams with LilyPond to the side of the chord names. By default, LilyPond renders the diagram below the chord name like so: but I want them to be side by side like so: ....
JAV's user avatar
  • 153
2 votes
1 answer
67 views

Lilypond : Multi bar, multi repeat in one measure

Following Lilypond: Single bar, multiple repeat, I want this for a multi measure repeat. I'm converted (./.) to (.//.) with percperc = \markup\concat{ \raise #0.5 \musicglyph #"dots.dot" ...
Fortissimo's user avatar
3 votes
1 answer
158 views

aliases for notes in lilypond

\version "2.24.2" { \drums { \set DrumStaff.drumStyleTable = #weinberg-drums-style tomfh } } Renders a floor tom using Weinberg Drums Style. Is it possible to assign aliases like in ...
Flo's user avatar
  • 133
3 votes
1 answer
63 views

LilyPond: Display different time signature

I'm engraving some early music, and, occasionally, to follow what is in the sources, I'd like to replace the symbol for what would be notated in modern time signatures as "3/2" or "4/2&...
AlexJ's user avatar
  • 843
3 votes
1 answer
109 views

Barlines in proportional notation disappear

Some time ago, I reached out to the lil mailing list seeking assistance with creating a Csound to LilyPond converter. The goal was to improve the readability and presentation of Csound scores using ...
cordelia's user avatar
9 votes
2 answers
720 views

LilyPond: how to restore the old figured bass font

I've been looking at the latest stable version of Lilypond (2.24.2) and noticed that the figured bass font is not the same as before. Not only that, but (without changing anything) the symbols are ...
AlexJ's user avatar
  • 843
2 votes
1 answer
86 views

Iterate through a list argument in Lilypond define-scheme-function

I'm trying to write my first define-scheme-function in Lilypond, and I'm stuck. I'm wanting to output a variable number of handbell 'echo' notations within a single measure. This is working for a ...
Mark's user avatar
  • 123
5 votes
3 answers
524 views

LilyPond lyrics affecting horizontal spacing in score

While attempting to typeset a piece of baroque vocal music, I've come upon this issue where lyrics cause uneven spacing of the notes in other voices in the score. For example, the 2nd violin on the ...
AlexJ's user avatar
  • 843
0 votes
1 answer
50 views

Create a scale in a given mode (e.g. lydian or dorian) with lilypond

How do I create a scale in a given mode (e.g. lydian or dorian) with lilypond? I've seen that the scales are defined in scale-definitions-init.ly and I've tried to apply \set Staff.keyAlterations but ...
wolfrevo's user avatar
  • 253
5 votes
1 answer
358 views

Difference between "Extending LilyPond" and "Scheme (in LilyPond)"

What are the differences between Extending LilyPond and Scheme (in LilyPond)? AFAICS there is on the one side the work of Urs Liska in this github repository that was forked by Jean Abou Samra (see ...
wolfrevo's user avatar
  • 253
2 votes
1 answer
75 views

Documentation of lilypond's scheme classes (Pitch, Score etc.)

Where are lilypond's scheme classes (Pitch, Score etc.) documented? For example the documentation of the scheme-function ly:pitch? says "Is x a smob of class Pitch?". But there is no link or ...
wolfrevo's user avatar
  • 253
0 votes
2 answers
38 views

Lilypond custom lines to denote intervals

I'm trying to display the harmonic series, and highlight the interval between each note and the octave below them. I'm imagining dimension lines as used in blue-prints. I could use some hints on how ...
Stewart's user avatar
  • 669
1 vote
1 answer
92 views

Lilypond keyboard diagrams

Does Lilypond offers keyboard diagramms? I've seen that there are guitar diagramms (aka FretBoards). But I can not find something similar for keyboard/piano.
wolfrevo's user avatar
  • 253
3 votes
1 answer
56 views

LilyPond: How can I compile a tweak macro?

I’m trying to insert a new macro with the tweak command (\tweak Accidental.restore-first ##t) in my include-all file but it doesn't work. The macro is: restoreacc = \tweak Accidental.restore-first ##t....
Sangit's user avatar
  • 147
1 vote
1 answer
62 views

Lilypond - Moving around the number for a tuplet

I'm trying to replicate a triplet drawn as a bow with the number over the bow rather than under and shifted to hover over the first note. By following LilyPond - change tuplet bracket to a small bow, ...
Frotz's user avatar
  • 113
2 votes
1 answer
129 views

Question about tempo/text markup in Lilypond

I have the following score typeset in Lilypond: and I have two question about markup: I typeset "ritenuto" (slow down) as \tempo "rit.". Is it correct? How can I move \tempo &...
Dmitry Kabanov's user avatar
4 votes
2 answers
381 views

LilyPond - opacity of objects (slurs specifically)

I am transcribing a manuscript of BWV 1011 (prelude) and there are a few slurs that appear to be a little faint: Is there a way in which the slur opacity can be controlled in LilyPond?
eftshift0's user avatar
  • 698
2 votes
1 answer
85 views

Custom scale and key signature

I am currently experimenting with microtonality in LilyPond. Mainly, I would like to switch to the Pythagorean tuning and lower or raise pitches by a syntotic comma, as in the this snippet. However, ...
FKranhold's user avatar
  • 123
2 votes
4 answers
112 views

Garbled Lilypond Output

I divided the notes of my score into 6 variables respectively called: \partOne, \partTwo, \partThree, \partFour, \partFive and \partSix. Each variable contains 20 measures of music. Then I call the ...
Niall's user avatar
  • 21
3 votes
2 answers
76 views

LilyPond Lyrics Alignment - align to syllable vowel (as found in gregorian sheets)

Is there a way to align lyrics in LilyPond in such a way that the syllable vowel (or last vowel of a diphtong) aligns to the note (or the first note of a melisma), like we find in gregorian chant ...
Laércio de Sousa's user avatar
6 votes
1 answer
111 views

Contemporary Music note group Notation

I am writing an article about Stockhausen's Plus-Minus and I wanted to take this chance to write some snippets in LilyPond. Is there anyone willing to help me to transcribe this image? This is what I ...
ddgg's user avatar
  • 71
1 vote
0 answers
45 views

Generate different scores from a template

I am a brand new lilypond user and I am struggling to understand what the best structure for my project might be. Here a simplified example of it I have a main.ly file that I was planning to use as a ...
ddgg's user avatar
  • 71
1 vote
1 answer
92 views

Lilypond lead sheet chord symbol notation

I am working with a collection of Lilypond files generated from the Weimer Jazz Database, and I've been trying to understand the rules for chord symbol notation. I've found a useful resource ...
C. Bunks's user avatar
2 votes
1 answer
38 views

Exporting a music expression to be included in another file

I'm working on engraving an orchestral work, and currently I'm using the standard note file and layout file project structure. However, for parts this requires the addition of individual files for ...
Valérie Thibault's user avatar
5 votes
1 answer
267 views

How to slur across staves in lilypond (not a single voice)?

I'm trying to engrave these phrasing slurs across two staves: I've read this question, but it seems different because the slurred phrase was a single voice that crossed between staves. In my case, ...
jtbandes's user avatar
  • 161
7 votes
1 answer
358 views

Combining wind staves for conductor's score

I'm trying to engrave a score, and I'm working on setting up the wind staves. There are two flutes, so what I would like to happen is passages where they play mostly in unison to be displayed on one ...
Valérie Thibault's user avatar
5 votes
1 answer
100 views

Lilypond \easyHeadsOn: How to show german note name H

In german the english note name B is named H (while english Bb is named B) The german note name H can be entered when using \language "deutsch". But when using \easyHeadsOn the \language &...
wolfrevo's user avatar
  • 253
2 votes
2 answers
129 views

Lilypond: Alternate, compound time signatures in parentheses

I'm trying to typeset this time signature from a hand-written manuscript: A straight-up 7/8 time signature is easy \time 7/8 The 2/4+3/8 is tougher but still not bad \compoundMeter #'((2 4) (3 8)) ...
Stewart's user avatar
  • 669
2 votes
1 answer
57 views

Lilypond: Boxed rehearsal marks with rounded corners

I'm typesetting a piece which has circular rehearsal marks. That's easy enough to achieve in lilypond with \set Score.rehearsalMarkFormatter = #format-mark-circle-numbers However, later in the score,...
Stewart's user avatar
  • 669
1 vote
1 answer
63 views

LilyPond - Can I programmatically make Lyrics align after line breaks?

Let’s say I’ve got two lines of music and words, represented here by bullets: \lyricmode { doe ray songs i whooosh there’s two lines you say } • • • • • doe ray songs i ...
Neal's user avatar
  • 3,350
6 votes
1 answer
196 views

lilypond instrumentName breaks geometry

I have a score which looks great, until I try to set the instrumentName: Without instrumentName: With instrumentName: \score { ...
Stewart's user avatar
  • 669
4 votes
1 answer
99 views

Page number font size in Lilypond

Is it possible? How can I set the font size for the page numbers?
Student's user avatar
  • 410
4 votes
2 answers
267 views

Applying a given markup to two consecutive syllables in lyrics

Given the following LilyPond MWE: melody = \relative c' { a( b) c } lyra = \lyricmode { Foo bar baz } lyrb = \lyricmode { Foo -- bar baz } lyrc = \lyricmode { Foo __ bar baz } \score { &...
Laércio de Sousa's user avatar

1
2 3 4 5
13