Questions tagged [lilypond]

GNU LilyPond is Free Software for engraving music, with a strong emphasis on very high quality output.

LilyPond is a computer program for music engraving. One of LilyPond's major goals is to produce scores that are engraved with traditional layout rules, reflecting the era when scores were engraved by hand.

LilyPond is different from conventional commercial typesetting software in that the input is code written in plain text, which LilyPond compiles into output formats such as PostScript, PDF, and MIDI. There are various front-ends available to make editing of this code easier.

LilyPond is available for several common operating systems. It is released as part of the GNU project, and under the terms of the GNU General Public License, it is Free Software.

LilyPond uses the Scheme programming language, both as part of the input syntax, and as internal mechanism to glue modules of the program together. [...]

LilyPond uses the GNU Guile implementation of Scheme, which is based on the Scheme “R5RS” standard.

— from the LilyPond documentation - Scheme tutorial.

160 questions
1
vote
0 answers

Problem importing LilyPond .pdf to PiaScore

I have a problem related to the compatibility between .pdf files generated from LilyPond .ly files and the .pdf files used in a iPad/iPhone application PiaScore, which is used by some of the performers I work with. When I import in the PiaScore…
seaWave
  • 11
  • 1
1
vote
1 answer

Lilypond: How do I insert a bracket in a chord of whole notes in a vocal score to indicate which part an extra note belongs to?

In Lilypond, I am writing a vocal score in closed form (Sop & Alto on top line, Tenor & Bass on bottom) and occasionally I need the parts to divide. This is fine in most cases because the note stems indicate which note belongs to which part, but not…
mpgrayer
  • 33
  • 4
1
vote
1 answer

\Lilypond Overriding Chord Grid Names

I have a set of guitar chords that I'm notating w/ chord grid diagrams and most of them have non-standard names (quartal voicings). I can add a custom name under the notation between the treble clef and Tab. Is there a way to override the chord…
BlueEnamel
  • 33
  • 5
1
vote
0 answers

Can I write generic music in Lilypond?

I have the same notes for two instruments (small and big drums: tommh and tomfh). Is it possible to write a "generic" voice and use that for the two instruments with different notes (tommh and tommfh)? \version "2.22.1" \score { \new…
G. S.
  • 41
  • 3
1
vote
1 answer

Lilypond: Produce MIDI and PDF output simultaneously

When I am evoking lilypond in order to produce midi output, I comment in an empty midi block in the score block. Then, lilypond produces a midifile instead of a PDF file. I want to create both outputs simultaneously to be able to listen to the…
mutableVoid
  • 1,284
  • 2
  • 11
  • 29
1
vote
1 answer

Music21 - cannot display rests

I'm cutting up sections of sheet music into snippets on the beat. I'm using music21 and LilyPond to convert the output into a png. There's a very specific issue though where I get no display of a snippet only containing a rest. If the rest is being…
1990brien
  • 13
  • 1
  • 3
1
vote
1 answer

How to add background-color in LilyPond?

I'm searching for a way to add a background color to parts of a LilyPond generated musical score. Is there a way to achieve this within the syntax of LilyPond? My research so far has only shown ways to color noteheads by pitch. Here you can see,…
1
vote
2 answers

Is there a way to add spaces into a score without using rests?

Something that looks like this: In case you're wondering, I'm trying to type up melodic dictations for a mock AP Music Theory exam. Edit: didn't include this originally, but I couldn't find anything about this just searching or looking at…
xlq902
  • 49
  • 6
1
vote
1 answer

How to show opus number in main header and not in score headers?

I'm trying to engrave a sonata in three movements. I want to indicate the opus number only in the main \header block, but not in each separate score \header block. So far, I've only been able to achieve showing the opus number in the score \header…
1
vote
2 answers

Aligning instrument name followed by vertical I and II

I am trying to specify instrumentName like this: instrumentName = \markup { "Oboe" \center-column { \line { "I" } \line { "II" } } } Which looks like this: But I want the word…
philhanna
  • 73
  • 1
  • 6
1
vote
0 answers

Change notehead size depending on note duration

I'm trying to create a function that changes the note head font-size depending on the duration of the note. For example, if the note is a whole-note, then its note head should have double size. I haven't found anything in the lilypond snippets that…
Robert Mengual
  • 374
  • 3
  • 10
1
vote
1 answer

Can I scpecify or get Abjad (v3.2) output PDF file's path or name after creating it?

I have a flask server that generates musical PDFs with abjad v3.2. After using abjad.show(), I would like to get the path to the created file. I can get the output directory, by using abjad.Configuration().abjad_output_directory but not the specific…
1
vote
1 answer

Lilypond: Parenthesize in repeat barline

I would like if it is possible to print parenthesis in the ":" part of a repeat barline in Lilypond. The aim is to provide the same score for three different lyrics, one of them with a repetition, while the rest don't include this repeat.
1
vote
1 answer

How to change the clef of a container in mingus?

In mingus, the following code creates a single staff with a treble cleff and a C2 note. from mingus.containers.bar import Bar from mingus.containers.track import Track from mingus.extra.lilypond import * b = Bar("C") t =…
BLUC
  • 2,590
  • 2
  • 15
  • 24
1
vote
2 answers

Save Abjad ouput pdfs

I'm using Abjad to create pdf's of lilypond files my python program has written. When I use the abjad.show() method, I get the image that I want, but I can't figure out how to save it as a pdf somewhere my program can use. The documentation mentions…