From 7a9aad3db6fe6ee35bbcda9d9096b5d0df7ef639 Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Wed, 31 Dec 2003 10:11:03 +0000 Subject: [PATCH] (process_acknowledged_grobs): new engraver, redo lyric phrasing, but cleaner and simpler. Lyrics on melismata are now left-aligned. --- input/mutopia/F.Schubert/morgenlied.ly | 13 ++++++++----- lily/new-phrasing-engraver.cc | 5 +---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/input/mutopia/F.Schubert/morgenlied.ly b/input/mutopia/F.Schubert/morgenlied.ly index c3d13e6882..0c4b3f8a43 100644 --- a/input/mutopia/F.Schubert/morgenlied.ly +++ b/input/mutopia/F.Schubert/morgenlied.ly @@ -73,12 +73,13 @@ secondVerse = \lyrics { } pianoRH = \notes \relative c''' \repeat volta 2 { - g16( fis a g fis g f e d c b a ) | + g16(_\p fis a g fis g f e d c b a ) | 8( ) r8 r | - r8 c'( e,) f r a | - r8 << { fis( g)} \\ { c,4 } >> r8 | + r8 c'( e,) f r a | + \property Voice.DynamicLineSpanner \set #'padding =#3 + r8_\> << { s8 s8-\! } << { fis( g)\!} \\ { c,4 } >> >> r8 | 4. r8 \clef bass | - e,16 g c g e g d gis b gis d g | + e,16_" "_\markup { \italic cresc } g c g e g d gis b gis d g | c, e a e c e a,-\f d fis d a d | b d g d b g r4\fermata \clef treble g''8 | as4.( g 4.) | fis4. r4 8 ( | @@ -119,7 +120,9 @@ pianoLH = \notes \relative c'' \repeat volta 2 { \context LyricsVoice = "singer-2" \secondVerse >> \new PianoStaff << - \property PianoStaff.instrument = \markup { \bold \bigger "2. " } + \property PianoStaff.instrument = \markup { + \bold + \huge "2. " } \new Staff \pianoRH \new Staff \pianoLH >> diff --git a/lily/new-phrasing-engraver.cc b/lily/new-phrasing-engraver.cc index 234c430c14..b0e4931ee1 100644 --- a/lily/new-phrasing-engraver.cc +++ b/lily/new-phrasing-engraver.cc @@ -18,12 +18,10 @@ struct Phrasing_association Link_array lyrics_; Link_array heads_; bool melisma_; - bool last_melisma_; Phrasing_association() { melisma_ = false; - last_melisma_ = false; } void clear () { @@ -143,7 +141,6 @@ New_phrasing_engraver::stop_translation_timestep () for (int i = assocs_.size (); i--; ) { assocs_[i]->clear (); - assocs_[i]->last_melisma_ = assocs_[i]->melisma_; } } @@ -158,7 +155,7 @@ New_phrasing_engraver::process_acknowledged_grobs () Grob *h = a->heads_[0]; Direction alignment = CENTER; - if (a->melisma_ && !a->last_melisma_) + if (a->melisma_) alignment = LEFT; for (int j = 0; j < a->lyrics_.size (); j++) -- 2.39.2