Giter VIP home page Giter VIP logo

node-red-contrib-personal-wake-word's Introduction

node-red-contrib-personal-wake-word's People

Contributors

johanneskropf avatar

Stargazers

 avatar

Watchers

 avatar  avatar

node-red-contrib-personal-wake-word's Issues

After successful recognition it crashes Node Red

After a wake word ist recognized (Debug node output is good) it throws an error which leads to a Node Red restart:
20 Oct 15:02:06 - TypeError: Cannot read property 'destroy' of null at Timeout.node.recoverTimeout.setTimeout [as _onTimeout] (/home/pi/.node-red/node_modules/node-red-contrib-personal-wake-word/wakeword.js:173:31) at ontimeout (timers.js:436:11) at tryOnTimeout (timers.js:300:5) at listOnTimeout (timers.js:263:5) at Timer.processTimers (timers.js:223:10) nodered.service: Main process exited, code=exited, status=1/FAILURE nodered.service: Failed with result 'exit-code'. nodered.service: Service RestartSec=20s expired, scheduling restart. nodered.service: Scheduled restart job, restart counter is at 1. Stopped Node-RED graphical event wiring tool. Started Node-RED graphical event wiring tool. 20 Oct 15:02:28 - [info] Welcome to Node-RED

My test flow:
[{"id":"405f54f28edcc1e4","type":"debug","z":"59c97e7d58b1868b","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":770,"y":720,"wires":[]},{"id":"d1b89be9bbb75fa4","type":"debug","z":"59c97e7d58b1868b","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":770,"y":680,"wires":[]},{"id":"769a36bc3b10b3ee","type":"file in","z":"59c97e7d58b1868b","name":"","filename":"/home/pi/wakeword/p1.wav","format":"","chunk":false,"sendError":false,"encoding":"none","allProps":false,"x":460,"y":660,"wires":[["0c6d034fd198d68d"]]},{"id":"0c19d0987fd5f105","type":"inject","z":"59c97e7d58b1868b","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":520,"y":620,"wires":[["769a36bc3b10b3ee"]]},{"id":"0c6d034fd198d68d","type":"wake-word","z":"59c97e7d58b1868b","wakeword":"463b9304e87f0a31","threshold":0.5,"averaging":true,"inputProp":"payload","outputProp":"payload","controlProp":"control","passthrough":false,"name":"","x":510,"y":700,"wires":[["d1b89be9bbb75fa4"],["405f54f28edcc1e4"]]},{"id":"463b9304e87f0a31","type":"wakeword-config","name":"pipsi","files":["/home/pi/wakeword/p1.wav","/home/pi/wakeword/p2.wav","/home/pi/wakeword/p3.wav"]}]

Not really an issue

I have read most things I have found about voice recognition and found your Nodes. I have a specific thing I want to do but would like to be pointed in the right direction. I tried to send you a mail but could not find any details. If you have time I would be most grateful if you send me a ping at [email protected]. In short I want to use Node Red to listen to 15 samples of words and trigger VLC to play files depending on the input. I am trying to use a rpi screen connected to a real pinball machine. If the pinball is playing "next match Germany" I would like to play the game from 1994. With Germany. Or if it is the final play the final etc. (It is a World Cup Soccer 1994 Pinball)

no reaction in wake-word - only status "listen"

Hello,
I try to implement a wake-word (on my RPi 4 with Raspbian) in Node-Red.
It looks good, I follow your instructions and the button "wakeword" is in the status "listen" - and thats all.
My sox-record give a "stream of raw buffers". How I can see if there is something to do for the "wakeword"? The status "Listen" noch changed.
I test the "sox-record" and change the output to a wav. That's OK, I got a correct wav-file.
In the sox-record-configuration there is a "processing buffer" where I don't find any info whats the correct value. I try 4096.
With best regards,
René

No such file or directory

pi@raspberrypi:~ $ npm i node-red-contrib-personal-wake-word
npm WARN saveError ENOENT: no such file or directory, open '/home/pi/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'
npm WARN pi No description
npm WARN pi No repository field.
npm WARN pi No README data
npm WARN pi No license field.

8 packages are looking for funding

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.