mirror of
https://codeberg.org/armin/chromaflock.git
synced 2026-09-01 04:10:47 +02:00
Add distortion Symmetry and Tone knobs
This commit is contained in:
parent
2a1feaaea9
commit
1abf4f4b60
2 changed files with 21 additions and 5 deletions
|
|
@ -43,6 +43,7 @@ juce::AudioProcessorValueTreeState::ParameterLayout ChromaFlockProcessor::create
|
|||
juce::AudioProcessorValueTreeState::ParameterLayout layout;
|
||||
|
||||
auto zeroOne = juce::NormalisableRange<float>(0.0f, 1.0f, 0.01f);
|
||||
auto minusOneOne = juce::NormalisableRange<float>(-1.0f, 1.0f, 0.01f);
|
||||
|
||||
// LFO1 depth: fine 0.001 step, with a skew of 2.0 (value = p^2) so the
|
||||
// lower knob range resolves much finer and the 0.001 step only applies
|
||||
|
|
@ -153,7 +154,9 @@ juce::AudioProcessorValueTreeState::ParameterLayout ChromaFlockProcessor::create
|
|||
layout.add(std::make_unique<juce::AudioParameterFloat>(
|
||||
juce::ParameterID{"distAmount", 1}, "Dist Amount", zeroOne, 0.0f));
|
||||
layout.add(std::make_unique<juce::AudioParameterFloat>(
|
||||
juce::ParameterID{"distMix", 1}, "Dist Mix", zeroOne, 0.0f));
|
||||
juce::ParameterID{"distSymmetry", 1}, "Dist Symmetry", minusOneOne, 0.0f));
|
||||
layout.add(std::make_unique<juce::AudioParameterFloat>(
|
||||
juce::ParameterID{"distTone", 1}, "Dist Tone", zeroOne, 1.0f));
|
||||
|
||||
// COMPRESSOR
|
||||
layout.add(std::make_unique<juce::AudioParameterFloat>(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue