Skip to content

Commit

Permalink
Require first two samples to be set to third sample for BiquadFilter
Browse files Browse the repository at this point in the history
  • Loading branch information
theHenks committed Dec 15, 2024
1 parent d8f52c9 commit 104b936
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/biquad_filter.jl
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ end
end

# fix start value
Y[1] = Y[2]
Y[1] = Y[3]
Y[2] = Y[3]

Y
end
Expand Down

0 comments on commit 104b936

Please sign in to comment.