Cobra VAD — Python Quick Start
- Linux (x86_64)
- macOS (x86_64, arm64)
- Windows (x86_64)
- NVIDIA Jetson Nano
- Raspberry Pi (Zero, 2, 3, 4)
- Picovoice Account & AccessKey
- Python 3
Picovoice Account & AccessKey
Signup or Login to Picovoice Console to get your
Make sure to keep your
Create an instance of the Cobra VAD engine:
Pass in frames of audio to the
Release resources explicitly when done with Cobra:
For the Cobra Python SDK, we offer demo applications that demonstrate how to use the VAD engine on real-time audio streams (i.e. microphone input) and audio files.
Install the pvcobrademo Python package using PIP:
This package installs command-line utilities for the Cobra Python demos.
--help flag to see the usage options for the demo:
Ensure you have a working microphone connected to your system and run the following command to detect voice activity:
For more information on our Cobra demos for Python, head over to our GitHub repository .