MCPcopy Create free account
hub / github.com/jerryuhoo/Fire / isModulationActive

Method isModulationActive

Source/DSP/LfoManager.cpp:55–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55bool LfoManager::isModulationActive() const
56{
57 // Iterate through all modulation routings.
58 for (const auto& routing : modulationRoutings)
59 {
60 // If we find any routing with a valid target parameter,
61 // it means modulation is active.
62 if (routing.targetParameterID.isNotEmpty())
63 {
64 return true;
65 }
66 }
67
68 // If we get through the whole loop without finding an active routing,
69 // then no modulation is active.
70 return false;
71}
72
73// =============================================================================
74// Main Processing Logic

Callers 1

processBlockMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected