resonance 1.0.1
Loading...
Searching...
No Matches
tick.h File Reference
#include <iostream>
Include dependency graph for tick.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Sch::Tick
 Song position in MIDI ticks, printed as measure, beat, and tick. More...

Namespaces

namespace  Sch
 Scheduling of timed commands.

Variables

constexpr int kTickInfinity = 0x2aaaaaab
 Position the printer renders as positive infinity.
constexpr int kTickMaximum = 0x2aaaaaaa
 Largest finite position, from the bound Sch::Tick::IsInRange() accepts.
constexpr int kTickMinimum = -0x2aaaaaaa
 Smallest finite position, from the bound Sch::Tick::IsInRange() accepts.

Variable Documentation

◆ kTickInfinity

int kTickInfinity = 0x2aaaaaab
constexpr

Position the printer renders as positive infinity.

GemPacket initialises its own position to this value. Sch::Tick::Print() renders any value above 0x2aaaaaa8 as [inf]tk, so the name is inferred from the one stored value inside that range rather than from a comparison against the constant.

◆ kTickMaximum

int kTickMaximum = 0x2aaaaaaa
constexpr

Largest finite position, from the bound Sch::Tick::IsInRange() accepts.

◆ kTickMinimum

int kTickMinimum = -0x2aaaaaaa
constexpr

Smallest finite position, from the bound Sch::Tick::IsInRange() accepts.