| 14 | #include "../Utility/AudioHelpers.h" |
| 15 | |
| 16 | LfoManager::LfoManager(juce::AudioProcessorValueTreeState& apvts) : treeState(apvts) |
| 17 | { |
| 18 | // Initialize LFO data containers for 4 LFOs |
| 19 | lfoData.resize(4); |
| 20 | |
| 21 | // Define the string representations for synced LFO rates |
| 22 | lfoRateSyncDivisions = { |
| 23 | "1/64", "1/32T", "1/32", "1/16T", "1/16", "1/8T", "1/8", "1/4T", "1/4", "1/2T", "1/2", "1 Bar", "2 Bars", "4 Bars" |
| 24 | }; |
| 25 | |
| 26 | for (int i = 0; i < 4; ++i) |
| 27 | modulationRoutings.add({}); |
| 28 | |
| 29 | for (int i = 0; i < 4; ++i) |
| 30 | { |
| 31 | shapeUpdateFlags[i] = true; |
| 32 | } |
| 33 | } |
| 34 | |
| 35 | void LfoManager::prepare(const juce::dsp::ProcessSpec& spec) |
| 36 | { |
nothing calls this directly
no outgoing calls
no test coverage detected