34 void *
operator new(
size_t nSize);
43 void operator delete(
void *pBlock);
180 unsigned char mUnsetLowByte;
181 unsigned char mUnsetHighByte;
void BuildSequencer()
Build the track's sequencer and start it.
void AttachMixerToSource(MsgSource *pSource)
Register the mixer as a sink of a source.
int CallDeleteSequencer()
Run Stop() and report zero.
Definition bgtrackgraph.h:200
void CreateMixer(TrackData *pTrack)
Record the track and build its mixer on the track's MIDI channel.
void Stop()
Delete the sequencer, if any.
void AttachMixerToSynth(MsgSink *pSynth)
Feed the synthesiser's output to the mixer and the mixer's output to a synthesiser sink.
void AddSynthSink(MsgSink *pSink)
Register a sink with the synthesiser.
int CallBuildSequencer()
Run BuildSequencer() and report zero.
Definition bgtrackgraph.h:193
BGTrackGraph(int nTrack, int nUnmapped)
Build the synthesiser and the MIDI filter, and connect the filter to the synthesiser.
static void Delete(BGTrackGraph *pGraph)
Delete a graph, which may be null.
Definition bgtrackgraph.h:207
~BGTrackGraph()
Delete the sequencer, the filter, the synthesiser, and the mixer.
void EnableMidi()
Let the track's notes reach the synthesiser.
void DisableMidi()
Stop the track's notes reaching the synthesiser.
Task that sends one track's MIDI a bar at a time.
Definition barsequencer.h:29
Filter that stops a track's notes while it is disabled and passes everything else.
Definition middisabler.h:25
Per-track MIDI mixer that sits between a track graph and the synthesiser.
Definition mixer.h:32
Receiver of engine messages.
Definition msgsink.h:37
Sender of engine messages, which stores the list of sinks that receive them.
Definition msgsource.h:26
Owner of the players that are sounding, and the sink that starts them.
Definition musesynth.h:36
Converted events of one track of a level.
Definition trackdata.h:52