# STT using websocket in streaming mode

**URL:** <https://discourse.nodered.org/t/stt-using-websocket-in-streaming-mode/54947>\
**Category:** General\
**Created:** [9 December 2021 17:46 UTC](https://discourse.nodered.org/t/stt-using-websocket-in-streaming-mode/54947 "2021-12-09T17:46:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![muhammadaasem](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/muhammadaasem/32/52342_2.png) [@muhammadaasem](https://discourse.nodered.org/u/muhammadaasem)\
**Post date:** [9 December 2021 17:46 UTC](https://discourse.nodered.org/t/stt-using-websocket-in-streaming-mode/54947/1 "2021-12-09T17:46:42Z")

</div>

Would someone please share a flow with following requirements

- Open socket
- Open microphone (by click)
- Speak something
- Watson STT transcribes
- display interm results
- display final result with confidence score
- Close microphone (by click)

Thank you

:

---

<div class="post-metadata">

**Author:** ![krambriw](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/krambriw/32/5429_2.png) [@krambriw](https://discourse.nodered.org/u/krambriw)\
**Post date:** [9 December 2021 17:58 UTC](https://discourse.nodered.org/t/stt-using-websocket-in-streaming-mode/54947/2 "2021-12-09T17:58:46Z")

</div>

Well, it is for sure close to Christmas but still, this is a place where you can get advice and help on stuff you (try to) make yourself. Like building a flow and you are almost there, just need the final help

To me, as you put your requirements, it sounds more like you should hire a consultant. Or better & cheaper, begin your own journey with Node-RED. A lot of guidelines and other documents are available for exactly that purpose

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [9 December 2021 20:47 UTC](https://discourse.nodered.org/t/stt-using-websocket-in-streaming-mode/54947/3 "2021-12-09T20:47:40Z")

</div>

Well you could start by playing with the dashboard ui microphone node - [node-red-node-ui-microphone (node) - Node-RED](https://flows.nodered.org/node/node-red-node-ui-microphone)  
It can use the built in browser STT and a couple of modes of stop start  
(It can also send segments you could forward to watson but that is somewhat more complex)

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/f/6fa62be6be4a9674ae3d1a60044014621c44cc9e.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [7 February 2022 20:48 UTC](https://discourse.nodered.org/t/stt-using-websocket-in-streaming-mode/54947/4 "2022-02-07T20:48:16Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
