Drul_array<Grob*> visible_stems (first_visible_stem (beam),
last_visible_stem (beam));
-
- Grob *common = visible_stems[RIGHT]
- ->common_refpoint (visible_stems[LEFT], X_AXIS);
+ extract_grob_set (beam, "stems", stems);
+
+ Grob *common = common_refpoint_of_array (stems, beam, X_AXIS);
Real x0 = visible_stems[LEFT]->relative_coordinate (common, X_AXIS);
Real dx = visible_stems[RIGHT]->relative_coordinate (common, X_AXIS) - x0;
(length . 0.66)
(minimum-length . 0.3)
(padding . 0.07)
- ; (springs-and-rods . ,Hyphen_spanner::set_spacing_rods)
+ ;; (springs-and-rods . ,Hyphen_spanner::set_spacing_rods)
(stencil . ,Hyphen_spanner::print)
p = musicexp.Pitch()
p.alteration = mxl_pitch.get_alteration ()
p.step = (ord (mxl_pitch.get_step ()) - ord ('A') + 7 - 2) % 7
- p.octave = mxl_pitch.get_octave () -4
+ p.octave = mxl_pitch.get_octave () - 4
return p
def get_all_voices (parts):