~canonical-hwe-team/hwe-next/+git/sof:improve_tune_tdfb

Last commit made on 2020-10-27
Get this branch:
git clone -b improve_tune_tdfb https://git.launchpad.net/~canonical-hwe-team/hwe-next/+git/sof

Branch merges

Branch information

Name:
improve_tune_tdfb
Repository:
lp:~canonical-hwe-team/hwe-next/+git/sof

Recent commits

7a73e17... by Seppo Ingalsuo <email address hidden> on 2020-10-26

Tools: Tune: TDFB: Simplify typical usage of bf_design(), bf_export()

The bf_defaults() now sets the default directory locations for
for bf_export() so it does not need to be set in every script.

Also the defaults for input channels and output mixing are set to
that in typical design they do not need to be set.

The default distance for look direction is set to 5.0m so it is better
guaranteed in far field for even relatively large arrays. The far field
assumes planar sound waves. The design equations do not fully support
near field with spherical waves.

The FFT length is changed to 1024 to enable design of longer filter bank
filters. There's no compromise in performance for for e.g. length 64.

The incorrect use of mic_n (number of microphones) is replaced by
num_filters. It's possible define beamformer that ignores some mic
channels so these are not the same.

The automatic systematic design file names are now created for all array
types, not just line.

The script is made more flexible to run without need to export data and
clutter just to quickly interactively check from plots what kind of
beam pattern and other characteristic some array, e.g. circular with
some radius and mic count gives.

Signed-off-by: Seppo Ingalsuo <email address hidden>

cb6e0f3... by Seppo Ingalsuo <email address hidden> on 2020-10-26

Tools: Test: Audio: Cleanup for TDFB component test script

The common array identifier string is brought up for easier edit to
test other array geometries than this default. A typo about 16 kHz
is fixed, the test runs at 48 kHz testbench default rate.

Signed-off-by: Seppo Ingalsuo <email address hidden>

372f7c9... by Seppo Ingalsuo <email address hidden> on 2020-10-26

Tools: Tune: TDFB: Fix typo in copyright text year

This patch fixes the small mistake.

Signed-off-by: Seppo Ingalsuo <email address hidden>

f7f5066... by Seppo Ingalsuo <email address hidden> on 2020-10-26

Tools: Tune: TDFB: Updates for array geometry helpers and add 3D array

This patch adds the missing XYZ 3D array helper and does minor fixes
for two others. The L-shape microphones orientation is made similar as
in rectangular array by inverting the y-axis. The missing centering
of rectangular array is added.

Signed-off-by: Seppo Ingalsuo <email address hidden>

db09bb8... by Curtis Malainey <email address hidden> on 2020-09-22

dcblock: fix reset handler

Reset state when reset trigger happens and use memset to do it

Signed-off-by: Curtis Malainey <email address hidden>

b672923... by Guennadi Liakhovetski <email address hidden> on 2020-10-08

zephyr: adjust for new location of audio component samples

Audio component samples have been moved to a new location, fix Zephyr
builds to account for it.

Signed-off-by: Guennadi Liakhovetski <email address hidden>

9a02ffd... by Guennadi Liakhovetski <email address hidden> on 2020-10-07

zephyr: fix compiler warnings due to recent Zephyr changes

Fix two compiler warnings, introduced by recent Zephyr changes.

Signed-off-by: Guennadi Liakhovetski <email address hidden>

f215d5e... by Guennadi Liakhovetski <email address hidden> on 2020-10-07

cavs: explicitly include <cavs/version.h> where needed

To use CAVS_VERSION* macros the <cavs/version.h> header has to be
included. Also remove superfluous empty lines from that header.

Signed-off-by: Guennadi Liakhovetski <email address hidden>

6cd9f6a... by Curtis Malainey <email address hidden> on 2020-10-22

abi: fix macro size overflow

ubsan found the following bug via oss-fuzz

/src/sof/src/ipc/handler.c:1385:9: runtime error: left shift of 15 by 28 places cannot be represented in type 'int'

This is caused by SOF_GLB_TYPE_MASK which has an implicit length of 15
(int16_t)

Signed-off-by: Curtis Malainey <email address hidden>

ed21921... by Karol Trzcinski <email address hidden> on 2020-10-21

gitignore: Add checkpatch temporary file to gitignore

Any generated file should be tracked by git to keep repositiry clean.
Such an file should be added to .gitignore to reduce possibility of
accidentally pushig this file to remote branches, eg. after typing
`git add *` before pushing changes.

Signed-off-by: Karol Trzcinski <email address hidden>