DEV Community

Dilek Karasoy for Picovoice

Posted on


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! _

Top comments (0)

The AI Brief

AI generated git commit messages

Minimize the struggle of remembering what you just coded. AI-generated commits make it easier to manage projects and keep track of changes. The Nutlope/aicommits project demonstrates how AI can improve commit messages.

I open sourced an AI that creates any UI in seconds

Make AI-generated user interfaces a breeze. This open-source project harnesses the power of generative AI technologies like chatGPT to create versatile, quick, and intuitive UI components.

Use AI to commit like a PRO in 1 second

Upgrade your commit message game with AI. Boost your productivity by using ChatGPT to generate commit messages and avoid context switching. OpenCommit is an open-source library that helps you achieve this easily.

Build your own ChatGPT starter kit

Train AI models on custom data for improved domain-specific knowledge. Combine the power of WebView technologies and this starter kit to train your ChatGPT model on specific websites, allowing for better-optimized outcomes.