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

Method getIntensityValue

hi_scripting/scripting/api/ScriptModulationMatrix.cpp:1029–1037  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1027}
1028
1029double ScriptModulationMatrix::ModulatorTargetData::getIntensityValue(GlobalModulator* gm) const
1030{
1031 auto intensity = dynamic_cast<Modulation*>(gm)->getDisplayIntensity();
1032
1033 if (isBipolarFreqMod(gm))
1034 intensity *= 0.01f;
1035
1036 return intensity;
1037}
1038
1039bool ScriptModulationMatrix::ModulatorTargetData::canConnect(const String& sourceId) const
1040{

Callers 2

getConnectionDataMethod · 0.45

Calls 1

getDisplayIntensityMethod · 0.80

Tested by

no test coverage detected