aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2020-12-16 16:55:03 -0500
committerMarshall Lochbaum <mwlochbaum@gmail.com>2020-12-16 16:55:03 -0500
commit77ad395ae37ba96048edc17d3a51d472d5102a52 (patch)
treeeb84e8915138de2bf6d8e09a77c9085368dca425
parente6ca6b70c6c0916a9ef4bd14fb139207858a3bc0 (diff)
dziama/BQN has ⌾< now
-rw-r--r--filter.bqn2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter.bqn b/filter.bqn
index 70ff62e..ac19dbd 100644
--- a/filter.bqn
+++ b/filter.bqn
@@ -66,7 +66,7 @@ Hp1 ← ((-⊸≍ ≍○< ⥊) 1÷∘+Om) _f
# 2-pole *-pass
f2types ← "bw"‿"cd"‿"bessel"
Filter2 ← { type‿nPasses‿isHighpass:
- t ← f2types ⊑∘⊐ <type
+ t ← f2types⊸⊐⌾< type
! 3 > t
c ← t◶⟨4√-⟜1 , √1-˜√ , √3×0.5-˜·√-⟜0.75⟩ nPasses√2 # cutoff frequency correction
x ← t ⊑ ⟨√2‿1 , 2‿1 , 3‿3⟩ # p and g