MCPcopy Create free account
hub / github.com/christophhart/HISE / removeModulator

Method removeModulator

hi_scripting/scripting/api/ScriptingApi.cpp:6453–6463  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6451}
6452
6453bool 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
6465ScriptingApi::Synth::ScriptEffect* ScriptingApi::Synth::addEffect(const String &type, const String &id, int index)
6466{

Callers

nothing calls this directly

Calls 3

getObjectMethod · 0.45
getModulatorMethod · 0.45
removeModuleMethod · 0.45

Tested by

no test coverage detected