global effect: a difference halfway a phrase makes the entire
phrase be typeset as apart.
(make-multi-measure-rest): make mmrest as a single rhythmic event.
shortest_playing.set_infinite (1);
for (int i=0; i < playing_durations_.size (); i++)
{
- Moment m = (playing_durations_[i].info_.music_cause ())->get_length ();
- shortest_playing = shortest_playing <? m;
+ Music * mus = playing_durations_[i].info_.music_cause ();
+ if (mus)
+ {
+ Moment m = mus->get_length ();
+ shortest_playing = shortest_playing <? m;
+ }
}
-
Moment starter;
starter.set_infinite (1);
(map (lambda (x) (ly:get-mus-property x 'pitch)) notes2) ly:pitch<?))
)
(cond
- ((= (length notes1) 0) (put 'solo2))
- ((= (length notes2) 0) (put 'solo1))
((> (length notes1) 1) (put 'apart))
((> (length notes2) 1) (put 'apart))
(else
- (if (< chord-threshold (ly:pitch-steps
- (ly:pitch-diff (car pitches1) (car pitches2))))
+ (if
+ (and (= (length pitches1) (length pitches2))
+ (< chord-threshold (ly:pitch-steps
+ (ly:pitch-diff (car pitches1) (car pitches2)))))
(put 'apart)