Skip to content

audio: mfcc: add 8-bit PCAN and soft AGC Mel feature extraction modes - #11510

Draft
lgirdwood wants to merge 3 commits into
thesofproject:mainfrom
lgirdwood:wov-pr5-mfcc-pcan
Draft

lgirdwood wants to merge 3 commits into
thesofproject:mainfrom
lgirdwood:wov-pr5-mfcc-pcan

Conversation

@lgirdwood

Copy link
Copy Markdown
Member

Split from #11471 (wov-d0i3).

Stacked Draft PR — Prerequisite: Depends on #11504 (wov-pr1-pcan). Currently stacked on wov-pr1-pcan (3 commits ahead of main: 2 from #11504 + 1 MFCC commit 3b0113a81). Will be rebased onto main once #11504 is merged.

Summary

Testing

  • Compiled as part of the stacked PTL firmware build (intel_adsp/ace30/ptl) with CONFIG_COMP_MFCC=y and CONFIG_MATH_PCAN=y.

Add fixed-point Per-Channel AGC Normalization (PCAN) math library under
src/math/pcan/ with Octave reference scripts and a Zephyr ztest unit
test suite. Extend mel_filterbank_32.c and auditory.h for 32-bit Mel
output scaling needed by PCAN.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
Unset GTK_PATH in scripts/host-testbench.sh to avoid snap or desktop
Octave library conflicts when generating or verifying reference vectors.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
Extend the MFCC component with selectable output data types at setup,
including 8-bit PCAN normalization and 8-bit soft AGC (AGC8) Mel
spectrum output modes used by microWakeWord topologies.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants