Cobra VAD — Microcontroller Quick Start
Platforms
- Arm Cortex-M4
Requirements
- C99-compatible compiler
Picovoice Account & AccessKey
Signup or Login to Picovoice Console to get your AccessKey.
Make sure to keep your AccessKey secret.
Cobra VAD for MCU is currently in Beta and available for evaluation for 30 minutes per device, (i.e., user). If you are working on a commercial project or require extended access, please contact Picovoice with your project details.
Quick Start
Setup
- Clone the repository:
Usage
- Include the public header files (
picovoice.handpv_cobra.h). - Link the project to an appropriate precompiled library for the target platform and load it.
- Construct the Cobra Voice Activity Detection object:
- Pass in audio to the
pv_cobra_processfunction:
- Release resources explicitly when done with Cobra Voice Activity Detection:
Demo
For the Cobra Voice Activity Detection SDK, we offer demo applications that demonstrate how to use the VAD engine on real-time audio streams (i.e. microphone input) on microcontrollers.
Setup
- Clone the Cobra Voice Activity Detection repository from GitHub using HTTPS: