MCPcopy Create free account
hub / github.com/TheWaveWarden/odin2 / treeValueChangedLFO4

Method treeValueChangedLFO4

Source/PluginProcessorValueChange.cpp:1070–1081  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1068}
1069
1070void OdinAudioProcessor::treeValueChangedLFO4(const String &p_ID, float p_new_value) {
1071#ifdef DEBUG_VARIABLES
1072 DBG("LFO4: " + p_ID + ": " + std::to_string(p_new_value));
1073#endif
1074 StringRef id = StringRef(p_ID);
1075
1076 if (id == m_lfo4_freq_identifier) {
1077 m_global_lfo.setBaseFrequency(p_new_value);
1078 } else if (id == m_lfo4_reset_identifier) {
1079 m_global_lfo.setResetActive(p_new_value > 0.5f);
1080 }
1081}
1082
1083// void OdinAudioProcessor::treeValueChangedAmount1(const String &p_ID, float p_new_value) {
1084// #ifdef DEBUG_VARIABLES

Callers

nothing calls this directly

Calls 2

setResetActiveMethod · 0.80
setBaseFrequencyMethod · 0.45

Tested by

no test coverage detected