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
2 votes
0 answers
38 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
3 votes
0 answers
63 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
33 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
2 votes
0 answers
91 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
  • 173
1 vote
1 answer
113 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
211 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
3 votes
1 answer
93 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
  • 173
2 votes
1 answer
91 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
166 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
124 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
  • 853
3 votes
1 answer
111 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
759 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
  • 853
2 votes
1 answer
123 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
6 votes
3 answers
620 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
  • 853
0 votes
1 answer
57 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
393 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
97 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
60 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
  • 851
1 vote
1 answer
110 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
60 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
  • 209
1 vote
1 answer
96 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
  • 137
2 votes
1 answer
226 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
391 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
100 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
117 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
85 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
7 votes
1 answer
128 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
  • 91
2 votes
0 answers
48 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
  • 91
1 vote
1 answer
152 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
49 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
338 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
366 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
117 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
164 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
  • 851
2 votes
1 answer
95 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
  • 851
1 vote
1 answer
77 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,432
6 votes
1 answer
202 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
  • 851
4 votes
1 answer
115 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
  • 419
4 votes
2 answers
281 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 vote
1 answer
81 views

Make every thing in Lilypond larger

How can I make every thing in Lilypond bigger, I want the size of all objects (e.g. note heads, accidentals, clefs etc.) to become bigger. Can any one help?
Student's user avatar
  • 419
0 votes
0 answers
41 views

Disable double-bar separators in Lilypond

I am exporting voices from a score I wrote in Lilypond. In the voices there are these double bars, which separate the lines from each other. How can I disable these double-bars?
Student's user avatar
  • 419
4 votes
2 answers
458 views

Lilypond tuplets

As can be seen in the image, some composers mix the note types used in tuplets. In this case, there are two eighths and a half note (equal to 4 eighths). The total duration is 6 eighths in triplet ...
C. Bunks's user avatar
0 votes
1 answer
44 views

Lilypond: how to engrave a break between choruses and output a single MIDI file?

I'm studying melodic structures in jazz solos, and am using Lilypond to annotate characteristics such as chord tone, non-chord tones, and enclosures. I've written a Python script to automate the ...
C. Bunks's user avatar
2 votes
0 answers
66 views

Tremoli in Lilypond look destroyed

My tremoli between notes are looking so destroyed!: I have added before each repeat: \ftbt \override Beam.gap = #3 where \ftbt is: ftbt = \once \override Beam.beam-thickness = #0.4 Any help is ...
Student's user avatar
  • 419
1 vote
1 answer
106 views

Offset note head position horizontaly

Lilypond is notating two notes with the same position on the staff directly on top of each other. I want them to be slightly offset, so that (in the example below) I can discern between a and a# more ...
Student's user avatar
  • 419
3 votes
1 answer
253 views

Lilypond - '\on-the-fly #print-page-number-check-first' not working in version 2.24.1 anymore

I used the following code for page numbering and copyright formatting in lilypond --version 2.20.0: pagenumcol = \markup { \column { \vspace #0.5 \fromproperty #'page:page-number-string } }...
nath's user avatar
  • 1,949
2 votes
1 answer
54 views

Combine curved paths with fingerings

I want to mark notes with fingerings where the finger number has a bow below or above. First, I am creating the bows: upper-bow = #'( (M 0 0) (C 0.6 0.2 1.4 0.2 2 0) ) lower-bow = #'( (M 2 0) ...
marktani's user avatar
  • 184
3 votes
1 answer
84 views

Lilypond midi volume mix between chord progression and melody

I'm writing python code to automatically annotate jazz solo transcriptions (with their corresponding chord progressions) and to produce midi output using Lilypond. I'd like to instruct Lilypond to ...
C. Bunks's user avatar
1 vote
1 answer
62 views

Can I create separate variables for duration and pitch in LilyPond and combine them?

How would I go about defining two separate variables where one can be mapped onto the other to produce some typical output? For instance: durations = { 4 8 8 2 } pitches = { e' g' f' a' } \score { ...
Neal's user avatar
  • 3,432
1 vote
1 answer
41 views

Put repeating codes in a variable in Lilypond

I want to put some commands into a variable, so that I can write the variable instead of repeating the commands over and over: myvar = \once \override Beam.beam-thickness = #tremBeamThickness \...
Student's user avatar
  • 419

1
2
3 4 5
14