Commit 7e7b937
committed
audio: detect_test: add multi-slot frequency detection and IPC4 notification
- Add multi-slot zero-crossing frequency estimation for Slot 0 (Male 120Hz),
Slot 1 (Female 220Hz), and Slot 2 (Child 350Hz).
- Require 30ms sustained frequency match (consec_match_count >= 3) and energy > 500
to eliminate transient background room noise triggers.
- Map IPC4 pipeline IDs 101/102/103 to slot IDs 0/1/2.
- Populate IPC4 phrase detection notifications with WOV detector module ID,
instance ID, and slot ID.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>1 parent a2c2be4 commit 7e7b937
3 files changed
Lines changed: 249 additions & 41 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
34 | 41 | | |
35 | 42 | | |
0 commit comments