resonance 1.0.1
Loading...
Searching...
No Matches
midionoffeffector.h
Go to the documentation of this file.
1#pragma once
2
3#include "gs/effector.h"
4
14public:
22 MidiOnOffEffector(unsigned char nChannel, int nType, unsigned char nController);
23
31
39 virtual int Type();
40
50 virtual void SetEnabled(int bEnabled);
51
52private:
53 int mType; // +0x14
54 unsigned char mChannel; // +0x18
55 int mEnabled; // +0x1c
56 unsigned char mController; // +0x20
57};
virtual ~MidiOnOffEffector()
Switch the effect off, then tear down the base.
MidiOnOffEffector(unsigned char nChannel, int nType, unsigned char nController)
virtual void SetEnabled(int bEnabled)
Send the controller with 0x7f while applied and with zero otherwise.
virtual int Type()
Report which effect this object applies.