Interface IGrid
Represents a time grid which is the set of points in time.
Namespace: Melanchall.DryWetMidi.Interaction
Assembly: Melanchall.DryWetMidi.dll
Syntax
public interface IGrid
Methods
GetTimes(TempoMap)
Gets times produced by the current grid.
Declaration
IEnumerable<long> GetTimes(TempoMap tempoMap)
Parameters
Type | Name | Description |
---|---|---|
TempoMap | tempoMap | Tempo map used to get grid's times. |
Returns
Type | Description |
---|---|
IEnumerable<long> | Collection of times (in MIDI ticks) of the current grid. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | tempoMap is null . |