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
11
class
MBT
{
12
public
:
22
MBT
(
int
nTick,
int
nBeatsPerMeasure,
int
nTicksPerBeat);
23
31
String
ToString
()
const
;
32
33
private
:
34
int
mMeasure;
35
int
mBeat;
36
int
mTick;
37
};
MBT::MBT
MBT(int nTick, int nBeatsPerMeasure, int nTicksPerBeat)
Split a position.
MBT::ToString
String ToString() const
Format the position as measure:beat:tick.
String
Growable text buffer that is also a PrnStream.
Definition
string.h:19
string.h
src
mid
mbt.h
Generated by
1.15.0