From: fred Date: Tue, 26 Mar 2002 21:46:00 +0000 (+0000) Subject: lilypond-1.1.20 X-Git-Tag: release/1.5.59~2644 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=1fa61df7884201d5c834a33cda24f85bc4da5eca;p=lilypond.git lilypond-1.1.20 --- diff --git a/input/praeludium-fuga-E.ly b/input/praeludium-fuga-E.ly index d9c5e8dbd8..93495cf179 100644 --- a/input/praeludium-fuga-E.ly +++ b/input/praeludium-fuga-E.ly @@ -127,13 +127,13 @@ fugaII_right = \notes \relative c'' { > | %16 \type Staff < - { \stemup dis2 dis4 | + \type VoiceOne { dis2 dis4 | cis2 cis4 | b4. [cis8 dis e] } - { \stemup \shifton [b8 fis] b2 ~ | + \type VoiceThree { \stemup \shifton [b8 fis] b2 ~ | [b8 a!16 gis] a2 ~ | a4 gis2 } - { \stemdown fis2. ~ | + \type VoiceTwo { \stemdown fis2. ~ | fis ~ | fis4 e2 } > | @@ -146,9 +146,9 @@ fugaII_left = \notes { %15 \type Staff < - { \stemdown b2 \stemup ais4 | + \type VoiceTwo { \stemdown b2 \stemup ais4 | b2 b4 } - { \stemdown s2 e4 | + \type VoiceTwo { \stemdown s2 e4 | fis2 fis4 } > \stemdown cis2 e4 | @@ -188,10 +188,6 @@ breakmusic = \notes { > \paper { - \translator { - \VoiceContext - \name "BLA"; - } \translator { \VoiceContext \name "VoiceOne"; diff --git a/lily/beam-engraver.cc b/lily/beam-engraver.cc index 7353da47f8..3165cf6660 100644 --- a/lily/beam-engraver.cc +++ b/lily/beam-engraver.cc @@ -63,6 +63,20 @@ Beam_engraver::do_process_requests () if (prop.isnum_b ()) beam_p_->quantisation_ = (Beam::Quantisation)(int)prop; + // silly try at interstaff beam + // must set minVerticalAlign == maxVerticalAlign to get sane results + // see input/test/beam-interstaff.ly + prop = get_property ("minVerticalAlign", 0); + if (prop.isnum_b ()) + beam_p_->vertical_align_f_ = prop; + + prop = get_property ("maxVerticalAlign", 0); + if (prop.isnum_b ()) + { + beam_p_->vertical_align_f_ += (Real)prop; + beam_p_->vertical_align_f_ /= (Real)2; + } + announce_element (Score_element_info (beam_p_, reqs_drul_[START])); } } @@ -132,6 +146,7 @@ Beam_engraver::acknowledge_element (Score_element_info info) if (rhythmic_req->duration_.durlog_i_<= 2) { rhythmic_req->warning (_ ("stem doesn't fit in beam")); + reqs_drul_[LEFT]->warning (_("beam was started here")); return; }