sof/tools/tune/common
Seppo Ingalsuo e7fc334bda Tools: Tune: DRC: Changes for Matlab compatibility
This patch enables running example_drc.m script with Matlab.
The endifs are changed to end. And mixed usage of endfunction
and end is corrected to just end. The unnecessary
semicolons from function declarations are deleted.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
2023-05-29 10:12:16 +03:00
..
README.md
alsactl_write.m Tools: Tune: DRC: Changes for Matlab compatibility 2023-05-29 10:12:16 +03:00
blob_write.m
get_abi.m
tplg2_write.m
tplg_write.m

README.md

Common Scripts to Generate Byte Control Files

The tools need GNU Octave version 4.0.0 or later with octave-signal package.

alsactl_write(fn, blob8)

Converts blob8 to a CSV text file. The output can be used to configure an audio component using sof-ctl. Example:

sof-ctl -n 22 -s output.csv # Apply config to control numid=22

blob_write(fn, blob8)

Converts blob8 to a binary file. The output can be used to configure an audio component using sof-ctl. Example:

sof-ctl -n 22 -b set output.bin # Apply config to control numid=22

tplg_write(fn, blob8, name, comment)

Converts blob8 to a topology config file. The control bytes generated will be called {name}_priv.