21 static constexpr unsigned char kUnset = 0xff;
78 unsigned char mChannel;
79 unsigned char mProgram;
80 unsigned char mBendLow;
81 unsigned char mBendHigh;
Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:41
virtual void DispatchPriv(Message *pMsg)
Record the channel, and the state a controller change, a program change, or a pitch bend sets.
void Replay(MsgSink *pSink)
Send the collected state to a sink.
void HandleRange(const TickObj< MuseMsg * > *pBegin, const TickObj< MuseMsg * > *pEnd)
Pass every message of a range to MsgSink::Dispatch().
static constexpr int kControllerCount
The number of MIDI controllers.
Definition midichase.h:24
static constexpr unsigned char kUnset
The value every collected byte starts at.
Definition midichase.h:21
MidiChase()
Start with nothing collected.
Receiver of engine messages.
Definition msgsink.h:37
Abstract base shared by a family of messages.
Definition musemsg.h:28
One value at one song position.
Definition tickobj.h:20