Class ObjectsMergingSettings
Settings according to which merging should be performed by the
Merger.
More info in the
Merger article.
Inheritance
ObjectsMergingSettings
Assembly: Melanchall.DryWetMidi.dll
public class ObjectsMergingSettings
Properties
Gets or sets a predicate to filter objects out. If predicate returns true
,
an object will be processed; if false
- it won't. If the property set to null
,
(default value) all objects will be processed.
Declaration
public Predicate<ITimedObject> Filter { get; set; }
Property Value
Gets or sets a factory method to create objects merger (see
ObjectsMerger) to
implement custom merging logic.
Declaration
public Func<ILengthedObject, ObjectsMerger> ObjectsMergerFactory { get; set; }
Property Value
Gets or sets a policy which determines how
OffVelocity of notes should be merged.
The default value is
Last.
Declaration
public VelocityMergingPolicy OffVelocityMergingPolicy { get; set; }
Property Value
Exceptions
Gets or sets maximum distance between two objects to consider them as nearby. The default value
is time span of zero length.
Declaration
public ITimeSpan Tolerance { get; set; }
Property Value
Exceptions
Gets or sets a policy which determines how
Velocity of notes should be merged.
The default value is
First.
Declaration
public VelocityMergingPolicy VelocityMergingPolicy { get; set; }
Property Value
Exceptions
See Also