42 :
TickTask(pClock,
Sch::
Tick(nPeriod / 2).mTick, 1), mEnabled(0), mPending(0),
43 mChannel(nChannel), mFloor(nFloor),
44 mOscillator(
Source::AllocateSquareSource(static_cast<float>(nPeriod))) {
86 virtual int Tick(
int nElapsedTicks);
91 unsigned char mChannel;
Pausable view of scheduler time, together with the tempo that maps it to a song position.
Definition tickclock.h:40
Reference-counted control signal sampled against elapsed time.
Definition source.h:19
StutterEffector(Sch::TickClock *pClock, unsigned char nChannel, int nPeriod, int nFloor)
Build the effect with a square oscillator.
Definition stuttereffector.h:41
virtual ~StutterEffector()
Switch the effect off through this class's own SetEnabled(), then release the oscillator.
virtual int Tick(int nElapsedTicks)
Send controller 0x30 at the level the oscillator's value selects.
virtual int Type()
Report which effect this object applies.
virtual void SetEnabled(int bEnabled)
Apply or release the effect.
TickTask(Sch::TickClock *pClock, int nPeriod, int bAligned)
Scheduling of timed commands.
Definition activefilter.h:9