Skip to content

Commit

Permalink
Merge pull request #75 from thirtythreeforty/fix-dynamic-smoother-lat…
Browse files Browse the repository at this point in the history
…ency

dynamic_smoother: Fix extra cycle of latency
  • Loading branch information
djowel authored Sep 29, 2024
2 parents 73d2b93 + 7d16ab6 commit 146fec8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion q_lib/include/q/fx/lowpass.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ namespace cycfi::q
auto g = std::min(g0 + sense * std::abs(bandz), 1.0f);
low1 = lowlz + g * (s - lowlz);
low2 = low2z + g * (low1 - low2z);
return low2z;
return low2;
}

void base_frequency(frequency base, float sps)
Expand Down

0 comments on commit 146fec8

Please sign in to comment.