sof/tools/topology
Ben Zhang 6dd44d5b4c comp: Add initial Google hotword detector
Add a new component that uses the Google hotword library
to do keyword detection. The language model needs to be
set using the byte control from userspace before running
the detector.

1. Put the hotword library at $SOF_REPO/third_party_libraries/
hotword_dsp_api.h
libhifi3_google_hotword_dsp_api.a (TGL)
libcometlake_google_hotword_dsp_api.a (CML)

2. Build SOF fw and tools with xcc

3. Set language model on DUT:
amixer -c 0 contents | grep Model
      numid=73,iface=MIXER,name='GHD9.0 Hotword Model'
./sof-ctl -n 73 -t 0 -b -r -s x_google/en_all.mmap

4. Open the WoV pcm device
arecord -Dhw:0,8 -M -N -r 16000 -c2 -f s16_le --buffer-size=67200 -vvv
/tmp/wov.wav

5. Say "OK Google" and verify wov.wav

Signed-off-by: Ben Zhang <benzh@chromium.org>
Signed-off-by: Curtis Malainey <cujomalainey@google.com>
2021-06-11 13:53:12 +01:00
..
common TPLG: Rename a volume scale macro to avoid confusion 2019-04-18 22:06:13 +02:00
development topology: sof-tgl-nocodec-ci: fix DMIC16KHz PCM 2021-06-09 23:00:13 +08:00
dsp_enhancement Topology: Move some topologies to development and dsp_enhancement 2021-02-26 14:07:38 +00:00
m4 comp: Add initial Google hotword detector 2021-06-11 13:53:12 +01:00
platform comp: Add initial Google hotword detector 2021-06-11 13:53:12 +01:00
sof comp: Add initial Google hotword detector 2021-06-11 13:53:12 +01:00
CMakeLists.txt topology: sof-apl-nocodec: revert to static pipelines 2021-06-10 12:11:57 +01:00
get_abi.sh topology/cmake: add missing .m4 dependency, fixes incremental build 2021-03-26 14:51:33 +00:00
sof-apl-da7219.m4 Topology: Change minimum bus clock to 2.4 MHz for 48 kHz DMIC DAI 2021-03-08 12:14:26 +00:00
sof-apl-demux-pcm512x.m4 topology: sof: use pipeline ID in demux control name 2020-09-01 15:02:17 +08:00
sof-apl-keyword-detect.m4 topology: fix semi-abandoned Chrome topologies 2021-02-13 13:57:45 +00:00
sof-apl-nocodec.m4 Topology: Allow 8 - 192 kHz rates for Media Playback PCM 2021-06-03 13:21:35 +01:00
sof-apl-pcm512x.m4 topology: dmic users: define dailink and pcm ID in caller 2021-02-13 13:57:45 +00:00
sof-apl-rt298.m4 Topology: Add HDA config 2020-04-17 10:27:03 +01:00
sof-apl-tdf8532.m4 topology: revert all cAVS pipelines to 2 periods 2019-10-24 10:17:03 +02:00
sof-apl-wm8804.m4 topology: sof-apl-wm8804: add capture support 2020-04-17 09:59:58 +01:00
sof-bdw-codec.m4 topology: fix bdw codec topology 2019-12-16 14:03:41 +00:00
sof-bdw-nocodec.m4 Topology: Use pipe-volume-switch-capture in nocodec topologies 2021-02-18 14:02:21 +00:00
sof-byt-codec.m4 topology: bytcht: reduce deep-buffer to 5ms 2020-08-04 11:39:55 +01:00
sof-cht-max98090.m4 topology: sof-cht-max98090: temporarily remove S24/S32_LE support 2020-08-26 21:45:17 +01:00
sof-cht-nocodec.m4 Topology: Use pipe-volume-switch-capture in nocodec topologies 2021-02-18 14:02:21 +00:00
sof-cml-demux-rt5682-max98357a.m4 topology: move ifelse conditions to platform files 2020-03-24 11:42:26 +00:00
sof-cml-demux-rt5682.m4 Topology: Change minimum bus clock to 2.4 MHz for 48 kHz DMIC DAI 2021-03-08 12:14:26 +00:00
sof-cml-rt700.m4 topology: use different names for Jack input and output 2021-02-13 13:57:45 +00:00
sof-cml-rt1011-rt5682.m4 topology: fix semi-abandoned Chrome topologies 2021-02-13 13:57:45 +00:00
sof-cml-rt5682-kwd.m4 Topology: Change minimum bus clock to 2.4 MHz for 48 kHz DMIC DAI 2021-03-08 12:14:26 +00:00
sof-cml-rt5682-max98357a.m4 topology: move ifelse conditions to platform files 2020-03-24 11:42:26 +00:00
sof-cml-rt5682.m4 Topology: Change minimum bus clock to 2.4 MHz for 48 kHz DMIC DAI 2021-03-08 12:14:26 +00:00
sof-cnl-nocodec.m4 Topology: Change minimum bus clock to 2.4 MHz for 48 kHz DMIC DAI 2021-03-08 12:14:26 +00:00
sof-cnl-rt274.m4 topology: add platform sku files to config platform settings 2020-03-04 22:17:15 +00:00
sof-cnl-rt5682-sdw2.m4 topology: fix hdmi pcm id for cnl-rt5682-sdw2 2021-05-27 10:54:02 +01:00
sof-ehl-rt5660.m4 Topology: Change minimum bus clock to 2.4 MHz for 48 kHz DMIC DAI 2021-03-08 12:14:26 +00:00
sof-glk-da7219-kwd.m4 Topology: Add support for MAX98390 echo reference capture 2021-04-02 13:39:14 +01:00
sof-glk-da7219.m4 topology: sof-glk-cs42l42: using 2.4MHz bclk 2021-06-08 21:37:15 +01:00
sof-glk-rt5682.m4 Topology: Change minimum bus clock to 2.4 MHz for 48 kHz DMIC DAI 2021-03-08 12:14:26 +00:00
sof-hda-generic-idisp.m4 topology: dmic users: define dailink and pcm ID in caller 2021-02-13 13:57:45 +00:00
sof-hda-generic-kwd.m4 topology: sof-hda-generic-kwd: switch to use vol-kfbm mode 2020-06-30 11:13:48 +01:00
sof-hda-generic.m4 Topology: Fix re-define of DMICPROC in sof-hda-generic.m4 2021-03-04 22:01:03 +00:00
sof-icl-dmic-4ch.m4 Topology: Change minimum bus clock to 2.4 MHz for 48 kHz DMIC DAI 2021-03-08 12:14:26 +00:00
sof-icl-nocodec.m4 Topology: Use pipe-volume-switch-capture in nocodec topologies 2021-02-18 14:02:21 +00:00
sof-icl-rt700.m4 topology: use different names for Jack input and output 2021-02-13 13:57:45 +00:00
sof-icl-rt711-rt1308-rt715-hdmi.m4 topology: soundwire: use macros for dailink names 2021-04-13 10:43:03 +01:00
sof-imx8-cs42888-mixer.m4 topology: Use generic name for 8qxp/8qm 2021-04-28 20:11:19 +01:00
sof-imx8-cs42888.m4 topology: Use generic name for 8qxp/8qm 2021-04-28 20:11:19 +01:00
sof-imx8-nocodec-sai.m4 topology: Use generic name for 8qxp/8qm 2021-04-28 20:11:19 +01:00
sof-imx8-nocodec.m4 topology: Use generic name for 8qxp/8qm 2021-04-28 20:11:19 +01:00
sof-imx8-wm8960-kwd.m4 topology: imx8: add kwd component with wm8960 codec 2021-06-03 13:49:58 +01:00
sof-imx8-wm8960-mixer.m4 topology: Use generic name for 8qxp/8qm 2021-04-28 20:11:19 +01:00
sof-imx8-wm8960.m4 topology: Use generic name for 8qxp/8qm 2021-04-28 20:11:19 +01:00
sof-imx8mp-wm8960-kwd.m4 topology: Use generic name for 8qxp/8qm 2021-04-28 20:11:19 +01:00
sof-imx8mp-wm8960-mixer.m4 topology: Use generic name for 8qxp/8qm 2021-04-28 20:11:19 +01:00
sof-imx8mp-wm8960.m4 topology: Use generic name for 8qxp/8qm 2021-04-28 20:11:19 +01:00
sof-jsl-da7219.m4 topology: fix wrong parameter for HDMI in sof-jsl-da7219 2020-06-23 12:13:49 +01:00
sof-jsl-rt5682.m4 topology: fixing comments in jsl-rt1015 topology 2021-04-20 19:28:03 +01:00
sof-smart-amplifier-nocodec.m4 topology: add sample platform .m4 file for smart amplifier usage 2020-04-19 20:21:54 +01:00
sof-smart-amplifier.m4 topology: Added IGO_NR in sof-tgl-max98373-rt5682 topology. 2021-05-05 12:48:47 +01:00
sof-tgl-max98357a-rt5682.m4 comp: Add initial Google hotword detector 2021-06-11 13:53:12 +01:00
sof-tgl-max98373-rt5682.m4 comp: Add initial Google hotword detector 2021-06-11 13:53:12 +01:00
sof-tgl-nocodec.m4 Topology: Change minimum bus clock to 2.4 MHz for 48 kHz DMIC DAI 2021-03-08 12:14:26 +00:00
sof-tgl-rt711-rt1308.m4 topology: sof-tgl-rt711-rt1308: add BT offload for ADL 2021-05-19 15:22:35 +01:00
sof-tgl-sdw-max98373-rt5682.m4 comp: Add initial Google hotword detector 2021-06-11 13:53:12 +01:00