The LilyPond Snippet Repository ♪♫

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

Results 1−10 of 299 for music

Using tags to produce mensural and modern music from the same source [0.60714]

Using tags to produce mensural and modern music from the same source

…both mensural and modern notation from the same music. In this snippet, a function \menrest is introduced, … …measure rests (R1, R\breve, etc.) in modern music, but normal rests (r1, r\breve, etc.) in the mensural version. Converting mensural music to its modern equivalent is usually referred to …

…neutral-direction = #up \omit Slur \omit Beam } finalis = \section Music = \relative c'' { \key f \major g1 d'2 \… …PetrucciVoice = "Cantus" { \clef "petrucci-c1" \time 4/4 \MenStyle \Music } } \new Lyrics \lyricsto "Cantus" \MenLyr >> } \layout { line-width = 155\… …engraver" } \shiftDurations 1 0 { \time 2/4 \autoBeamOff \Music } } \new Lyrics \lyricsto "Sop" \ModLyr >> } \layout { line-width = 157\…

Ancient notation Vocal music docs

Using tags to produce mensural and modern music from the same source

SATB Anglican Chant [0.51786]

…In this case, d major THIRD program the music. FOURTH Enter words. Template allows you to specify …

…#begin-of-line-invisible \override Score.PaperColumn.keep-inside-line = ##t } % THIRD, Enter music (remember to include the leading s4 in the … …LILYPOND CODE %{ I use lilypond-book to print the music because I usually want to insert scanned .png … …S 39\\The Invitatory: Venite/Psalm 95}\cfoot{Music engraving by Fred Leason with LilyPond 2.11.…

Vocal music real music Specific notation Tweaks and overrides Ancient notation template

SATB Anglican Chant

Ancient notation template -- modern transcription of Gregorian music [0.46429]

Ancient notation template -- modern transcription of Gregorian music

…demonstrates how to do modern transcription of Gregorian music. Gregorian music has no measure, no stems; it uses only …

template Ancient notation Vocal music docs

Ancient notation template -- modern transcription of Gregorian music

Adding orchestral cues to a vocal score [0.44643]

…the piano reduction in a vocal score. The music function \cueWhile takes four arguments: the music from which the cue is to be taken, … …name below the staff, and finally the piano music in parallel with which the cue notes are …

cueWhile = #(define-music-function (instrument name dir music) (string? string? ly:dir? ly:music?) #{ \cueDuring $instrument #dir { \… …override TextScript.direction = $dir <>-\markup { \tiny #name } $music } #}) flute = \relative c'' { \transposition c' s4 s4 …

Vocal music Staff notation docs

Adding orchestral cues to a vocal score

Arabic chant [0.44643]

…flip { "في" } \markup\flip { "القـ" } \markup\flip { "ـلوب" } } Music = { \new StaffGroup << \new Staff \with { \override Clef.stencil = … …bar "|." } >> } \markuplist { \vspace #1 \fill-line { \null \flip { \score { \Music \layout { line-width = #180 indent = 0 \context { \Staff \override … …#1.5 \raise #1 \flip\rotate #180 "," } } } } } } \score { \Music \midi { } } \paper { #(define fonts (make-pango-font-tree "Amiri" "Amiri" "…

World music Vocal music stylesheet Staff notation Symbols and glyphs

Arabic chant

Creating music with Scheme (music box) [0.42857]

Creating music with Scheme (music box)

Scheme language Pitches really cool real music

Creating music with Scheme (music box)

Easy Gregorian notation [0.42857]

…snippet shows a special notation for easy Gregorian music. Definitions can be saved as "modernGregorian.ily" in …

…grace { \repeat unfold #anzahl s } #}) % Given some music that represents lyrics, add a prefix to the … …response) as prefix to lyrics. responsum = #(define-music-function (music) (ly:music?) (add-prefix-to-lyrics "℟. " music)) %% Defining notelaces (neume, melisma) and dedicated context: gregorianContext = { \…

Staff notation Vocal music Tweaks and overrides Ancient notation Specific notation

Easy Gregorian notation

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

…string numbers or stroke fingerings) outside of the music code

The scheme function \addFingering adds fingerings to a music part respecting fingeringOrientations even if single notes are … …is set in a string parameter : \addFingering \music #"012345 % mes 1 xxxx '1-2''3-4' % mes … …is attached to the corresponding note in the music. You can use a letter (here x) to …

…version : 16\07\2011 deleteArticulations = #(define-music-function (music) (ly:music?) (music-filter (lambda (evt) (not (memq (ly:music-property evt '… …mes 4 " \new Staff \with { instrumentName = \markup \center-column {"music with""right hand" "fingerings"}} \addStrokeFinger \music #"123432 % mes 1 xxxx 'pouce''index' % mes …

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

Engraving symmetric or palindromical music [0.41071]

Engraving symmetric or palindromical music

Symmetric, or palindromical music can be produced, first, by printing some music, and second, by printing the same music applying a Scheme function to reverse the syntax.

…EventChord, introduced after 2.14. #(define (turn-span-dir music) (let ((span-dir (ly:music-property music 'span-direction))) (if (ly:dir? span-dir) (… …music 'element (reverse-music e))) (if (ly:dir? span-dir) (ly:music-set-property! music 'span-direction (- span-dir))) (map reverse-music reversed) music)) reverseMusic = #(define-music-function (m) (ly:music?) (reverse-music (event-chord-wrap! m))) %}

Engraving symmetric or palindromical music

Extracting unmodified fragments of a music expression [0.41071]

Extracting unmodified fragments of a music expression

…function that can be used as follows: \extractMusic music from during For example, in the second Staff … …below, the following has been used : \extractMusic \music s1 s1*2 This has kept the music beginning after the first measure (i.e., at …

…ly:make-moment 0/1 0/1)) #(define (music-has-no-length? music) "Is music empty of notes, rests or skips?" (… …e8 d c2 } \score { << \new Staff \new Voice { \music c'1 } \new Staff \new Voice { s1 \extractMusic \music s1 s1*2 s1 c'1 } >> }

Extracting unmodified fragments of a music expression

1 2 3 4 5 6 7 8 9 10 Next ⇨