Picovoice Web SDKs now Available

  • Microphone
  • NLU
  • Offline Voice AI
  • Privacy
  • Web Audio API
  • Web Workers
  • WebAssembly
  • React
  • Angular
  • Vue
  • TypeScript
  • Electron
April 14, 2021

Picovoice has released its new Web SDK with out-of-the-box support across all major frameworks, including Angular, React, and Vue. Picovoice is the only end-to-end voice recognition platform for web browsers.

The Picovoice web packages work on all modern browsers. Picovoice enables you to run voice AI privately—inside the browser itself, without transmitting audio data to the cloud—across all modern browsers; unlike the SpeechRecognition API that only works in Google Chrome, Picovoice works on Chrome, Firefox, Edge, Safari, and Electron.

Developer-focused

Picovoice engines for web are now available as npm packages with both modern and legacy JavaScript support. Developers can get offline voice AI working in a web application in about ten lines of code. Angular, React, and Vue receive dedicated packages for making integration easier, including microphone access and audio preprocessing. TypeScript support and JavaScript modules enable best practices and also help developers do their job with imports, code autocomplete, and type checking.

Picovoice TypeScript support enables autocomplete in Visual Studio Code

Cutting-edge technology abstracted into a simple API

Behind the scenes, the web packages operate using WebAssembly, the Web Audio API, and Web Workers, keeping your application running smoothly by avoiding congesting the main JavaScript thread. The same extreme efficiency that allows Picovoice to run on microcontrollers lends itself to minimal resource usage on the web. These details are all abstracted by the SDK, leaving a straightforward API.

Demo

Here is a demo showing the Web SDKs. It is running English, French, German, and Spanish Porcupine wake word engines simultaneously:

Arrow (pointing at microphone button)
Press the microphone button to activate the demo

Start Developing Today