Picovoice end-to-end voice platform demo for ReSpeaker 4-mic hat.
Project description
Picovoice ReSpeaker Demo
Made in Vancouver, Canada by Picovoice
This package contains a commandline demo for controlling ReSpeaker 4-mic microphone array LEDs using Picovoice.
Picovoice
Picovoice is an end-to-end platform for building voice products on your terms. It enables creating voice experiences similar to Alexa and Google. But it entirely runs 100% on-device. Picovoice is
- Private: Everything is processed offline. Intrinsically HIPAA and GDPR compliant.
- Reliable: Runs without needing constant connectivity.
- Zero Latency: Edge-first architecture eliminates unpredictable network delay.
- Accurate: Resilient to noise and reverberation. It outperforms cloud-based alternatives by wide margins *.
- Cross-Platform: Design once, deploy anywhere. Build using familiar languages and frameworks.
Installation
Follow the instructions on Seeed Studio to install and setup the microphone array.
Then install the demo:
sudo pip3 install pvrespeakerdemo
Usage
Run the demo:
picovoice_respeaker_demo
Say
Picovoice
The demo outputs:
[wake word]
Say
turn on the lights
You should see the lights turned on and the following message in the terminal:
{
is_understood : 'true',
intent : 'turnLights',
slots : {
'state' : 'on',
}
}
The list of commands are shown on the terminal:
context:
expressions:
turnLights:
- "[switch, turn] $state:state (all) (the) [light, lights]"
- "[switch, turn] (all) (the) [light, lights] $state:state"
changeColor:
- "[change, set, switch] (all) (the) (light, lights) (color) (to) $color:color"
slots:
state:
- "off"
- "on"
color:
- "blue"
- "green"
- "orange"
- "pink"
- "purple"
- "red"
- "white"
- "yellow"
Try changing the color by:
Picovoice, set the lights to orange
Turn off the lights by:
Picovoice, turn off all lights
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pvrespeakerdemo-0.9.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b7ebc5a53b7aafc86d3e08e516c39abaae7251cef19c81b6b6d8b90bcf808e7 |
|
MD5 | 28e2a3f6618d9ab59d63d40c3e0f22dd |
|
BLAKE2b-256 | 2659560535f7d4048c5dd1df3f2a5bdc05941136609e454fd83317f2767d6929 |