angularPorcupine - Angular Quick Start

  • Wake Word Detection
  • Offline Hotword Detection
  • Always Listening
  • Voice Activation
  • Web
  • WebAssembly


  • Chrome, Edge
  • Firefox
  • Safari


Using Porcupine with Angular requires installing three packages: the binding package, @picovoice/porcupine-web-angular, the language-specific web worker package (e.g. @picovoice/porcupine-web-en-worker), and the @picovoice/web-voice-processor.

Use yarn or npm to install the packages to your project:

yarn add @picovoice/porcupine-web-angular @picovoice/porcupine-web-en-worker @picovoice/web-voice-processor


npm install @picovoice/porcupine-web-angular @picovoice/porcupine-web-en-worker @picovoice/web-voice-processor

Demo application

There is a Angular demo project available on the Porcupine GitHub repository.

Clone Picovoice GitHub repository

If using SSH, clone the Porcupine repository with:

git clone --recurse-submodules [email protected]:Picovoice/porcupine.git

If using HTTPS, then type:

git clone --recurse-submodules

Install dependencies and run

Use yarn or npm to install the demo dependencies and start it:

yarn start


npm install
npm run start

Open http://localhost:4200 to view it in the browser.

Try Porcupine

The demo is listening for the built-in wake word "Deep Sky Blue":

"Deep Sky Blue"

The detections will appear on the page.

Custom Wake Words

You can create custom Porcupine wake word models using Picovoice Console. Making Porcupine wake word models for the Web platform requires an Enterprise account.

Issue with this doc? Please let us know.