Normalize the velocity before tracking
This commit is contained in:
parent
1acefb19d9
commit
fe62e9a307
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ void sfz::FilterHolder::setup(const FilterDescription& description, int noteNumb
|
|||
}
|
||||
const auto keytrack = description.keytrack * (noteNumber - description.keycenter);
|
||||
baseCutoff *= centsFactor(keytrack);
|
||||
const auto veltrack = description.veltrack * velocity;
|
||||
const auto veltrack = description.veltrack * normalizeVelocity(velocity);
|
||||
baseCutoff *= centsFactor(veltrack);
|
||||
|
||||
baseGain = description.gain;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue