44 void OnNewTrack([[maybe_unused]]
unsigned char nTrack)
override {
75 OnMidi(
int nTick,
unsigned char nStatus,
unsigned char nData1,
unsigned char nData2)
override;
85 void OnTempo([[maybe_unused]]
int nTick, [[maybe_unused]]
int nMicrosecondsPerBeat)
override {
97 void OnText([[maybe_unused]]
int nTick,
98 [[maybe_unused]]
const char *pszText,
99 [[maybe_unused]]
unsigned char nType)
override {
112 [[maybe_unused]]
int nNumerator,
113 [[maybe_unused]]
int nDenominator)
override {
Checker of the channel messages of one MIDI track for authoring errors.
Definition midivalidator.h:15
void OnTimeSignature(int nTick, int nNumerator, int nDenominator) override
Ignore a time signature.
Definition musebuilder.h:111
void OnTempo(int nTick, int nMicrosecondsPerBeat) override
Ignore a tempo change.
Definition musebuilder.h:85
void OnMidi(int nTick, unsigned char nStatus, unsigned char nData1, unsigned char nData2) override
Check and collect a channel message.
void OnEndTrack() override
Build the piece from the collected messages and store it through the owner.
MuseBuilder(int nTrack, bool bValidate, ErrorHandler pfnError, Ptr< Muse > *pMuse)
Construct a builder.
void OnText(int nTick, const char *pszText, unsigned char nType) override
Ignore a text meta event.
Definition musebuilder.h:97
~MuseBuilder() override
Release the builder.
void OnAllDone() override
Ignore the end of the file.
Definition musebuilder.h:61
void OnNewTrack(unsigned char nTrack) override
Ignore the start of the track.
Definition musebuilder.h:44
Collector of the channel messages of one MIDI channel that cuts MultiMuse pieces out of them.
Definition musefactory.h:17
Owner of one reference to an Attachment.
Definition ptr.h:16
TrackBuilder(int nTrack, bool bValidate, ErrorHandler pfnError)
Construct a builder.
void(* ErrorHandler)(String &message)
Routine that reports a build error.
Definition trackbuilder.h:19