synesthesiam / voice2json

Command-line tools for speech and intent recognition on Linux
MIT License
1.09k stars 63 forks source link

Node-Red pallette plugin not showing and custom command not working #24

Closed infinitymakerspace closed 4 years ago

infinitymakerspace commented 4 years ago

Hi guys, ok so I have installed the node-red plug in etc, I need to add an custom intent. On voice command it must trigger a node-red flow that has its own timer to run a relay for 20 to 40 seconds when invoked. I have added words as well as intent but does not seem to work. Also the Node-red plugin not available in my palette. Tutorial feels like there is parts missing.

Any pointers would be greatly appreciated. Many thanks for all the help thus far

synesthesiam commented 4 years ago

I followed the local installation instructions and was successful in getting it running. After running node-red-start, I went to the $HOME/.node-red directory and ran:

$ npm install johanneskropf/node-red-contrib-voice2json

then restarted Node-RED to see the voice2json palette.

infinitymakerspace commented 4 years ago

Hi Michael

I will retry from within that directory and let you know

Many thanks

On Mon, 13 Jul 2020 at 17:01, Michael Hansen notifications@github.com wrote:

I followed the local installation instructions https://nodered.org/docs/getting-started/local and was successful in getting it running. After running node-red-start, I went to the $HOME/.node-red directory and ran:

$ npm install johanneskropf/node-red-contrib-voice2json

then restarted Node-RED to see the voice2json palette.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/synesthesiam/voice2json/issues/24#issuecomment-657612670, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOR3576VHAEDJCIAXIUS6ALR3MOVVANCNFSM4OYRFWGA .

infinitymakerspace commented 4 years ago

Hi again.

Ok node-red picks up palette, however

Its not accepting the path to my profile, its looking for kaldi, so I added a new path for pocketsphinx that is part of the voice2json tutorial but after adding or restart of nodered it still not reading it, I am still hetting a path error.

infinitymakerspace commented 4 years ago

image

infinitymakerspace commented 4 years ago

Ok figured out and solved the Kaldi issue. This is currently the only error I am receiving.

input audio not in the right format:wrong sample rate: should be 16000 Hznot mono: audio should only have 1 channel

infinitymakerspace commented 4 years ago

image

infinitymakerspace commented 4 years ago

Ok just as an update voice transcribe from cli works, it picks up my custom sentence and intent, I am just facing that input issue of the audio