The LilyPond Snippet Repository ♪♫

What's this? Searching the LSR Browse Contributing Snippet database

Results 1−10 of 81 for ly

String quartet template with separate parts [0.28348]

…comments at the beginning of each file. piece.ly contains all the music definitions. The other files – score.ly, vn1.ly, vn2.ly, vla.ly, and vlc.ly – produce the appropriate part. Do not forget to …

% piece.ly % (This is the global definitions file) global= { \time … …ly" \score { \keepWithTag #'vla \music \layout { } } % vlc.ly % (This is the Cello part file) \include "piece.ly" \score { \keepWithTag #'vlc \music \layout { } } %}

String quartet template with separate parts

Organ pedal marks in various styles, including pedal glides [0.26786]

…be trimmed below the comment "% organ_pedal_marks.ly ends here" and saved as organ_pedal_marks.ly, ready for inclusion in other files via the command \include "organ_pedal_marks.ly".

% organ_pedal_marks.ly % \version "2.24.1" % Lilypond version %{ =============================================================================== Provide more … …of John Cardinal (1944-2024). % \include "organ_pedal_marks.ly" \language "english" % \bookOutputName "organ_pedal_marks_demo" #(… …the % Novello 1948 edition (see organ_pedal_marks.ly for citation). % A couple have been added so …

Organ pedal marks in various styles, including pedal glides

SATB Anglican Chant [0.25000]

…1-7 respectively. Using the Template: FIRST, create anglican-init.ly which provides chant like bars. This code was extracted from gregorian-init.ly. SECOND Open the template and indicate the key. …

…708 %% commented out for LSR % % FIRST, create anglican-init.ly. This only needs to be done once each … …sh) EIGHTH cd to the directory containing your .ly, .tex, and any .png files. Then run lilybook.… …Desktop/LSR >ls Anglican.rtfd S39.log S39.ly S39.pdf S39.png S39.ps S39.tex …

SATB Anglican Chant

Predefined ukulele fretboards [0.24777]

…fret diagrams are contained in the file predefined-guitar-fretboards.ly. Fret diagrams are stored based on the pitches … …the examples given here, except using \include "predefined-ukulele-fretboards.ly" plus \set stringTunings = #ukulele-tuning, and using these chords: … …c:sus4 c:9 \break }. I also suggest adding "predefined-guitar-ninth-fretboards.ly" and including c:9 in the list of chords …

…di.unimi.it/LSR/Item?id=649 % predefined-ukulele-fretboards.ly % % author: matt corks % sources: ukulele hall of fame … …2-3;1-2;" %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%% save everything above here as "predefined-ukulele-fretboards.ly", %%% and include that file in your own sheet …

Predefined ukulele fretboards

Translating notes from one language to another [0.21429]

…language to your favorite language use \include "…language….ly" and \displayLilyMusic { \melody }. The translation is by default … …your choice using the command lilypond.exe >yourfile.ly (with windows). The result of the snippet will …

…unimi.it/LSR/Item?id=638 \include "deutsch.ly" melody = { c8 d e f g a h … …fis gis as his cis | \bar "|." } \include "english.ly" \displayLilyMusic { \melody } \paper { tagline = ##f }

Translating notes from one language to another

Alphabetically sorted index [0.21429]

…snippet. It takes the code of LilyPond's ly/toc-init.ly file and defines three new commands \indexItem, \indexSection, …

…with \markuplist \index % code ist mostly taken from ./ly/toc-init.ly and just renamed and slightly modfied %here starts …

Alphabetically sorted index

Adding fingerings (or string numbers or stroke fingerings) outside of the music code [0.19643]

…first to download here the file called "extractMusic.ly". 2-You can also use \displayLilyMusic to get single …

…StringNumberEvent 'string-number 0 9 music fingerStr)) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% \include "extractMusic.ly" %% Download extractMusic.ly here : http://gillesth.free.fr/Lilypond/extractMusic/ … …1234 % mes 4 " %% To use \multiReplaceMusic, download "extractMusic.ly" . %{ musicWithFingerAndOverrides = \multiReplaceMusic \musicWithFinger { \once \set fingeringOrientations = #'(down …

Adding fingerings (or string numbers or stroke fingerings) outside of the music code

Flamenco notation [0.17857]

…header-like code that can be copied as flamenco.ly and included in source files.

%%%%%%% Cut here ----- Start 'flamenco.ly' % Text indicators : abanico = ^\markup\small { \italic Abanico } … …NoteHead.no-ledgers = ##f } %%%%%%% Cut here ----- End 'flamenco.ly' %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% part = \relative c' { \set strokeFingerOrientations = #'(up) \key …

Flamenco notation

Makam example [0.17857]

…1/9th-tone microtonal alterations. Consult the initialization file ly/makam.ly for details of pitch names and alterations.

% Initialize makam settings \include "makam.ly" \relative c' { \set Staff.keyAlterations = #`((6 . ,(- …

Makam example

Translating the default LilyPond tagline [0.14286]

…taken the original tagline definition in the titling-init.ly file, and therefore we can tweak it the …

…Mandereau for this snippet \header { %% taken from titling-init.ly tagline = \markup { \with-url "http://lilypond.org/web/" \line { %% …

Translating the default LilyPond tagline

1 2 3 4 5 6 7 8 9 Next ⇨