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
3
votes
1 answer

Lilypond function; add a rhythm to a note

How can you write a Lilypond function that takes in a note and outputs a note with a rhythm? say: input: c' output: c'8 c'16 c'
3
votes
1 answer

Single stanza followed by two stanza's of lyrics

I'm looking for how to have a first set of lyrics with one stanza and following with more than one. Haven't been able to find an example. See how below the lyrics for first eight bars are unnecessarily repeated? \version "2.18.2" \header { title…
MikeiLL
  • 6,282
  • 5
  • 37
  • 68
2
votes
2 answers

Key cancellation form in lilypond

I have key changing example: \score { \relative c'' { \key bes \major g1 \key g \major g1 } } It produces: But i would like to have another template for this: first 2 becars, then staff bar, then sharp. Like this: This is just another…
2
votes
1 answer

how to show symbols on top of LilyPond scores?

Santa offered a toy keyboard to my 4-year-old. He enjoys the provided scores, but I'd like to add some songs that we sing together and that are not included in the basic set. Every Key has a symbol (circle, triangle, square) and a color (blue,…
mirlitone
  • 155
  • 1
  • 1
  • 6
2
votes
2 answers

Tremolo in 12/8 in Lilypond

I am working on transcribing a score that I have but have come across a problem with adding some tremolos with the instrument. It needs to look something like this: Looking at the documentation I can get the following: Using the following…
RoboTom
  • 21
  • 2
2
votes
0 answers

How to add a language syntax to AWS Cloud9

I'm trying to add the Lilypond language syntax to AWS Cloud9. In my searching, I've found ajaxorg/ace/tool and textmate/lilypond.tmbundle on Github.org I've tried cloning both repositories and I've run: $ npm install $ node add_mode.js Lilypond…
Okomikeruko
  • 1,123
  • 10
  • 22
2
votes
1 answer

Lilypond : Adding lyrics into backslash temporary voices

I'm pretty new when it comes to details on Lilypond and I'm stuck on a problem. Whenever I introduce two new temporary voices with backslash <<{ }\\\\{ }>>, the lyrics skip over those voices : Lyrics = \lyricmode {Et lux per -- pe -- tu -- a…
Pgking
  • 21
  • 1
2
votes
2 answers

Shell Script to typeset Lilypond files with Textwrangler

I need a shell script which will allow me to typeset Lilypond files from TextWrangler (A Mac App). So far I have come up with this: #!/bin/sh /Applications/LilyPond.app/Contents/Resources/bin/lilypond -o $1 which, of course, doesn't work. (That's…
J. S. Bach
  • 21
  • 2
2
votes
1 answer

How can I make VSCode handle textedit:// URIs?

I'm trying to set VSCode to open on a specific line and column when clicking on an item inside of a PDF that contains the URI for that specific line and column. These PDFs have all those URIs with the textedit:// prefix. I still can’t figure out how…
Kai Vinter
  • 121
  • 5
2
votes
1 answer

stretch octava mark to end of measure

When a note has an octava mark, the end of the mark is at the end of the note. For long notes the visual effect is not satisfying. I would like to end the octava mark at the end of the measure. This example shows what I mean: \score { \new…
ruud
  • 743
  • 13
  • 22
2
votes
2 answers

How to tie notes on different staffs on lilypond

Sorry fot the confused title, i don't know how to write my question in english. Basically I'm trying to write this on Lilypond, and until now i managed to get this How can I tie the notes on the lower staff? This is the source code of the…
2
votes
1 answer

How to tie notes at different time points into a chord?

I am trying to tie notes that are in sequence into a single chord (effectively simulating a slow arpegio): { \clef bass r8 << \relative c { << \autoBeamOff \tieDown {cis8~ cis4~ cis8} {s32 e16.~ e4~ e8} …
mr_georg
  • 3,635
  • 5
  • 35
  • 52
2
votes
1 answer

How to integrate midi export into existing lilypond score

I'm trying to do a MIDI export of existing Lilypond scores, but am unable to do so if there's more than one staff. I'm new to Lilypond but have been through the documentation and forums with no luck. Wrapping the code below in \score doesn't work. …
2
votes
0 answers

Repeating the same note n times

Context I'm new to lilypond and scheme, and for a score I need to repeat many times one single note (same pitch, same rythm). So I tried to implement a (loopnote) function, which takes an integer (number of repeats) and a note as arguments. This…
yolenoyer
  • 8,797
  • 2
  • 27
  • 61
2
votes
1 answer

Make lilypond use constant spacing and no bars

I want to disable the bars and make all notes equally spaced (regardless of their duration). I have tried: \layout { \override Stem.transparent = ##t \context { \Score \override SpacingSpanner.spacing-increment = 1 \override…
scaramouche
  • 461
  • 2
  • 12