+pl 22.jcn2
+ - updated mi2mu
+ - bf: multi-measure-rest (input/test/m.ly)
+ - half fix for staff-margin-engraver
+
pl 22.jcn1
- bf's: cross-staff slur
- bf: gnossienne-4
* ly2dvi barfs on linewidth = -1.
- * fix midi output.
+ * fix midi output:
+ - default duration? duration must be not entered
+ explicitely on first note.
* turn slope-damping on/off
MAJOR_VERSION=1
MINOR_VERSION=1
PATCH_LEVEL=22
-MY_PATCH_LEVEL=jcn1
+MY_PATCH_LEVEL=jcn2
# use the above to send patches: MY_PATCH_LEVEL is always empty for a
# released version.
\version "1.0.14";
-voice_one = \notes\transpose c' { \stemup
+voice_one = \notes\transpose c''{ \stemup
R1 * 2 | f'4-. r r2 | R1 * 3 |
f'4-. r r2 | R1 * 3 |
es'4-. r r2 | r1 |
}
voice_two = \notes
- { \transpose c, { \stemdown
+ { \transpose c' { \stemdown
R1 * 2 | f'4-. r r2 | R1 * 3 |
f'4-. r r2 | R1 * 3 |
es'4-. r r2 | r1 |
if (slur_l->encompass_arr_.size ()
&& stem_l->staff_sym_l_ != slur_l->encompass_arr_[0]->stem_l_->staff_sym_l_)
{
+#if 0 // this is nonsense..., don't issue warning
if (stem_l->staff_sym_l_->dim_cache_[Y_AXIS].valid_b ())
{
interstaff_f_ = stem_l->staff_sym_l_->absolute_coordinate (Y_AXIS)
- slur_l->encompass_arr_[0]->stem_l_->staff_sym_l_->absolute_coordinate (Y_AXIS);
}
else
+#endif
{
- warning (_ ("invalid dimension cache: guessing staff position"));
+ // warning (_ ("invalid dimension cache: guessing staff position"));
if (slur_l->vertical_align_drul_[MIN] !=
slur_l->vertical_align_drul_[MAX])
warning (_ ("minVerticalAlign != maxVerticalAlign: interstaff slurs may be broken"));
{
Time_description const *time = get_staff_info().time_C_;
mmrest_p_ = new Multi_measure_rest;
- // rest_item_creation_mom_ = time->when_mom ();
announce_element (Score_element_info (mmrest_p_, multi_measure_req_l_));
start_measure_i_ = time->bars_i_;
}
Multi_measure_rest_engraver::do_pre_move_processing ()
{
Moment now (now_moment ());
- //urg lily dumps core if i want to let her print all (SkipBars=0) rests...
-#if 0
if (mmrest_p_ && (now >= rest_start_mom_) && (mmrest_p_->column_arr_.size () >= 2))
{
typeset_element (mmrest_p_);
+ /*
+ must keep mmrest_p_ around to set measures_i_
+ */
}
-#endif
if (lastrest_p_)
{
typeset_element (lastrest_p_);
Time_description const *time = get_staff_info().time_C_;
Moment now (now_moment ());
- /*
- when our time's up, calculate the number of bars rest and
- make way for new request
- however, linger around a bit to catch this last column when
- its announced
- */
- if (mmrest_p_ && (now >= rest_stop_mom_)) //&& (!time->whole_in_measure_))
+ if (mmrest_p_)
{
lastrest_p_ = mmrest_p_;
lastrest_p_->measures_i_ = time->bars_i_ - start_measure_i_;
- //urg lily dumps core if i want to let her print all (SkipBars=0) rests...
-#if 0
- if (lastrest_p_->column_arr_.size () >= 2)
- lastrest_p_ = 0;
-#endif
+ mmrest_p_ = 0;
+ }
+
+ if (now >= rest_stop_mom_)
+ {
multi_measure_req_l_ = 0;
mmrest_p_ = 0;
}
Text_def *td_p =new Text_def;
td_p->align_dir_ = LEFT;
td_p->text_str_ = string;
- // huh?
- script_p_->dir_ = RIGHT;
+ script_p_->dir_ = LEFT;
script_p_->specs_p_ = td_p;
script_p_->breakable_b_ = true;
if (beam_l_->sinfo_.size ()
&& stem_l_->staff_sym_l_ != beam_l_->sinfo_[0].stem_l_->staff_sym_l_)
{
+#if 0 // this is nonsense..., don't issue warning
if (stem_l_->staff_sym_l_->dim_cache_[Y_AXIS].valid_b ())
{
interstaff_f_ = stem_l_->staff_sym_l_->absolute_coordinate (Y_AXIS)
- beam_l_->sinfo_[0].stem_l_->staff_sym_l_->absolute_coordinate (Y_AXIS) / internote_f;
}
else
+#endif
{
- warning (_ ("invalid dimension cache: guessing staff position"));
+ // warning (_ ("invalid dimension cache: guessing staff position"));
if (beam_l_->vertical_align_drul_[MIN] !=
beam_l_->vertical_align_drul_[MAX])
warning (_ ("minVerticalAlign != maxVerticalAlign: interstaff slurs may be broken"));
//ugh
if (dur.plet_b ())
- str += String ("\\[")
+ str += String ("\\times ")
+ String_convert::i2dec_str (dur.plet_.iso_i_, 0, 0)
+ "/"
- + String_convert::i2dec_str (dur.plet_.type_i_, 0, 0);
+ + String_convert::i2dec_str (dur.plet_.type_i_, 0, 0)
+ + " { ";
+
str += name_str;
str += Duration_convert::dur2_str (tmp);
if (dur.plet_b ())
- str += String (" \\]");
+ str += String (" }");
/*
note of zero duration is nonsense,
*os_p_ << filename_str_g;
*os_p_ << "\n\n";
// ugh
- *os_p_ << "\\version \"1.0.2\";\n";
+ *os_p_ << "\\version \"1.0.14\";\n";
}
void
\bar ".|";
}
-upper = \type Voice=one \notes \relative c''{
+upper = \type Staff=treble \notes\relative c''{
\clef violin;
\stemup
+ \type Voice=one
r2 r r
- r2 r r
- r4 [a'8--(\< a--] [a-- a-- c-- \!b--] [a--\> fis g \!e]
+ r2 r r
+ r4 [a'8--(\< a--] [a-- a-- c-- \!b--] [a--\> gis f \!e]
% grace hack
- % urg, how to get grace in different voice, thus in different beam??
-% [es8 { \type Voice=urgnobeam \tiny b8*1/2 ~ \normalsize } )c*1/2] r4 r2 r
- [es8 \type Voice=x \tiny b8*1/2 ~ \normalsize \type Voice=one )c*1/2] r4 r2 r
+ < { [es8 )c] } \type Voice=x { \stemup s8*1/2 \tiny b8*1/2 ~ } > r4 r2 r
r2 r r
- r4 [a'8--(\< a--] [a-- a-- c-- \!b--] [a--\> fis g \!e]
- [es8 { \type Voice=urgnobeam \tiny b8*1/2 ~ \normalsize } )c*1/2] r4 r2 r
+ r4 [a'8--(\< a--] [a-- a-- c-- \!b--] [a--\> gis f \!e]
+ < { [es8 )c] } \type Voice=x { \stemup s8*1/2 \tiny b8*1/2 ~ } > r4 r2 r
r4 [g16( a bes a] [g a bes a g a bes a] [g a bes a g fis es fis]
)d4 \tiny fis8*1/2 ~ \normalsize gis4*3/4 ~ gis8 r r4 r2
r4 [g16( a bes a] [g a bes a g a bes a] [g a bes a g fis es fis]
)d4 \tiny fis8*1/2 ~ \normalsize gis4*3/4 ~ gis8 r r4 r2
\tiny a8*1/2 ~ \normalsize f4*3/4 ~ f8 r r2 r
- r2 r4 [a8( b][c d c b] \tiny b8*1/2 ~ \normalsize [e8*1/2
- { \type Voice=urgnobeam \tiny a,8*1/2 ~ \normalsize } )g8*1/2] r4 r2 r
+ r2 r4 [a8( b][c d c b] \tiny b8*1/2 ~ \normalsize
+ < { [e8*1/2 )g,8] } \type Voice=x { \stemup s8*1/4 \tiny a8*1/2 ~ } > r4 r2 r
r2 r4 [a8( b][c d c b] [a b c d][c b a b][c d c b]
- \tiny b8*1/2 ~ \normalsize [e8*1/2
- { \type Voice=urgnobeam \tiny a,8*1/2 ~ \normalsize } )g8*1/2] r4 r2 r
+ \tiny b8*1/2 ~ \normalsize
+ < { [e8*1/2 )g,8] } \type Voice=x { \stemup s8*1/4 \tiny a8*1/2 ~ } > r4 r2 r
a2( \tiny e'8*1/2 ~ \normalsize f4*3/4 ~ )f8 r r2
r2 r r
fis,4( \tiny dis8*1/2 \normalsize <)cis4*3/4 ais> r2 r
- \tiny b'8*1/2 ~ \normalsize [a8*1/2
- { \type Voice=urgnobeam \tiny b8*1/2 ~ \normalsize } a8*1/2] r4 r2 r
- r4 [a'8--(\< a--] [a-- a-- c-- \!b--] [a--\> fis g \!e]
- [es8 { \type Voice=urgnobeam \tiny b8*1/2 ~ \normalsize } )c*1/2] r4 r2 r
+ \tiny b'8*1/2 ~ \normalsize
+ < { [a8*1/2 a8] } \type Voice=x { \stemup s8*1/4 \tiny b8*1/2 ~ } > r4 r2 r
+ r4 [a'8--(\< a--] [a-- a-- c-- \!b--] [a--\> gis f \!e]
+ < { [es8 )c] } \type Voice=x { \stemup s8*1/2 \tiny b8*1/2 ~ } > r4 r2 r
d,4( \tiny fis8*1/2 ~ \normalsize gis4*3/4 ~ )gis8 r r4 r2
f4 ~ f8 r r2 r
[f'8( g a b][a g f g][a b a g]
- \tiny f8*1/2 ~ \normalsize [g8*1/2
- { \type Voice=urgnobeam \tiny d8*1/2 ~ \normalsize } )e8*1/2] r4 r2 r
+ \tiny f8*1/2 ~ \normalsize
+ < { [g8*1/2 )e8] } \type Voice=x { \stemup s8*1/4 \tiny d8*1/2 ~ } > r4 r2 r
[f8( g a b][a g f g][a b a g]
- \tiny f8*1/2 ~ \normalsize [g8*1/2
- { \type Voice=urgnobeam \tiny d8*1/2 ~ \normalsize } )e8*1/2] r4 r2 r
+ \tiny f8*1/2 ~ \normalsize
+ < { [g8*1/2 )e8] } \type Voice=x { \stemup s8*1/4 \tiny d8*1/2 ~ } > r4 r2 r
a,2( \tiny e'8*1/2 ~ \normalsize f4*3/4 ~ )f8 r r2
r2 r r
fis,4( \tiny dis8*1/2 \normalsize <)cis4*3/4 ais> r2 r