MidiReceiver that passes the events of the MIDI file to the builder.
More...
#include <levelmidibuilder.h>
|
| | BuilderReceiver (LevelMidiBuilder *pOwner) |
| | Construct a receiver for a builder.
|
| | ~BuilderReceiver () override |
| | Release the receiver.
|
| void | OnNewTrack (unsigned char nTrack) override |
| | Pass the start of a track to the builder.
|
| void | OnEndTrack () override |
| | Pass the end of a track to the builder.
|
| void | OnAllDone () override |
| | Pass the end of the file to the builder.
|
| void | OnMidi (int nTick, unsigned char nStatus, unsigned char nData1, unsigned char nData2) override |
| | Pass a channel message to the builder.
|
| void | OnTempo (int nTick, int nMicrosecondsPerBeat) override |
| | Pass a tempo change to the builder.
|
| void | OnText (int nTick, const char *pszText, unsigned char nType) override |
| | Pass a text event to the builder.
|
| void | OnTimeSignature (int nTick, int nNumerator, int nDenominator) override |
| | Pass a time signature to the builder.
|
| virtual | ~MidiReceiver () |
| | Release the receiver.
|
MidiReceiver that passes the events of the MIDI file to the builder.
◆ BuilderReceiver()
Construct a receiver for a builder.
- Parameters
-
◆ ~BuilderReceiver()
| LevelMidiBuilder::BuilderReceiver::~BuilderReceiver |
( |
| ) |
|
|
inlineoverride |
Release the receiver.
- Ghidra address:
- NTSC-U/C: 0x0033a6d0
- Ghidra address:
- PAL: 0x003a7c08
◆ OnNewTrack()
| void LevelMidiBuilder::BuilderReceiver::OnNewTrack |
( |
unsigned char | nTrack | ) |
|
|
inlineoverridevirtual |
Pass the start of a track to the builder.
- Parameters
-
- Ghidra address:
- NTSC-U/C: 0x0033a750
- Ghidra address:
- PAL: 0x003a7c88
Implements MidiReceiver.
◆ OnEndTrack()
| void LevelMidiBuilder::BuilderReceiver::OnEndTrack |
( |
| ) |
|
|
inlineoverridevirtual |
Pass the end of a track to the builder.
- Ghidra address:
- NTSC-U/C: 0x0033a770
- Ghidra address:
- PAL: 0x003a7ca8
Implements MidiReceiver.
◆ OnAllDone()
| void LevelMidiBuilder::BuilderReceiver::OnAllDone |
( |
| ) |
|
|
inlineoverridevirtual |
Pass the end of the file to the builder.
- Ghidra address:
- NTSC-U/C: 0x0033a790
- Ghidra address:
- PAL: 0x003a7cc8
Implements MidiReceiver.
◆ OnMidi()
| void LevelMidiBuilder::BuilderReceiver::OnMidi |
( |
int | nTick, |
|
|
unsigned char | nStatus, |
|
|
unsigned char | nData1, |
|
|
unsigned char | nData2 ) |
|
inlineoverridevirtual |
Pass a channel message to the builder.
- Parameters
-
| nTick | The tick of the message. |
| nStatus | The status byte. |
| nData1 | The first data byte. |
| nData2 | The second data byte. |
- Ghidra address:
- NTSC-U/C: 0x0033a7b0
- Ghidra address:
- PAL: 0x003a7ce8
Implements MidiReceiver.
◆ OnTempo()
| void LevelMidiBuilder::BuilderReceiver::OnTempo |
( |
int | nTick, |
|
|
int | nMicrosecondsPerBeat ) |
|
inlineoverridevirtual |
Pass a tempo change to the builder.
- Parameters
-
| nTick | The tick. |
| nMicrosecondsPerBeat | The tempo. |
- Ghidra address:
- NTSC-U/C: 0x0033a7d8
- Ghidra address:
- PAL: 0x003a7d10
Implements MidiReceiver.
◆ OnText()
| void LevelMidiBuilder::BuilderReceiver::OnText |
( |
int | nTick, |
|
|
const char * | pszText, |
|
|
unsigned char | nType ) |
|
inlineoverridevirtual |
Pass a text event to the builder.
- Parameters
-
| nTick | The tick. |
| pszText | The text. |
| nType | The type of the event. |
- Ghidra address:
- NTSC-U/C: 0x0033a7f8
- Ghidra address:
- PAL: 0x003a7d30
Implements MidiReceiver.
◆ OnTimeSignature()
| void LevelMidiBuilder::BuilderReceiver::OnTimeSignature |
( |
int | nTick, |
|
|
int | nNumerator, |
|
|
int | nDenominator ) |
|
inlineoverridevirtual |
Pass a time signature to the builder.
- Parameters
-
| nTick | The tick. |
| nNumerator | The beats in a bar. |
| nDenominator | The length of a beat. |
- Ghidra address:
- NTSC-U/C: 0x0033a818
- Ghidra address:
- PAL: 0x003a7d50
Implements MidiReceiver.
The documentation for this class was generated from the following file: