Skip to content

Commit 7d16ab6

Browse files
dynamic_smoother: Fix extra cycle of latency
Fixes #74.
1 parent 73d2b93 commit 7d16ab6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

q_lib/include/q/fx/lowpass.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ namespace cycfi::q
238238
auto g = std::min(g0 + sense * std::abs(bandz), 1.0f);
239239
low1 = lowlz + g * (s - lowlz);
240240
low2 = low2z + g * (low1 - low2z);
241-
return low2z;
241+
return low2;
242242
}
243243

244244
void base_frequency(frequency base, float sps)

0 commit comments

Comments
 (0)