DEV Community

Dilek Karasoy for Picovoice

Posted on

4

Voice AI with Raspberry Pi - ReSpeaker

For day 44 we'll use Porcupine Wake Word and Seeed Studio ReSpeaker.

Let's get started!
1. Installation

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

-Install the demo:

sudo pip3 install ppnrespeakerdemo
Enter fullscreen mode Exit fullscreen mode

Porcupine Wake Word requires a valid AccessKey at initialization If you haven't already, grab your AccessKey from Picovoice Console for free.

2. 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. Do not forget to replace the placeholder with your AccessKey

porcupine_respeaker_demo --access_key ${ACCESS_KEY}
Enter fullscreen mode Exit fullscreen mode

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
The lights are now turned off.

_Happy Pi Day! _

Image of Docusign

Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more

Top comments (0)

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More

👋 Kindness is contagious

Explore a sea of insights with this enlightening post, highly esteemed within the nurturing DEV Community. Coders of all stripes are invited to participate and contribute to our shared knowledge.

Expressing gratitude with a simple "thank you" can make a big impact. Leave your thanks in the comments!

On DEV, exchanging ideas smooths our way and strengthens our community bonds. Found this useful? A quick note of thanks to the author can mean a lot.

Okay