wip: quick note

This commit is contained in:
2023-09-08 00:10:22 +04:00
parent 5b97136f44
commit 307660d83a

View File

@@ -28,6 +28,8 @@ float Filter::Process(float in) {
}
void Filter::Process(std::vector<float>& samples) {
// todo: that will not work for ADSR-controlled filter. So, let's calculate all the possible frequency values into array/dictionary
// then just lookup for each sample
calculate_coefficients();
for (std::size_t i = 0; i < samples.size(); i++) {
samples[i] = Process(samples[i]);