Good approach to implementing modulation matrix? (in: DSP and Plugin Devel…)
By: Alloyed
25 May 14:49
so my current approach to parameters generally is to have a flat list of parameter values and poll it where needed:
[code]vector<float> parameters;
OnAutomationEvent() {
parameters[cutoff] = …;
}
ProcessSample() {
filter.SetCutoff(parameters[cutoff]); // filter compares to last input to make this less awful
filter.Process(…)
}[/code]
which is: not great, but it’s easy and it matches well with my hardware dsp (where polling is the only option). The fact that my code started as e…
Go to first unread post in this topic
Read more here: Source link
