Cobra VAD — Web Quick Start
Platforms
- Chrome & Chromium-based browsers
- Edge
- Firefox
- Safari
Requirements
- Picovoice Account and AccessKey
- Node.js 14+
- npm
Picovoice Account & AccessKey
Signup or Login to Picovoice Console to get your AccessKey
.
Make sure to keep your AccessKey
secret.
Quick Start
Setup
Install Node.js .
Install the Web Voice Processor and Cobra Web packages:
Usage
Create an instance of CobraWorker
:
Initialize and start the Web Voice Processor to pass audio to the Cobra engine:
Release resources explicitly when done with Cobra:
Demo
For the Cobra Web SDK, there is a Web demo project available on the Cobra GitHub repository .
Setup
Clone the Cobra repository from GitHub:
Usage
- Install dependencies and run:
- Open http://localhost:5000 to view it in the browser.