wavelength 1.0.0
Loading...
Searching...
No Matches
mbt.h
Go to the documentation of this file.
1#pragma once
2
3#include "os/string.h"
4
11class MBT {
12public:
22 MBT(int nTick, int nBeatsPerMeasure, int nTicksPerBeat);
23
32
33private:
34 int mMeasure;
35 int mBeat;
36 int mTick;
37};
MBT(int nTick, int nBeatsPerMeasure, int nTicksPerBeat)
Split a position.
String ToString() const
Format the position as measure:beat:tick.
Growable text buffer that is also a PrnStream.
Definition string.h:19