Picovoice Platform
Microcontroller Quick Start
Platforms
- Arm Cortex-M4
- Arm Cortex-M7
Requirement
- C99-compatible compiler
Picovoice Account & AccessKey
Signup or Login to Picovoice Console to get your AccessKey
.
Make sure to keep your AccessKey
secret.
Quick Start
Setup
- Clone the repository:
Usage
- Include the public header files.
- Link the project to an appropriate library file.
- Construct the Picovoice object:
Pass in frames of audio to the pv_picovoice_process
function:
Release resources explicitly when done with Picovoice:
Custom Keywords & Contexts
- Obtain the UUID of the chipset.
- Go to Picovoice Console to create models for Porcupine wake word engine and Rhino Speech-to-Intent engine.
- Select
Arm Cortex-M
as the platform when training the model. - Select appropriate board type.
- Train your models.
- Download your custom voice model(s).
- Decompress the zip file. The model file is either
.ppn
for Porcupine wake word or.rhn
for Rhino Speech-to-Intent. Both zip archives also contain a.h
header file containing theC
array version of the binary model. - Copy the contents of the arrays inside the
.h
header files and update thekeyword_array
andcontext_array
values.
Non-English Languages
Use the corresponding library file (.a
) to process non-English wake words and contexts.
The library files for all supported languages are available on the Picovoice GitHub repository.
Demo
For the Picovoice mcu SDK, we offer demo projects for several evaluation boards to demonstrate how to use the Picovoice Platform on microcontrollers. The full list of supported boards is available on the Picovoice GitHub repository.
Setup
Clone the repository:
Usage
- Arduino Portenta H7 (Arm Cortex-M7)
- Arduino Nano 33 BLE Sense (Arm Cortex-M4)
- IMXRT1050-EVKB (Arm Cortex-M7)
- STM32F407G-DISC1 (Arm Cortex-M4)
- STM32F411E-DISCO (Arm Cortex-M4)
- STM32F769I-DISCO (Arm Cortex-M7)