Class Tempo
- Namespace
- ChartTools
- Assembly
- ChartTools.dll
Marker that alters the tempo
public class Tempo : ITrackObject, IReadOnlyTrackObject
- Inheritance
-
Tempo
- Implements
- Inherited Members
- Extension Methods
Constructors
Tempo(TimeSpan, float)
public Tempo(TimeSpan anchor, float value)
Parameters
Tempo(uint, float)
Creates an instance of Tempo.
public Tempo(uint position, float value)
Parameters
Properties
Anchor
Locks the tempo to a specific real-time position independent of the sync track.
public TimeSpan? Anchor { get; set; }
Property Value
Map
Parent map the marker is contained
public TempoMap? Map { get; }
Property Value
Position
Tick number on the track.
public uint Position { get; set; }
Property Value
Remarks
Only refer to the position if PositionSynced is true.
PositionSynced
Indicates if the tick position is up to date with Anchor.
public bool PositionSynced { get; }
Property Value
Remarks
true if the marker has no anchor.
Value
New tempo in beats per minute
public float Value { get; set; }