Skip to main content

Porcupine wake word engine demo for ReSpeaker 4-mic hat.

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

Porcupine ReSpeaker Demo

Made in Vancouver, Canada by Picovoice

This package contains a commandline demo for controlling ReSpeaker 4-mic microphone array LEDs using Porcupine.

Porcupine

Porcupine is a highly-accurate and lightweight wake word engine. It enables building always-listening voice-enabled applications. It is

  • using deep neural networks trained in real-world environments.
  • compact and computationally-efficient. It is perfect for IoT.
  • cross-platform. Raspberry Pi, BeagleBone, Android, iOS, Linux (x86_64), macOS (x86_64), Windows (x86_64), and web browsers are supported. Additionally, enterprise customers have access to the ARM Cortex-M SDK.
  • scalable. It can detect multiple always-listening voice commands with no added runtime footprint.
  • self-service. Developers can train custom wake word models using Picovoice Console.

Installation

Follow the instructions on Seeed Studio to install and set up the microphone array.

Then install the demo:

sudo pip3 install ppnrespeakerdemo

Usage

Below are the colors associated with supported wake words for this demo:

  • #ffff33 Alexa
  • #ff8000 Bumblebee
  • #ffffff Computer
  • #ff0000 Hey Google
  • #800080 Hey Siri
  • #ff3399 Jarvis
  • #00ff00 Picovoice
  • #0000ff Porcupine
  • #000000 Terminator

Run the demo:

porcupine_respeaker_demo

Wait for the demo to initialize and print [Listening] in the terminal. Say:

Picovoice

The demo outputs:

detected 'Picovoice'

The lights are now set to green. Say:

Alexa

The lights are set to yellow now. Say:

Terminator

to turn off the lights.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ppnrespeakerdemo-1.9.5.tar.gz (12.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ppnrespeakerdemo-1.9.5-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

Details for the file ppnrespeakerdemo-1.9.5.tar.gz.

File metadata

  • Download URL: ppnrespeakerdemo-1.9.5.tar.gz
  • Upload date:
  • Size: 12.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.5

File hashes

Hashes for ppnrespeakerdemo-1.9.5.tar.gz
Algorithm Hash digest
SHA256 f53082c9ffac2c8d45d937fa9f6c0e715386c2f90bf1a54006f44d0691ff15e1
MD5 0ed39fe115c82ac6107ce1047d615b0c
BLAKE2b-256 0e06c7cce2bc3aa84eb75ec011d39f9c6a95641f05f270fd666bc7dc74f474e9

See more details on using hashes here.

File details

Details for the file ppnrespeakerdemo-1.9.5-py3-none-any.whl.

File metadata

  • Download URL: ppnrespeakerdemo-1.9.5-py3-none-any.whl
  • Upload date:
  • Size: 12.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.5

File hashes

Hashes for ppnrespeakerdemo-1.9.5-py3-none-any.whl
Algorithm Hash digest
SHA256 7791d225caa21a8c11c783093e8c4e875eac2ce38f044525065f3c4abc8d7e3e
MD5 4177cc8f19fb49ee32d5a38e4f528912
BLAKE2b-256 cb4f0af3e64f8a20c49182b22ce74adc4e2ea2bf2917a3c2578df709e18fd808

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page