Skip to content

Commit

Permalink
Tools: Tune: EQ: Rename configuration blobs to use .blob
Browse files Browse the repository at this point in the history
We have both .bin and .blob file name suffixes in use for
similar byte controls initialize files. The scripts those
generate files with .bin are changed to .blob.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
  • Loading branch information
singalsu authored and lgirdwood committed Apr 29, 2024
1 parent 4f46135 commit ec4e2a9
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
8 changes: 4 additions & 4 deletions tools/tune/eq/example_fir_eq.m
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function example_fir_eq()
%% -------------------
%% Example 1: Loudness
%% -------------------
fn.bin = 'eq_fir_loudness.bin';
fn.bin = 'eq_fir_loudness.blob';
fn.txt = 'eq_fir_loudness.txt';
fn.tplg1 = 'eq_fir_coef_loudness.m4';
fn.tplg2 = 'loudness.conf';
Expand Down Expand Up @@ -52,7 +52,7 @@ function example_fir_eq()
%% -------------------
%% Example 2: Mid boost
%% -------------------
fn.bin = 'eq_fir_mid.bin';
fn.bin = 'eq_fir_mid.blob';
fn.txt = 'eq_fir_mid.txt';
fn.tplg1 = 'eq_fir_coef_mid.m4';
fn.tplg2 = 'midboost.conf';
Expand All @@ -79,7 +79,7 @@ function example_fir_eq()
%% -------------------
%% Example 3: Flat EQ
%% -------------------
fn.bin = 'eq_fir_flat.bin';
fn.bin = 'eq_fir_flat.blob';
fn.txt = 'eq_fir_flat.txt';
fn.tplg1 = 'eq_fir_coef_flat.m4';
fn.tplg2 = 'flat.conf';
Expand All @@ -106,7 +106,7 @@ function example_fir_eq()
%% --------------------------
%% Example 4: Pass-through EQ
%% --------------------------
fn.bin = 'eq_fir_pass.bin';
fn.bin = 'eq_fir_pass.blob';
fn.txt = 'eq_fir_pass.txt';
fn.tplg1 = 'eq_fir_coef_pass.m4';
fn.tplg2 = 'passthrough.conf';
Expand Down
2 changes: 1 addition & 1 deletion tools/tune/eq/example_iir_bandsplit.m
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function example_iir_bandsplit()
%% --------------------------------------------------
%% Example: Band-split 2ch to 4ch low and high bands
%% --------------------------------------------------
blob_fn = fullfile(cpath, 'eq_iir_bandsplit.bin');
blob_fn = fullfile(cpath, 'eq_iir_bandsplit.blob');
alsa_fn = fullfile(cpath, 'eq_iir_bandsplit.txt');
tplg_fn = fullfile(tpath, 'eq_iir_bandsplit.m4');
comment = 'Bandsplit, created with example_iir_bandsplit.m';
Expand Down
14 changes: 7 additions & 7 deletions tools/tune/eq/example_iir_eq.m
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function example_iir_eq()
%% -------------------
%% Example 1: Loudness
%% -------------------
fn.bin = 'eq_iir_loudness.bin';
fn.bin = 'eq_iir_loudness.blob';
fn.txt = 'eq_iir_loudness.txt';
fn.tplg1 = 'eq_iir_coef_loudness.m4';
fn.tplg2 = 'loudness.conf';
Expand Down Expand Up @@ -52,7 +52,7 @@ function example_iir_eq()
%% ------------------------------------
%% Example 2: Bass boost
%% ------------------------------------
fn.bin = 'eq_iir_bassboost.bin';
fn.bin = 'eq_iir_bassboost.blob';
fn.txt = 'eq_iir_bassboost.txt';
fn.tplg1 = 'eq_iir_coef_bassboost.m4';
fn.tplg2 = 'bassboost.conf';
Expand All @@ -79,7 +79,7 @@ function example_iir_eq()
%% ------------------------------------
%% Example 3: Band-pass
%% ------------------------------------
fn.bin = 'eq_iir_bandpass.bin';
fn.bin = 'eq_iir_bandpass.blob';
fn.txt = 'eq_iir_bandpass.txt';
fn.tplg1 = 'eq_iir_coef_bandpass.m4';
fn.tplg2 = 'bandpass.conf';
Expand All @@ -106,7 +106,7 @@ function example_iir_eq()
%% -------------------
%% Example 4: Flat IIR
%% -------------------
fn.bin = 'eq_iir_flat.bin';
fn.bin = 'eq_iir_flat.blob';
fn.txt = 'eq_iir_flat.txt';
fn.tplg1 = 'eq_iir_coef_flat.m4';
fn.tplg2 = 'flat.conf';
Expand All @@ -133,7 +133,7 @@ function example_iir_eq()
%% ---------------------------
%% Example 5: Pass-through IIR
%% ---------------------------
fn.bin = 'eq_iir_pass.bin';
fn.bin = 'eq_iir_pass.blob';
fn.txt = 'eq_iir_pass.txt';
fn.tplg1 = 'eq_iir_coef_pass.m4';
fn.tplg2 = 'passthrough.conf';
Expand Down Expand Up @@ -178,7 +178,7 @@ function example_iir_eq()
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);
fn.bin = sprintf('eq_iir_highpass_%dhz_%ddb_%dkhz.blob', fc, g, fsk);

%% Design IIR high-pass
eq_hp = hp_iir_eq(fs, fc, g);
Expand All @@ -205,7 +205,7 @@ function example_iir_eq()
%% Example 7: Merge previous desigs to single blob for use as presets
%% ------------------------------------------------------------------

fn.bin = 'eq_iir_bundle.bin';
fn.bin = 'eq_iir_bundle.blob';
fn.txt = 'eq_iir_bundle.txt';
fn.tplg1 = 'eq_iir_bundle.m4';
fn.tplg2 = 'bundle.conf';
Expand Down
4 changes: 2 additions & 2 deletions tools/tune/eq/example_spk_eq.m
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ function example_spk_eq()

%% File names
fir.txt = 'eq_fir_spk.txt';
fir.bin = 'eq_fir_spk.bin';
fir.bin = 'eq_fir_spk.blob';
fir.tplg1 = 'eq_fir_coef_spk.m4';
fir.tplg2 = 'example_speaker.conf';
iir.txt = 'eq_iir_spk.txt';
iir.bin = 'eq_iir_spk.bin';
iir.bin = 'eq_iir_spk.blob';
iir.tplg1 = 'eq_iir_coef_spk.m4';
iir.tplg2 = 'example_speaker.conf';

Expand Down

0 comments on commit ec4e2a9

Please sign in to comment.