diff --git a/src/audio/eq_iir/tune/sof_example_fir_eq.m b/src/audio/eq_iir/tune/sof_example_fir_eq.m index a9d377068049..29a69f94a219 100644 --- a/src/audio/eq_iir/tune/sof_example_fir_eq.m +++ b/src/audio/eq_iir/tune/sof_example_fir_eq.m @@ -226,6 +226,7 @@ function sof_example_fir_eq() % Pack and write file common function for all exports function sof_eq_pack_export(bm, fn, note) +howto = 'cd src/audio/eq_iir/tune; octave --no-window-system sof_example_fir_eq.m'; bp = sof_eq_fir_blob_pack(bm, 3); % IPC3 if ~isempty(fn.bin) sof_ucm_blob_write(fullfile(fn.cpath3, fn.bin), bp); @@ -234,7 +235,7 @@ function sof_eq_pack_export(bm, fn, note) sof_alsactl_write(fullfile(fn.cpath3, fn.txt), bp); end if ~isempty(fn.tplg1) - sof_tplg_write(fullfile(fn.tpath1, fn.tplg1), bp, fn.priv, note); + sof_tplg_write(fullfile(fn.tpath1, fn.tplg1), bp, fn.priv, note, howto); end bp = sof_eq_fir_blob_pack(bm, 4); % IPC4 @@ -245,7 +246,7 @@ function sof_eq_pack_export(bm, fn, note) sof_alsactl_write(fullfile(fn.cpath4, fn.txt), bp); end if ~isempty(fn.tplg2) - sof_tplg2_write(fullfile(fn.tpath2, fn.tplg2), bp, 'fir_eq', note); + sof_tplg2_write(fullfile(fn.tpath2, fn.tplg2), bp, 'fir_eq', note, howto); end end diff --git a/src/audio/eq_iir/tune/sof_example_iir_eq.m b/src/audio/eq_iir/tune/sof_example_iir_eq.m index c2cc7a85279d..94b015671509 100644 --- a/src/audio/eq_iir/tune/sof_example_iir_eq.m +++ b/src/audio/eq_iir/tune/sof_example_iir_eq.m @@ -354,6 +354,7 @@ function sof_example_iir_eq() % Pack and write file common function for all exports function sof_eq_pack_export(bm, fn, note) +howto = 'cd src/audio/eq_iir/tune; octave --no-window-system sof_example_iir_eq.m'; bp = sof_eq_iir_blob_pack(bm, 3); % IPC3 if ~isempty(fn.bin) sof_ucm_blob_write(fullfile(fn.cpath3, fn.bin), bp); @@ -362,7 +363,7 @@ function sof_eq_pack_export(bm, fn, note) sof_alsactl_write(fullfile(fn.cpath3, fn.txt), bp); end if ~isempty(fn.tplg1) - sof_tplg_write(fullfile(fn.tpath1, fn.tplg1), bp, fn.priv, note); + sof_tplg_write(fullfile(fn.tpath1, fn.tplg1), bp, fn.priv, note, howto); end bp = sof_eq_iir_blob_pack(bm, 4); % IPC4 @@ -373,7 +374,7 @@ function sof_eq_pack_export(bm, fn, note) sof_alsactl_write(fullfile(fn.cpath4, fn.txt), bp); end if ~isempty(fn.tplg2) - sof_tplg2_write(fullfile(fn.tpath2, fn.tplg2), bp, 'iir_eq', note); + sof_tplg2_write(fullfile(fn.tpath2, fn.tplg2), bp, 'iir_eq', note, howto); end end diff --git a/src/audio/eq_iir/tune/sof_example_spk_eq.m b/src/audio/eq_iir/tune/sof_example_spk_eq.m index ffd3c090abdd..5acc7a304172 100644 --- a/src/audio/eq_iir/tune/sof_example_spk_eq.m +++ b/src/audio/eq_iir/tune/sof_example_spk_eq.m @@ -30,6 +30,7 @@ function sof_example_spk_eq() fir.priv = 'DEF_EQFIR_PRIV'; iir.comment = 'Speaker FIR+IIR EQ created with example_spk_eq.m'; fir.comment = 'Speaker FIR+IIR EQ created with example_spk_eq.m'; +howto = 'cd src/audio/eq_iir/tune; octave --no-window-system sof_example_spk_eq.m'; %% File names fir.txt = 'spk.txt'; @@ -144,11 +145,11 @@ function sof_example_spk_eq() bp_fir = sof_eq_fir_blob_pack(bm_fir, 3); % IPC3 sof_alsactl_write(fullfile(fir.cpath3, fir.txt), bp_fir); sof_ucm_blob_write(fullfile(fir.cpath3, fir.bin), bp_fir); - sof_tplg_write(fullfile(fn.tpath1, fir.tplg1), bp_fir, fir.priv, fir.comment); + sof_tplg_write(fullfile(fn.tpath1, fir.tplg1), bp_fir, fir.priv, fir.comment, howto); bp_fir = sof_eq_fir_blob_pack(bm_fir, 4); % IPC4 sof_alsactl_write(fullfile(fir.cpath4, fir.txt), bp_fir); sof_ucm_blob_write(fullfile(fir.cpath4, fir.bin), bp_fir); - sof_tplg2_write(fullfile(fir.tpath2, fir.tplg2), bp_fir, 'eq_fir', fir.comment); + sof_tplg2_write(fullfile(fir.tpath2, fir.tplg2), bp_fir, 'eq_fir', fir.comment, howto); end %% Export IIR part @@ -161,11 +162,11 @@ function sof_example_spk_eq() bp_iir = sof_eq_iir_blob_pack(bm_iir, 3); % IPC3 sof_alsactl_write(fullfile(iir.cpath3, iir.txt), bp_iir); sof_ucm_blob_write(fullfile(iir.cpath3, iir.bin), bp_iir); - sof_tplg_write(fullfile(fn.tpath1, iir.tplg1), bp_iir, iir.priv, iir.comment); + sof_tplg_write(fullfile(fn.tpath1, iir.tplg1), bp_iir, iir.priv, iir.comment, howto); bp_iir = sof_eq_iir_blob_pack(bm_iir, 4); % IPC4 sof_alsactl_write(fullfile(iir.cpath4, iir.txt), bp_iir); sof_ucm_blob_write(fullfile(iir.cpath4, iir.bin), bp_iir); - sof_tplg2_write(fullfile(iir.tpath2, iir.tplg2), bp_iir, 'eq_iir', iir.comment); + sof_tplg2_write(fullfile(iir.tpath2, iir.tplg2), bp_iir, 'eq_iir', iir.comment, howto); end sof_eq_paths(0);