resonance 1.0.1
Loading...
Searching...
No Matches
effector.h
Go to the documentation of this file.
1#pragma once
2
3#include "app/msgsource.h"
4
21
42class Effector : public MsgSource {
43public:
49
54 virtual ~Effector();
55
61 virtual int Type() = 0;
62
74 virtual void SetEnabled(int bEnabled);
75
94 static Effector *CreateForType(int nType, unsigned char nChannel, int nTrack);
95};
virtual void SetEnabled(int bEnabled)
Switch the effect on or off.
static Effector * CreateForType(int nType, unsigned char nChannel, int nTrack)
Build the effect one type selects.
virtual int Type()=0
Report which effect this object applies.
virtual ~Effector()
Sender of engine messages, which stores the list of sinks that receive them.
Definition msgsource.h:26
EffectorType
Which effect an Effector applies.
Definition effector.h:12
@ kEffectorTypeMidiOnOffFirst
Definition effector.h:16
@ kEffectorTypeStutter
Definition effector.h:15
@ kEffectorTypeWah
Definition effector.h:14
@ kEffectorTypeGhostNotes
Definition effector.h:19
@ kEffectorTypeMidiOnOffSecond
Definition effector.h:17
@ kEffectorTypeVolume
Definition effector.h:13
@ kEffectorTypeMidiOnOffThird
Definition effector.h:18