Class PartProcessingContext
Holds all the required data to process a part by the Repeater. More info in the
Repeater: Custom repeater article.
Inherited Members
Namespace: Melanchall.DryWetMidi.Tools
Assembly: Melanchall.DryWetMidi.dll
Syntax
public sealed class PartProcessingContext
Properties
PartIndex
Gets the index of a part (zero means first new part).
Declaration
public int PartIndex { get; }
Property Value
Type | Description |
---|---|
int |
PartObjects
Gets the objects of a new part that should be appended to the previous ones.
Declaration
public IList<ITimedObject> PartObjects { get; }
Property Value
Type | Description |
---|---|
IList<ITimedObject> |
Settings
Gets the settings used to perform the process.
Declaration
public RepeatingSettings Settings { get; }
Property Value
Type | Description |
---|---|
RepeatingSettings |
Shift
Gets calculated shift value to apply to a part.
Declaration
public long Shift { get; }
Property Value
Type | Description |
---|---|
long |
SourceObjects
Gets source objects that should be repeated.
Declaration
public IEnumerable<ITimedObject> SourceObjects { get; }
Property Value
Type | Description |
---|---|
IEnumerable<ITimedObject> |
SourceTempoMap
Gets the source tempo map.
Declaration
public TempoMap SourceTempoMap { get; }
Property Value
Type | Description |
---|---|
TempoMap |