From b5bd60c1f05fd11dc286834a11e4b965866b7dcf Mon Sep 17 00:00:00 2001 From: Seppo Ingalsuo Date: Mon, 22 Apr 2024 17:03:57 +0300 Subject: [PATCH] Tools: Tune: EQ: Create highpass blobs and add 100 Hz version There were no bytes control binary blobs for highpass filters. This patch adds export of them and adds a 100 Hz filter option. Signed-off-by: Seppo Ingalsuo --- tools/tune/eq/example_iir_eq.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/tune/eq/example_iir_eq.m b/tools/tune/eq/example_iir_eq.m index b47aa7405..4df71fdad 100644 --- a/tools/tune/eq/example_iir_eq.m +++ b/tools/tune/eq/example_iir_eq.m @@ -161,9 +161,8 @@ eq_pack_export(bm, fn, comment) %% Example 6: 20/30/40/50 Hz high-pass %% ------------------------------------ -fn.bin = ''; % Don't create fs_list = [16e3 48e3]; -fc_list = [20 30 40 50]; +fc_list = [20 30 40 50 100]; g_list = [0 20]; for i = 1:length(fs_list) for j = 1:length(fc_list); @@ -179,6 +178,7 @@ for i = 1:length(fs_list) fc, g, fsk); comment = sprintf('%d Hz second order high-pass, gain %d dB, created with example_iir_eq.m', ... fc, g); + fn.bin = sprintf('eq_iir_highpass_%dhz_%ddb_%dkhz.bin', fc, g, fsk); %% Design IIR high-pass eq_hp = hp_iir_eq(fs, fc, g);