Coder Social home page Coder Social logo

mmm-porcupine's Introduction

Made with love License

MMM-Porcupine

MMM-Porcupine is a customizable hotword detection module to activate/notify other MagicMirror modules

The default hotwords are "porcupine", "bumblebee", "grasshopper", "terminator, and "hey edison"

See Picovoice Porcupine for info on how to train your own model

It would be great to get a model trained by the community on the "smart mirror" hotword

Installation

cd ~/MagicMirror/modules
git clone https://github.com/SikandAlex/MMM-Porcupine.git
cd MMM-Porcupine
npm install

Update

2020/04/23: v0.0.1

  • First release for testing on RPi 4 Raspbian Buster

Configuration

Basic

{
  module: 'MMM-Porcupine',
  config: {
    hotword: "porcupine"
  }
}

Advanced

{
  module: 'MMM-Porcupine',
  config: {
    debug: false,
    hotword: "porcupine",
    sensitivity: 0.7,
    onDetected: {
      notification: "ASSISTANT_ACTIVATE",
      parameters: {
        type: "MIC",
        profile: "default",
        chime: true
       }
    }
  }
}

Options

  • debug - turn on/off debug mode.

  • hotword - The hotword you wish to detect. The available hotwords are "porcupine", "bumblebee", "grasshopper", "terminator, and "hey edison"

  • sensitivity - Override default sensitivity value

    • Value could be within a range from 0.0 to 1.0.
    • Default sensitivity values is 0.7
  • notification - notification name to emit when the hotword is detected. [Preconfigured for AMk2 activation.]

  • parameters - payload to send with your notification. [Preconfigured for AMk2 activation].

Notifications

MMM-Porcupine can receive notification for start or stop listening

  • PORCUPINE_START: Start listening for hotwords
  • PORCUPINE_STOP: Stop listening for hotwords

MMM-AssistantMk2 users

  • MMM-Porcupine is preconfigured for this module
  • Just turn useA2D: true on the MMM-AssistantMk2 config file

mmm-porcupine's People

Contributors

bugsounet avatar iennacca avatar sergge1 avatar sikandalex avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.