[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Extend Beam::shift_region_to_valid() to also take into account colli
Re: Extend Beam::shift_region_to_valid() to also take into account collisions. (issue4239047)
Mon, 28 Feb 2011 09:49:44 -0500
Attached is the type of note-on-beam thing I was talking about in my previous
comments, which can be fixed w/ a padding property.
On Feb 28, 2011, at 9:48 AM, address@hidden wrote:
> Great work! Two comments below concerning beam properties.
> File lily/beam.cc (right):
> lily/beam.cc:1156: Real min_y_size = 2.0;
> here, we should have something like
> if (to_boolean (me->get_property ("avoid-collisions"))
> so that users can opt out of the avoidance if they so choose.
> then, we would have an `else' that set the collision penalty in the
> quanting to 0 so that no collision avoidance took place.
> I think that in a lot of real-music scenarios such as organ scores,
> people's may in fact want beams to collide, and thus, they should be
> able to opt-out of this avoidance.
> lily/beam.cc:1256: beam_left_y = point_in_interval (best, 2.0);
> Here, there should be a padding property that allows users to control
> breathing room for collisions. Otherwise, you could wind up getting a
> beam that is pushed just below a notehead in the quanting (see example
> in next email).