Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:41
Receiver of engine messages.
Definition msgsink.h:37
Sink that delivers everything it receives to every registered sink.
Definition msgsplitter.h:19
Owner a MusePlayer reports back to.
Definition museparent.h:18
Something that turns one muse into messages over time.
Definition museplayer.h:24
void StartNotePlayer(Message *pMsg)
Start a note player for one NoteMsg.
void CreateSustainer()
Build the sustain filter this synthesiser feeds through.
void StartMultiMusePlayer(Message *pMsg)
Start a MultiMusePlayer for one MultiMuseMsg.
virtual ~MuseSynth()
Release every player and then the splitter.
SynthSustainer * mSustainer
Definition musesynth.h:176
virtual void RetainOnly(MusePlayer *pPlayer)
int IsActive() const
Report whether any player is sounding.
void AddSink(MsgSink *pSink)
Register a sink with the splitter every player sends to.
virtual void PlayerFinished(MusePlayer *pPlayer)
void OnAllNotesOff()
The out-of-line copy of the AllNotesOffMsg branch DispatchPriv() expands inline.
MsgSplitter mSplitter
Definition musesynth.h:174
void ReleaseAllPlayers()
Stop and release every player.
void OnStdMidi(StdMidiMsg *pMsg)
The out-of-line copy of the StdMidiMsg branch DispatchPriv() expands inline.
MsgSink * mOutput
Definition musesynth.h:179
MuseSynth(Sch::TickClock *pClock)
void OnSustainNote(SustainNoteMsg *pMsg)
The out-of-line copy of the SustainNoteMsg branch DispatchPriv() expands inline.
virtual void DispatchPriv(Message *pMsg)
Act on a message.
Sch::TickClock * mClock
Definition musesynth.h:172
std::list< MusePlayer * > mPlayers
Definition musesynth.h:182
Pausable view of scheduler time, together with the tempo that maps it to a song position.
Definition tickclock.h:40
Event the game passes between a MsgSource and a MsgSink.
Definition stdmidimsg.h:27
Event the game passes between a MsgSource and a MsgSink.
Definition sustainnotemsg.h:27
Message filter that suppresses note-offs for the notes a sustain request covers.
Definition synthsustainer.h:25