Class QuantizedTime
Holds information about new time for an object that was calculated during quantization.
Inherited Members
Namespace: Melanchall.DryWetMidi.Tools
Assembly: Melanchall.DryWetMidi.dll
Syntax
public sealed class QuantizedTime
Properties
ConvertedDistanceToGridTime
Gets the distance between an object's current time and the nearest grid time as time span
of the type specified by DistanceCalculationType.
Declaration
public ITimeSpan ConvertedDistanceToGridTime { get; }
Property Value
| Type | Description |
|---|---|
| ITimeSpan |
DistanceToGridTime
Gets the distance between an object's current time and the nearest grid time.
Declaration
public long DistanceToGridTime { get; }
Property Value
| Type | Description |
|---|---|
| long |
GridTime
Gets a grid time that was selected for an object as the nearest one.
Declaration
public long GridTime { get; }
Property Value
| Type | Description |
|---|---|
| long |
NewTime
Gets the new time of an object.
Declaration
public long NewTime { get; }
Property Value
| Type | Description |
|---|---|
| long |
Shift
Gets the distance an object is going to be moved toward the new time.
Declaration
public ITimeSpan Shift { get; }
Property Value
| Type | Description |
|---|---|
| ITimeSpan |