242 |
protected: |
protected: |
243 |
InstrumentScriptVM* m_vm; |
InstrumentScriptVM* m_vm; |
244 |
}; |
}; |
245 |
|
|
246 |
|
//TODO: Derive from generalized, shared template class VMChangeSynthParamFunction instead (like e.g. change_cutoff_attack() implementation below already does). |
247 |
class InstrumentScriptVMFunction_change_attack FINAL : public VMEmptyResultFunction { |
class InstrumentScriptVMFunction_change_attack FINAL : public VMEmptyResultFunction { |
248 |
using Super = VMEmptyResultFunction; // just an alias for the super class |
using Super = VMEmptyResultFunction; // just an alias for the super class |
249 |
public: |
public: |
261 |
InstrumentScriptVM* m_vm; |
InstrumentScriptVM* m_vm; |
262 |
}; |
}; |
263 |
|
|
264 |
|
//TODO: Derive from generalized, shared template class VMChangeSynthParamFunction instead (like e.g. change_cutoff_decay() implementation below already does). |
265 |
class InstrumentScriptVMFunction_change_decay FINAL : public VMEmptyResultFunction { |
class InstrumentScriptVMFunction_change_decay FINAL : public VMEmptyResultFunction { |
266 |
using Super = VMEmptyResultFunction; // just an alias for the super class |
using Super = VMEmptyResultFunction; // just an alias for the super class |
267 |
public: |
public: |
278 |
protected: |
protected: |
279 |
InstrumentScriptVM* m_vm; |
InstrumentScriptVM* m_vm; |
280 |
}; |
}; |
281 |
|
|
282 |
|
//TODO: Derive from generalized, shared template class VMChangeSynthParamFunction instead (like e.g. change_cutoff_release() implementation below already does). |
283 |
class InstrumentScriptVMFunction_change_release FINAL : public VMEmptyResultFunction { |
class InstrumentScriptVMFunction_change_release FINAL : public VMEmptyResultFunction { |
284 |
using Super = VMEmptyResultFunction; // just an alias for the super class |
using Super = VMEmptyResultFunction; // just an alias for the super class |
285 |
public: |
public: |