Interface IBounds
Represents time range used in time processing tools.
Namespace: Melanchall.DryWetMidi.Tools
Assembly: Melanchall.DryWetMidi.dll
Syntax
public interface IBounds
Methods
GetBounds(long, TempoMap)
Gets minimum and maximum times in MIDI ticks for the current time range.
Declaration
Tuple<long, long> GetBounds(long time, TempoMap tempoMap)
Parameters
| Type | Name | Description |
|---|---|---|
| long | time | Time bounds should be calculated relative to. |
| TempoMap | tempoMap | Tempo map used to calculate bounds. |
Returns
| Type | Description |
|---|---|
| Tuple<long, long> | Pair where first item is minimum time and the second one is maximum time. |