| 6471 | } |
| 6472 | |
| 6473 | bool ScriptingApi::Synth::removeEffect(var effect) |
| 6474 | { |
| 6475 | if (auto fx = dynamic_cast<ScriptingObjects::ScriptingEffect*>(effect.getObject())) |
| 6476 | { |
| 6477 | EffectProcessor* effectToRemove = fx->getEffect(); |
| 6478 | return moduleHandler.removeModule(effectToRemove); |
| 6479 | } |
| 6480 | |
| 6481 | return false; |
| 6482 | } |
| 6483 | |
| 6484 | int ScriptingApi::Synth::getModulatorIndex(int chain, const String &id) const |
| 6485 | { |
nothing calls this directly
no test coverage detected