]> git.donarmstrong.com Git - lilypond.git/commitdiff
Adds snippet showing transcription of mensural music to modern
authorPhil Holmes <mail@philholmes.net>
Wed, 20 May 2015 10:03:55 +0000 (11:03 +0100)
committerPhil Holmes <mail@philholmes.net>
Sat, 23 May 2015 12:12:31 +0000 (13:12 +0100)
Documentation/notation/ancient.itely
Documentation/snippets/ancient-notation.snippet-list
Documentation/snippets/using-tags-to-produce-mensural-and-modern-music-from-the-same-source.ly [new file with mode: 0644]
Documentation/snippets/vocal-music.snippet-list

index 69cd6c19741ac6593a452e6a05f330bebdc529f0..1ab6d478676c8d881f558ffd60d8c3cf6c6bf983 100644 (file)
@@ -2877,9 +2877,8 @@ spirLyr = \lyricmode {
 @node Ancient and modern from one source
 @unnumberedsubsubsec Ancient and modern from one source
 
-@c TODO Add text
-@c Here among others the snippets about reducing note length
-TBC
+@lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle]
+{using-tags-to-produce-mensural-and-modern-music-from-the-same-source.ly}
 
 @c @seealso
 @c ... and reference to other sections ...
index f75ad047d8d9ce2b462975198360fca4b2b86daf..93be5c69dbb429387a4db03df4fce6af42e5db83 100644 (file)
@@ -7,4 +7,5 @@ custodes.ly
 incipit.ly
 mensurstriche-layout-bar-lines-between-the-staves.ly
 rest-styles.ly
+using-tags-to-produce-mensural-and-modern-music-from-the-same-source.ly
 vertical-line-as-a-baroque-articulation-mark.ly
diff --git a/Documentation/snippets/using-tags-to-produce-mensural-and-modern-music-from-the-same-source.ly b/Documentation/snippets/using-tags-to-produce-mensural-and-modern-music-from-the-same-source.ly
new file mode 100644 (file)
index 0000000..0d11f92
--- /dev/null
@@ -0,0 +1,90 @@
+%% DO NOT EDIT this file manually; it is automatically
+%% generated from LSR http://lsr.di.unimi.it
+%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
+%% and then run scripts/auxiliar/makelsr.py
+%%
+%% This file is in the public domain.
+\version "2.18.0"
+
+\header {
+  lsrtags = "ancient-notation, vocal-music"
+
+  texidoc = "
+By using tags, it's possible to use the same music to produce both
+mensural and modern music.  In this snippet, a function @code{menrest}
+is introduced, allowing mensural rests to be pitched as in the
+original, but with modern rests in the standard staff position.  Tags
+are used to produce different types of bar line at the end of the
+music, but tags can also be used where other differences are needed:
+for example using @qq{whole measure rests} (R1, R\\breve etc.) in
+modern music, but normal rests (r1, r\\breve, etc.) in the mensural
+version.  Note that converting mensural music to its modern equivalent
+is usually referred to as @code{transcription}.
+
+"
+  doctitle = "Using tags to produce mensural and modern music from the same source"
+} % begin verbatim
+
+menrest = #(define-music-function (parser location note)
+  (ly:music?)
+#{
+    \tag #'mens $(make-music 'RestEvent note)
+    \tag #'mod $(make-music 'RestEvent note 'pitch '())
+#})
+
+MensStyle = {
+  \autoBeamOff
+  \override NoteHead #'style = #'petrucci
+  \override Score.BarNumber #'transparent = ##t
+  \override Stem.neutral-direction = #up
+}
+
+finalis = {
+  \once \override BreathingSign.stencil = #ly:breathing-sign::finalis
+  \once \override BreathingSign.Y-offset = #0
+  \once \override BreathingSign.minimum-X-extent = #'(-1.0 . 0.0)
+  \once \override BreathingSign.minimum-Y-extent = #'(-2.5 . 2.5)
+
+  \breathe
+}
+
+Music = \relative c'' {
+  \set Score.tempoHideNote = ##t
+  \key f \major
+  \time 4/4
+  g1 d'2 \menrest bes4 bes2 a2 r4 g4 fis2. \tag #'mens { \finalis } \tag #'mod { \bar "||" }
+}
+
+MenLyr = \lyricmode { So farre, deere life, deare life }
+ModLyr = \lyricmode { So far, dear life, dear life }
+
+\score {
+  \keepWithTag #'mens {
+    <<
+      \new MensuralStaff
+      {
+        \new MensuralVoice = Cantus \clef "mensural-c1" \MensStyle \Music
+      }
+      \new Lyrics \lyricsto Cantus \MenLyr
+    >>
+  }
+}
+
+\score {
+  \keepWithTag #'mod {
+    \new ChoirStaff <<
+      \new Staff
+      {
+        \new Voice = Sop \with {
+          \remove "Note_heads_engraver"
+          \consists "Completion_heads_engraver"
+          \remove "Rest_engraver"
+          \consists "Completion_rest_engraver" }
+        {
+          \shiftDurations #1 #0 { \autoBeamOff \Music }
+        }
+      }
+      \new Lyrics \lyricsto Sop \ModLyr
+    >>
+  }
+}
index b62574ffc083b1fca7c51e2dcd5195b3e6a51aa9..2a8cf237555955ce19079f38cee753b191faa0b6 100644 (file)
@@ -26,6 +26,7 @@ single-staff-template-with-notes-and-lyrics.ly
 skips-in-lyric-mode-2.ly
 skips-in-lyric-mode.ly
 using-arpeggiobracket-to-make-divisi-more-visible.ly
+using-tags-to-produce-mensural-and-modern-music-from-the-same-source.ly
 vertically-aligning-ossias-and-lyrics.ly
 vertically-centered-common-lyrics.ly
 vocal-ensemble-template-with-automatic-piano-reduction.ly