78 return static_cast<float>((flValue * kAxisBlendScale) + kAxisBlendBase);
82 static constexpr double kAxisBlendScale = 0.6;
83 static constexpr double kAxisBlendBase = 0.2;
92 void PostDurGemMsg(
NoteMsg *pMsg);
int GetNewGemID()
Issue the next sustain strip identity.
Definition axeoldgemmaker.h:128
static float BlendForStep(int nStep)
Report the gem blend for a pitch step.
static float BlendForAxis(float flValue)
Map an axis value between 0 and 1 onto the gem blend, 0.2 to 0.8.
Definition axeoldgemmaker.h:77
virtual void DispatchPriv(Message *pMsg)
Act on a message.
AxeOldGemMaker(const TrackData *pTrackData)
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
Sender of engine messages, which stores the list of sinks that receive them.
Definition msgsource.h:26
Event the game passes between a MsgSource and a MsgSink.
Definition notemsg.h:28
Event the game passes between a MsgSource and a MsgSink.
Definition phrasemsg.h:24
One phrase of a track, with its gems, its player, and the messages and values scheduled across it.
Definition phrase.h:38
Song position in MIDI ticks, printed as measure, beat, and tick.
Definition tick.h:70
Event the game passes between a MsgSource and a MsgSink.
Definition stdmidimsg.h:27
Converted events of one track of a level.
Definition trackdata.h:52