79 virtual int Tick(
int nElapsedTicks);
134 void OnErase(
int nBar,
int bWholeStep,
int bAnnounce);
181 int QueryBar(
int nBar);
192 void UpdateSustain(
int nTick);
203 void StartPhrase(
int nTick);
215 void FinishPhrase(
int nBar);
217 static constexpr int kLevelBits = 64;
227 unsigned char mChannel;
238 std::bitset<kLevelBits> mHeldLevels;
Event the game passes between a MsgSource and a MsgSink.
Definition erasemsg.h:28
Event the game passes between a MsgSource and a MsgSink.
Definition invalidateseekermsg.h:19
Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:41
Owner of the gem phrases on one track, and the seam between the network and the gems.
Definition phrasemgr.h:51
One phrase of a track, with its gems, its player, and the messages and values scheduled across it.
Definition phrase.h:38
Event the game passes between a MsgSource and a MsgSink.
Definition pitchriffmsg.h:26
Pitcher(Sch::TickClock *pClock)
Construct the three bases, the TickTask one to run every bar.
Definition pitcher.h:44
One participant in a session, local or remote.
Definition player.h:39
Holder of the track description the beat-quantising paths consult.
Definition quantizer.h:14
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 stopriffmsg.h:27
Converted events of one track of a level.
Definition trackdata.h:52
Event the game passes between a MsgSource and a MsgSink.
Definition trackselectmsg.h:24
void OnStopRiff(StopRiffMsg *pMsg)
Release a level for this track and player.
virtual ~Voxer()
Destroy the voxer.
void OnTrackSelect(TrackSelectMsg *pMsg)
Install the player a TrackSelectMsg for this track selects.
void OnPitchRiff(PitchRiffMsg *pMsg)
Hold a level for this track and player.
void OnInvalidateSeeker(int nBar)
Turn mPlayer's seeker off, unless mPlayer is the stand-in.
virtual void DispatchPriv(Message *pMsg)
Act on a message.
virtual int Tick(int nElapsedTicks)
Close the previous bar and keep the sustain in step with the song.
void OnErase(int nBar, int bWholeStep, int bAnnounce)
Erase mPlayer's phrases around a bar.
Voxer(PhraseMgr *pPhraseMgr, Quantizer *pQuantizer, Sch::TickClock *pClock, const TrackData *pTrackData)
Scheduling of timed commands.
Definition activefilter.h:9