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

Method LfoManager

Source/DSP/LfoManager.cpp:16–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14#include "../Utility/AudioHelpers.h"
15
16LfoManager::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
35void LfoManager::prepare(const juce::dsp::ProcessSpec& spec)
36{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected