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
0 votes
1 answer
13 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
  • 229
4 votes
1 answer
151 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
  • 229
2 votes
1 answer
49 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
  • 229
0 votes
2 answers
29 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
  • 607
1 vote
1 answer
80 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
  • 229
3 votes
1 answer
43 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
48 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
79 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
366 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
77 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
98 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
52 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
97 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
44 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
57 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
32 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
4 votes
1 answer
240 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
  • 151
7 votes
1 answer
352 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
92 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
  • 229
2 votes
2 answers
116 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
  • 607
2 votes
1 answer
41 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
  • 607
1 vote
1 answer
56 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,290
6 votes
1 answer
192 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
  • 607
3 votes
1 answer
81 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
  • 400
4 votes
2 answers
263 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
52 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
  • 400
0 votes
0 answers
38 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
  • 400
3 votes
2 answers
392 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
37 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
1 vote
0 answers
55 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
  • 400
1 vote
1 answer
49 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
  • 400
2 votes
1 answer
146 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,889
2 votes
1 answer
52 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
  • 175
3 votes
1 answer
76 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
43 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,290
1 vote
1 answer
40 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
  • 400
1 vote
2 answers
46 views

Bring text/line segments in Lilypond in the same vertical position

I have many places in my Lilypond score where my line+text combination stand in different heights. I would like them to be in the same height. Here is an example: I have defined these as: dord = {\...
Student's user avatar
  • 400
1 vote
1 answer
30 views

Setting the thickness of the beams of tremoli in Lilypond

How can I set the thickness of tremolo beams? I use \override Beam.beam-thickness = #0.3 in my globals, but this sets also the thickness of beams of notes. I found this page https://lilypond.org/doc/...
Student's user avatar
  • 400
0 votes
1 answer
23 views

Shorten Tremolo Beam Length in Lilypond

I have a simple tremolo, as the picture below shows. The beam lengths are too long and collide with the note heads. How can I adjust the length of the beams to shorten them a bit? I have tried putting ...
Student's user avatar
  • 400
4 votes
1 answer
173 views

Lilypond paper settings

I want to incorporate Lilypond generated PDFs into a book. I would like to have two sided PDFs. I referred here: https://lilypond.org/doc/v2.23/Documentation/notation/horizontal-spacing-paper-...
kargirwar's user avatar
  • 620
1 vote
0 answers
76 views

Creating a wider fermata

In Lilypond, how to create a wide fermata that spans over several notes?
Atriplex's user avatar
1 vote
1 answer
37 views

How can I adjust this grace note alignment in a Lilypond score?

I'm working on a transcription/editing project. At one point, the piano part has some grace-note arpeggios while the bass plays a melodic line. I am trying to make this "look nice" in the ...
Michael Seifert's user avatar
3 votes
1 answer
132 views

Lilypond: Adjusting position of accidentals of a chord

I'd like to adjust position of accidentals like a right note. How to that? P.S ) right note is added via MS Paint
cplex's user avatar
  • 127
0 votes
3 answers
72 views

How to avoid line breaks at StaffGroup boundaries

I have recently started writing music notation with LilyPond. I find it convenient to split songs into different parts such as prelude, intro, interlude etc. So I have: %prelude.ly \new StaffGroup <...
kargirwar's user avatar
  • 620
3 votes
1 answer
81 views

Generating a timeline in LilyPond

I would like to insert a timeline at the top of my LilyPond score that shows every second. This could look something like this: #(set-default-paper-size "a3landscape") #(set-global-staff-...
kleinlosen's user avatar
3 votes
2 answers
296 views

Lilypond: \downbow and \upbow don't show up in 2nd staff tablature

In one StaffGroup I'm trying to write one staff in note notation with a TabStaff below in which ^\downbow and ^\upbow are used. However, these markups don't show up in the end result. Why is that and ...
HarryH's user avatar
  • 237
3 votes
1 answer
144 views

Lilipond: unhappy with horizontal chord spacing

With default spacing SpacingSpanner.base-shortest-duration = #(ly:make-moment 1/16) the music doesn't look good to me. The chords are more densely packed than the single notes, which produces a bit ...
HarryH's user avatar
  • 237
7 votes
1 answer
181 views

Lilypond (v2.24) macro delivers unexpected results

Writing up a piece for guitar I'm not happy with the common strumming tabulature 'stroke up' and 'stroke down' symbols (^\downbow, ^\upbow) and want to replace them with up- and down arrow heads. In ...
HarryH's user avatar
  • 237
5 votes
2 answers
114 views

How to get a single SVG file from Lilypond

I want to generate SVG from Lilypond. I have used the following command: lilypond -fsvg music.ly It works correctly. Trouble is for big input files multiple svg files are generated. I would really ...
kargirwar's user avatar
  • 620
0 votes
1 answer
54 views

Change octave of built in chords in Lilypond

Lilypond has some built in chords which can be conveniently used with \chordmode \new StaffGroup << \new Staff \with { ...
kargirwar's user avatar
  • 620

1
2 3 4 5
13