Change filter cutoff modulation type to float
This commit is contained in:
parent
f0dd146361
commit
8c625d1e04
2 changed files with 3 additions and 3 deletions
|
|
@ -156,11 +156,11 @@ namespace Default
|
|||
constexpr uint8_t filterKeycenter { 60 };
|
||||
constexpr int filterRandom { 0 };
|
||||
constexpr int filterVeltrack { 0 };
|
||||
constexpr int filterCutoffCC { 0 };
|
||||
constexpr float filterCutoffCC { 0 };
|
||||
constexpr float filterResonanceCC { 0 };
|
||||
constexpr float filterGainCC { 0 };
|
||||
constexpr Range<float> filterCutoffRange { 0.0f, 20000.0f };
|
||||
constexpr Range<int> filterCutoffModRange { -9600, 9600 };
|
||||
constexpr Range<float> filterCutoffModRange { -9600, 9600 };
|
||||
constexpr Range<float> filterGainRange { -96.0f, 96.0f };
|
||||
constexpr Range<float> filterGainModRange { -96.0f, 96.0f };
|
||||
constexpr Range<int> filterKeytrackRange { 0, 1200 };
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ struct FilterDescription
|
|||
int veltrack { Default::filterVeltrack };
|
||||
int random { Default::filterRandom };
|
||||
FilterType type { FilterType::kFilterLpf2p };
|
||||
CCMap<int> cutoffCC { Default::filterCutoffCC };
|
||||
CCMap<float> cutoffCC { Default::filterCutoffCC };
|
||||
CCMap<float> resonanceCC { Default::filterResonanceCC };
|
||||
CCMap<float> gainCC { Default::filterGainCC };
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue