Table of Contents

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

anchor TimeSpan
value float

Tempo(uint, float)

Creates an instance of Tempo.

public Tempo(uint position, float value)

Parameters

position uint
value float

Properties

Anchor

Locks the tempo to a specific real-time position independent of the sync track.

public TimeSpan? Anchor { get; set; }

Property Value

TimeSpan?

Map

Parent map the marker is contained

public TempoMap? Map { get; }

Property Value

TempoMap

Position

Tick number on the track.

public uint Position { get; set; }

Property Value

uint

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

bool

Remarks

true if the marker has no anchor.

Value

New tempo in beats per minute

public float Value { get; set; }

Property Value

float