Speech input as stream w/o Mic?


Hi there,

is there any chance to get speech input over network (eg. stream w/ websockets) into mycroft?

I don’t have a hardware Mic and wanted to use my smartphone with k6nele … works fine with kaldi + gstreamer.

  • Michael


I don’t know the answer to your question but I just asked a similar one (and then found your question as a related one): Using Mycroft without Mycroft’s speech recognition

You can use the Kõnele rewrite rules feature (http://kaljurand.github.io/K6nele/docs/et/user_guide.html#ümberkirjutusreeglid, see the example with FetchUrlActivity) to execute a transcription as an HTTP query. This way you’d be using your Android device’s speech recognizer and would be only sending text to Mycroft. The question remains if Mycroft supports the required HTTP interface.

Your question is if Kõnele could be used as a microphone for Mycroft, i.e. Mycroft would receive the audio as websocket packages. That would be an awesome feature as well (although a bit harder to implement). Maybe it would even make sense to design the hardware in a way that the mic array becomes an optional add-on.


Could be this wiki page is useful to you.