Wake words are great to activate dormant devices and for simple commands. Here's a demo project using Porcupine wake word engine in four languages.Wake words that are used in this project:
Porcupine
for the English language,salut ordinateur
for the French language.hey computer
for the German language,hola computadora
for the Spanish language,
- Copy the UUID of the board printed at the beginning of the session to the serial port monitor.
- Go to Picovoice Console to create a model for Porcupine wake word engine.
- Select
Arm Cortex-M
as the platform when training the model. - Select
PSOC6
as the board type and provide the UUID of the chipset on the board.
Click on the train button, and the model will be ready to be downloaded.
Import the Custom Wake Word- Download your custom voice model(s) from Picovoice Console.
- Decompress the zip file. The model for Porcupine wake word is located in two files: A binary
.ppn
file, and as a.h
header file containing aC
array version of the binary model. - Copy the contents of the
KEYWORD_ARRAY
array inside the.h
header file and update theDEFAULT_KEYWORD_ARRAY
value in /include/pv_params.h in the language section for which the model is trained.
Comments