|
wavelength 1.0.0
|
Song position split into a measure, a beat, and a tick within the beat. More...
#include <mbt.h>
Public Member Functions | |
| MBT (int nTick, int nBeatsPerMeasure, int nTicksPerBeat) | |
| Split a position. | |
| String | ToString () const |
| Format the position as measure:beat:tick. | |
Song position split into a measure, a beat, and a tick within the beat.
The class is not polymorphic and has no RTTI. The name follows the Mid::MBT of the related engine. The error messages of the track builders print the position of a MIDI event with it.
| MBT::MBT | ( | int | nTick, |
| int | nBeatsPerMeasure, | ||
| int | nTicksPerBeat ) |
Split a position.
| nTick | The position in ticks. |
| nBeatsPerMeasure | The beats in one measure. |
| nTicksPerBeat | The ticks in one beat. |
| String MBT::ToString | ( | ) | const |
Format the position as measure:beat:tick.