I've been trying to typeset some English chant in a sort-of
intermediate notation between standard notation and Vaticana neumes.
The follownig piece is an example:

\include "english.ly"
\version "2.7.14"

barOne = { \once \override Staff.BarLine #'bar-size = #2
           \bar "|" }
barTwo = { \once \override Staff.BarLine #'extra-offset = #'(0 . 2)
           \once \override Staff.BarLine #'bar-size = #2
           \bar "|" }

chant = \relative c' {
  \set Staff.autoBeaming = ##f
  \set Score.timing = ##f
  \override Staff.Stem #'transparent = ##t
  \override Staff.TimeSignature #'transparent = ##t
  \key f \major
  \mark \markup {Antiphon \hspace #2 \italic{"Ps. 29"} }
  f8 g( a) f( d) f( g f4.) \barTwo
  f8 g( a) a4. \barOne
  a8 f g a c( d c) c4. \barTwo
  f,8( g) a( g) a f( g f4.) \bar "||"
}

text = \lyricmode {
  The Lord will reign
  for e -- ver;
  and will give his peo -- ple
  the gift of peace.
}

\score {
  <<
    \context Voice = staff \chant
    \lyricsto "staff" \new Lyrics \text
  >>
  \layout{
    indent = 0
  }
}  
Now, there have been situations (although not in this piece) where
slurs will look awkward due to their avoidance of the (invisible!)
stems.  Now, the best thing to do would be (IMHO) to remove the
Stem_engraver.  Unfortunatly, in its current incarnation, slurs
segfault when Stem objects are not created.

Example follows:

\version "2.7.17"


barOne = { \once \override Staff.BarLine #'bar-size = #2
           \bar "|" }
barTwo = { \once \override Staff.BarLine #'extra-offset = #'(0 . 2)
           \once \override Staff.BarLine #'bar-size = #2
           \bar "|" }

chant = \relative c' {
  \set Score.timing = ##f
  \key f \major
  \mark \markup {Antiphon \hspace #2 \italic{"Ps. 29"} }
  f8 g( a) f( d) f( g f4.) \barTwo
  f8 g( a) a4. \barOne
  a8 f g a c( d c) c4. \barTwo
  f,8( g) a( g) a f( g f4.) \bar "||"
}

text = \lyricmode {
  The Lord will reign
  for e -- ver;
  and will give his peo -- ple
  the gift of peace.
}

\score {
  <<
    \new Staff {
      \chant 
    }
%    \lyricsto "staff" \new Lyrics { \text }
  >>
  \layout {
    indent = 0
    \context {
      \Voice
      \remove "Stem_engraver"
    }
  }
}
I have traced this to Slur_score_state::get_bound_info, where the
following segfaults:  

          extremes[d].stem_ = Note_column::get_stem (extremes[d].note_column_);
          extremes[d].stem_dir_ = get_grob_direction (extremes[d].stem_);

I would like to fix this, but have not yet been able to figure out
what all the elements in a Bound_info are for.  Any pointers would be
very welcome.

-- 
Michael Welsh Duggan
([EMAIL PROTECTED])
_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to