[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-user
Subject:    Re: Mensural ligature
From:       Jean-Charles Malahieude <lilyfan () orange ! fr>
Date:       2014-05-23 17:19:43
Message-ID: 537F832F.3010006 () orange ! fr
[Download RAW message or body]

Le 09/05/2014 01:04, KarlHammer disait :
> Jean-Charles Malahieude:
>> On my way to typeset a mass by Monteverdi, I'm blocked with some
>> ligatures (see
>> http://musicofyesterday.com/historical-music-theory/expanded-history-musical-notation-part-4/
>> for examples)
>
> You seem to equate ligatures with legato, I'd be interested to hear
> if you have any references to that.
>
>> I can code the first one in its 8th image like this:
>>
>>     << \tag #'Urtext { \[ d1 e1*3/4 \] }
>>        \tag #'Modern { d1 e2. } >> f4 g1
>>
>> but don't find any way to get the E in black.
>
> This is what I did one in a time (\version "2.6.5"):
>
>      g1 \[ d \melisma
>            % this is a fake minor calor, together with the moved b4
>            \once \override TextScript #'extra-offset = #'( 0.9 . -1.8)
>            a'1*3/4^\markup{ \beam #0.9 #0 #0.5 }
>            \]
>

I've been able to "factorize" this a little, but don' reach the point 
where I could set everything in one pass (automatic vertical positioning).

I define two variables:

blackout =
   ^\tweak #'outside-staff-priority ##f
   ^\markup { \beam #0.9 #0 #0.5 }

% set the position of blackout on the staff
% 0 is center line, step is 0.5
fix =
   #(define-music-function
      (parser location Y-offset)
      (number?)
      #{
         \once \override TextScript.Y-offset = #Y-offset
      #})

and use them as is:

     g1 \[ d \melisma
           \fix #0 a'1*3/4\blackout
        \] b4


Cheers,
Jean-Charles

["ligatures.png" (image/png)]
["ligatures.ly" (text/x-lilypond)]

\version "2.19.5"

blackout =
  ^\tweak #'outside-staff-priority ##f
  ^\markup { \beam #0.9 #0 #0.5 }

% set the position of blackout on the staff
% 0 is center line, step is 0.5
fix =
#(define-music-function
     (parser location Y-offset)
     (number?)
   #{
      \once \override TextScript.Y-offset = #Y-offset
   #})

\score {
  \new MensuralStaff
    \relative c' {
      \[ d'1 \fix #1.5 e1*3/4\blackout \] e4
      \[ a1 \fix #2 f1*3/4 \blackout \] e4
      \[ b1 \fix #-1 g1*3/4 \blackout \] e4
      \[ b'1 \fix #0.5 c1*3/4 \blackout \] c4
      \[ e,1 \fix #-1.5 f1*3/4 \blackout \] c4
    }

  \layout {
    \set Score.defaultBarType = "-"
    \context {
      \MensuralStaff
      \override NoteHead.style = #'mensural
      \override Stem.thickness = #1.0
    }
    \context {
      \Voice
      \remove "Ligature_bracket_engraver"
      \consists "Mensural_ligature_engraver"
    }
  }
}



_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic