Skip to content

forslund/mycroft-porcupine-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Picovoice Porcupine Wakeword plugin for Mycroft

This plugins allows using Porcupine wakewords together with Mycroft.

Configuration

To activate the plugin edit the mycroft config using the mycroft-config edit user command and add a hotword section if it doesn't already exist

[...]
  "hotwords": {

  }

Then insert a new hotword into the hotwords section

    "blueberry": {
      "module": "porcupine_wakeword_plug",
      "keyword_file_path": "~/.mycroft/blueberry_linux.ppn",
      "sensitivity": 0.5,
      "access_key": <your_access_key>
    }

Above is using the blueberry model provided by picovoice stored in the location ~/.mycroft/blueberry_linux.ppn and a sensitivity of 0.5.

Models

Some models are available without charge from the picovoice repo, you can also generate models using the Picovoice console

Supported platforms

Porcupine ships precompiled binaries for several common platforms (x86 amd64, raspberry Pi, and several more) but may not work on your platform. Check their repo for more details.

Credits

The original Mycroft bindings for Porcupine was written by @Tanel.Alumae, this plugin is based upon their initial work with some updates for newer Porcupine releases.

Contributors

The following people are awesome and has helped with the development of this plugin:

  • builderjer
  • jarbasal