From 104b9369c0790a052ebf9d275e4171222f9a0581 Mon Sep 17 00:00:00 2001 From: Florian Henkes Date: Sun, 15 Dec 2024 03:26:38 +0100 Subject: [PATCH] Require first two samples to be set to third sample for BiquadFilter --- src/biquad_filter.jl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/biquad_filter.jl b/src/biquad_filter.jl index ea77750..a66bbb5 100644 --- a/src/biquad_filter.jl +++ b/src/biquad_filter.jl @@ -83,7 +83,8 @@ end end # fix start value - Y[1] = Y[2] + Y[1] = Y[3] + Y[2] = Y[3] Y end