# \[Announce\] node-red-contrib-coqui-stt (initial release)

**URL:** https://discourse.nodered.org/t/announce-node-red-contrib-coqui-stt-initial-release/50532
**Category:** Share Your Nodes
**Created:** [2 September 2021 10:28 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-coqui-stt-initial-release/50532 "2021-09-02T10:28:40Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![JGKK](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jgkk/32/18515_2.png) [@JGKK](https://discourse.nodered.org/u/JGKK)
#### Post date: [2 September 2021 10:28 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-coqui-stt-initial-release/50532/1 "2021-09-02T10:28:40Z")

</div>

Hello,  
As I have mentioned in another [thread](https://discourse.nodered.org/t/announce-node-red-contrib-deepspeech-stt-beta/40390/5) Mozilla has ceased any real funding or development of its deepspeech speech to text project.  
Fortunately most of the original core development team has stepped up to this challenge and founded their own venture to continue development of a fork under a new name:

> **[GitHub - coqui-ai/STT: The deep learning toolkit for Speech-to-Text. Training...](https://github.com/coqui-ai/STT)**
>
> The deep learning toolkit for Speech-to-Text. Training and deploying STT models has never been so easy. - GitHub - coqui-ai/STT: The deep learning toolkit for Speech-to-Text. Training and deploying...

Today I published the corresponding nodes for this:

> **[node-red-contrib-coqui-stt](https://flows.nodered.org/node/node-red-contrib-coqui-stt)**
>
> a node-red integration of the coqui stt component

In this initial release they act as a slightly improved drop in replacement for the deepspeech nodes.  
Coqui is right now compatible with the current language models and scorers used in deepspeech but this will change in the future as coqui is in active development.  
This also means I will as of now no longer maintain the deepspeech nodes and solely focus on the new coqui nodes which may also mean that at one point they won't work as a drop in replacement for the current deepspeech nodes anymore.  
So I recommend that anybody using the deepspeech nodes right now should change over to the coqui nodes soon.  
You can find all the available languages for coqui on their website:

> **[Coqui](https://coqui.ai/models/)**
>
> Coqui, Freeing Speech.

As always I'm open for feedback, request and bug reports on the nodes repository:

> **[GitHub - johanneskropf/node-red-contrib-coqui-stt: a node-red node to perform...](https://github.com/johanneskropf/node-red-contrib-coqui-stt)**
>
> a node-red node to perform speech to text inference using coqui stt - GitHub - johanneskropf/node-red-contrib-coqui-stt: a node-red node to perform speech to text inference using coqui stt

Johannes

---

<div class="post-metadata">

### Author: ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)
#### Post date: [2 September 2021 13:00 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-coqui-stt-initial-release/50532/2 "2021-09-02T13:00:54Z")

</div>

Hi Johannes,  
Thanks for explaining the relation between Deepspeech and Coqui!  
Did a quick search about which languages are supported, but couldn't find it. Do you know where I can find the language list, which most probably won't contain Dutch...

---

<div class="post-metadata">

### Author: ![JGKK](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jgkk/32/18515_2.png) [@JGKK](https://discourse.nodered.org/u/JGKK)
#### Post date: [2 September 2021 13:17 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-coqui-stt-initial-release/50532/3 "2021-09-02T13:17:23Z")

</div>

Have a look in the second to last link I posted:

> [@JGKK](#):
>
> You can find all the available languages for coqui on their website:
> 
> [https://coqui.ai/models/](https://coqui.ai/models/)

I think there is a Dutch model but it's not very good judging from the reported word error rate. It looks like it's more of a proof of concept than anything else.

---

<div class="post-metadata">

### Author: ![WhiteLion](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/whitelion/32/12266_2.png) [@WhiteLion](https://discourse.nodered.org/u/WhiteLion)
#### Post date: [19 October 2021 22:10 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-coqui-stt-initial-release/50532/4 "2021-10-19T22:10:27Z")

</div>

Thank you! Works like charm !  
Did you have a solution for a wake word ?

---

<div class="post-metadata">

### Author: ![JGKK](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jgkk/32/18515_2.png) [@JGKK](https://discourse.nodered.org/u/JGKK)
#### Post date: [20 October 2021 06:37 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-coqui-stt-initial-release/50532/5 "2021-10-20T06:37:12Z")

</div>

I have two right now that require different amounts of effort:

- 1st is node-red-contrib-personal-wake-word:

> **[node-red-contrib-personal-wake-word](https://flows.nodered.org/node/node-red-contrib-personal-wake-word)**
>
> a node-red integration of node-personal-wakeword

This allows for very quick creation of a wake word that will work for one person in most circumstances. Just record 3-5 samples of you saying the wakeword and create a configuration from those files and your ready to go.

- 2nd would be node-red-contrib-precise-wakeword:

> **[node-red-contrib-precise-wakeword](https://flows.nodered.org/node/node-red-contrib-precise-wakeword)**
>
> a node-red integration of the precise wakeword listener

where you can either use a pre-trained model like _hey mycroft_ or train your own universal wake-word model which will be much more robust and noise resilient than the first option. Unfortunately this process is quite involved as with all machine learning models you will need a lot of samples to train on (hundreds) and the precise training tools are a little bit buggy, not that user friendly and not very well documented. There is helpful links in the documentation though should you want to embark on this endeavor.

Johannes

---

<div class="post-metadata">

### Author: ![WhiteLion](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/whitelion/32/12266_2.png) [@WhiteLion](https://discourse.nodered.org/u/WhiteLion)
#### Post date: [21 October 2021 21:04 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-coqui-stt-initial-release/50532/6 "2021-10-21T21:04:49Z")

</div>

ok thanx again for your effort!  
wake word works ok to start the listening of coqui. To make everything useable for flow interaction we need some stuff like silent detection or so to stop the listener. (or another solution. the word parser (don´t remember the name for the one you did for voice2json) could be helpful if it works with the result / text coming form coqui. Does that work ?

---

<div class="post-metadata">

### Author: ![JGKK](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jgkk/32/18515_2.png) [@JGKK](https://discourse.nodered.org/u/JGKK)
#### Post date: [22 October 2021 05:01 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-coqui-stt-initial-release/50532/7 "2021-10-22T05:01:31Z")

</div>

Have a look here:

[https://flows.nodered.org/collection/Qn4a6AEtnjAw](https://flows.nodered.org/collection/Qn4a6AEtnjAw)

This is all the nodes and subflows i wrote or contributed too that you would need to build a voice assistant completely in nodered which is what i have done:

- jsgf permutation subflow to create a corpus both for training a language model for coqui and a tagged version for intent matching with fuzzywuzzy

- sox for audio input and output

- precise or personal-wake-word for wake-word spotting

- node-red-contrib-vad for silence detection when a command is spoken

- coqui stt for speech to text

- node-red-contrib-fuzzywuzzy to match the coqui output with an intent based on the tagged corpus from the jsgf parser

- node-red-contrib-pico2wave for text to speech output

Once i find some time this winter i plan on writing a tutorial based on a simple example on how to build one.
