60 |
* effect send level |
* effect send level |
61 |
* @param Name - (optional) name for the effect send entity |
* @param Name - (optional) name for the effect send entity |
62 |
* |
* |
63 |
* @throws Exception - in case no free ID could be found on given EngineChannel |
* @throws Exception - in case no free ID could be found on |
64 |
|
* given EngineChannel or @a MidiCtrl is |
65 |
|
* invalid |
66 |
*/ |
*/ |
67 |
FxSend(EngineChannel* pEngineChannel, uint8_t MidiCtrl, String Name = "") throw (Exception); |
FxSend(EngineChannel* pEngineChannel, uint8_t MidiCtrl, String Name = "") throw (Exception); |
68 |
|
|
109 |
void SetLevel(uint8_t iMidiValue); |
void SetLevel(uint8_t iMidiValue); |
110 |
|
|
111 |
/** |
/** |
112 |
|
* Reset send level to the default send level (i.e. due to a |
113 |
|
* MIDI "reset all controllers" message). |
114 |
|
*/ |
115 |
|
void Reset(); |
116 |
|
|
117 |
|
/** |
118 |
* Returns the MIDI controller number which can alter the effect |
* Returns the MIDI controller number which can alter the effect |
119 |
* send's send level. |
* send's send level. |
120 |
*/ |
*/ |
135 |
String Name(); |
String Name(); |
136 |
|
|
137 |
/** |
/** |
138 |
|
* Sets the name of this effect send entity. |
139 |
|
* @param Name The new name of this effect send entity. |
140 |
|
*/ |
141 |
|
void SetName(String Name); |
142 |
|
|
143 |
|
/** |
144 |
* Returns the (at least sampler-channel-) unique ID of the |
* Returns the (at least sampler-channel-) unique ID of the |
145 |
* effect send instance. This is actually not used by the engine |
* effect send instance. This is actually not used by the engine |
146 |
* at all. It is at the moment only used by the LSCP server to |
* at all. It is at the moment only used by the LSCP server to |
148 |
*/ |
*/ |
149 |
uint Id(); |
uint Id(); |
150 |
|
|
151 |
|
/** |
152 |
|
* Determines whether the effect send's settings are changed. |
153 |
|
*/ |
154 |
|
bool IsInfoChanged(); |
155 |
|
|
156 |
|
/** |
157 |
|
* Sets whether the effect send's settings are changed. |
158 |
|
*/ |
159 |
|
void SetInfoChanged(bool b); |
160 |
|
|
161 |
protected: |
protected: |
162 |
EngineChannel* pEngineChannel; |
EngineChannel* pEngineChannel; |
163 |
std::vector<int> Routing; |
std::vector<int> Routing; |
165 |
String sName; |
String sName; |
166 |
uint iId; |
uint iId; |
167 |
float fLevel; |
float fLevel; |
168 |
|
bool bInfoChanged; // Determines whether there are changes to the settings. |
169 |
}; |
}; |
170 |
|
|
171 |
} // namespace LinuxSampler |
} // namespace LinuxSampler |