Macro modulation source
| 146 | |
| 147 | // Macro modulation source |
| 148 | class MacroModSource : public ModSource { |
| 149 | public: |
| 150 | MacroModSource(int idx, juce::Colour _colour): ModSource(idx, _colour) {} |
| 151 | |
| 152 | ModSourceType getType() { return ModSourceType::MACRO; } |
| 153 | void processBlock() override; |
| 154 | juce::Range<float> getRange() override; |
| 155 | |
| 156 | // Must be initialized externally (in this app done in Parameters.cpp) |
| 157 | juce::AudioParameterFloat* macro; |
| 158 | }; |