| 6451 | } |
| 6452 | |
| 6453 | bool ScriptingApi::Synth::removeModulator(var mod) |
| 6454 | { |
| 6455 | if (auto m = dynamic_cast<ScriptingObjects::ScriptingModulator*>(mod.getObject())) |
| 6456 | { |
| 6457 | Modulator* modToRemove = m->getModulator(); |
| 6458 | |
| 6459 | return moduleHandler.removeModule(modToRemove); |
| 6460 | } |
| 6461 | |
| 6462 | return false; |
| 6463 | } |
| 6464 | |
| 6465 | ScriptingApi::Synth::ScriptEffect* ScriptingApi::Synth::addEffect(const String &type, const String &id, int index) |
| 6466 | { |
nothing calls this directly
no test coverage detected