X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=ly%2Fgregorian-init.ly;h=307dc3f6b578a5371a775dd31089458e8820e316;hb=9304da2bf474a2aa4658e5de035fcbdc534aa99b;hp=6177630c0946d3245a180ae51dae79c61d74b447;hpb=641486a1a5522a9e66b470d8c762a1f789219573;p=lilypond.git diff --git a/ly/gregorian-init.ly b/ly/gregorian-init.ly index 6177630c09..307dc3f6b5 100644 --- a/ly/gregorian-init.ly +++ b/ly/gregorian-init.ly @@ -1,4 +1,4 @@ -\version "2.4.0" +\version "2.7.14" %%%%%%%% %%%%%%%% shortcuts common for all styles of gregorian chant notation @@ -38,7 +38,7 @@ cavum = % declare divisiones shortcuts % virgula = { - \once \override BreathingSign #'text = #(make-musicglyph-markup "scripts-rcomma") + \once \override BreathingSign #'text = #(make-musicglyph-markup "scripts.rcomma") \once \override BreathingSign #'font-size = #-2 % Workaround: add padding. Correct fix would be spacing engine handle this. @@ -47,7 +47,7 @@ virgula = { \breathe } caesura = { - \once \override BreathingSign #'text = #(make-musicglyph-markup "scripts-rvarcomma") + \once \override BreathingSign #'text = #(make-musicglyph-markup "scripts.rvarcomma") \once \override BreathingSign #'font-size = #-2 % Workaround: add padding. Correct fix would be spacing engine handle this. @@ -56,7 +56,7 @@ caesura = { \breathe } divisioMinima = { - \once \override BreathingSign #'print-function = #Breathing_sign::divisio_minima + \once \override BreathingSign #'stencil = #Breathing_sign::divisio_minima % Workaround: add padding. Correct fix would be spacing engine handle this. \once \override BreathingSign #'extra-X-extent = #'(-1.0 . 0) @@ -64,8 +64,8 @@ divisioMinima = { \breathe } divisioMaior = { - \once \override BreathingSign #'print-function = #Breathing_sign::divisio_maior - \once \override BreathingSign #'Y-offset-callbacks = #'() + \once \override BreathingSign #'stencil = #Breathing_sign::divisio_maior + \once \override BreathingSign #'Y-offset = #0 % Workaround: add padding. Correct fix would be spacing engine handle this. \once \override BreathingSign #'extra-X-extent = #'(-1.0 . 0) @@ -73,8 +73,8 @@ divisioMaior = { \breathe } divisioMaxima = { - \once \override BreathingSign #'print-function = #Breathing_sign::divisio_maxima - \once \override BreathingSign #'Y-offset-callbacks = #'() + \once \override BreathingSign #'stencil = #Breathing_sign::divisio_maxima + \once \override BreathingSign #'Y-offset = #0 % Workaround: add padding. Correct fix would be spacing engine handle this. \once \override BreathingSign #'extra-X-extent = #'(-1.0 . 0) @@ -82,8 +82,8 @@ divisioMaxima = { \breathe } finalis = { - \once \override BreathingSign #'print-function = #Breathing_sign::finalis - \once \override BreathingSign #'Y-offset-callbacks = #'() + \once \override BreathingSign #'stencil = #Breathing_sign::finalis + \once \override BreathingSign #'Y-offset = #0 % Workaround: add padding. Correct fix would be spacing engine handle this. \once \override BreathingSign #'extra-X-extent = #'(-1.0 . 0) @@ -105,6 +105,24 @@ episemFinis = #(make-span-event 'TextSpanEvent STOP) % shortcut music functions for Liber Hymnarius neumes table % (experimental) % + +#(define (make-ligature music) + (make-music 'SequentialMusic + 'elements (append + (cons + (make-music 'EventChord + 'elements (list + (make-span-event 'LigatureEvent START))) + (ly:music-property music 'elements)) + (list + (make-music 'EventChord + 'elements (list + (make-span-event 'LigatureEvent STOP))))))) + +ligature = #(def-music-function + (location music) (ly:music?) + (make-ligature music)) + %#(define (make-script x) % (make-music 'ArticulationEvent % 'articulation-type x)) @@ -120,7 +138,7 @@ episemFinis = #(make-span-event 'TextSpanEvent STOP) %#(define (add-staccato m) % (add-script m "staccato")) % -% % \applymusic #(lambda (x) (music-map add-staccato x)) { c c } +% % \applyMusic #(lambda (x) (music-map add-staccato x)) { c c } % % % \climacus { x y z ... }: % % \[ \virga x \inclinatum y \inclinatum z ... \] @@ -158,7 +176,7 @@ neumeDemoLayout = \layout { \Voice \remove Ligature_bracket_engraver \consists Vaticana_ligature_engraver - \override NoteHead #'style = #'vaticana_punctum + \override NoteHead #'style = #'vaticana.punctum \override Stem #'transparent = ##t } }