Offline voice commands

5 respostas [Última entrada]
GNUser
Desconectado
Joined: 07/17/2013

Hello,

I have been searching for FLOSS that work on Trisquel 7/8 that allow for voice commands to the desktop or some applications (Abrowser, VLC, etc). I want it to be done locally so no internet connection is required.

What I want is do connect my computer to the TV and while sitting on the couch say
"open Browser"
"search Youtube for latest movie trailers"
"open movie bigbuckbunny in VLC"
Things like this.

Any ideas?
Thanks.

BugRep
Desconectado
Joined: 04/05/2012

This worked well for me on Trisquel 7.

https://gitlab.com/jezra/blather

I think you still need to use a web service to generate some files. After that you don't need to be online.

The downside is that you must first prepare a list of words. You can't just say a random movie title and get it to play.

To take the most advantage, you need some programming skills. You could for example spell out a word, or navigate through a list of files using voice.

I use it to scroll through webpages, switch and close tabs.
For everything else it is much more convenient to use a mouse and a keyboard.

It is easy to open VLC and play stuff, but if you play something loud enough you will not be able to stop it using voice, and you might get some random commands given by the audio source by error.

garfilth
Desconectado
Joined: 11/06/2012

Have a look at this. It is GPL3. No need to get the device install on your desktop.

https://mycroft.ai/get-mycroft/

GNUser
Desconectado
Joined: 07/17/2013

Thank you both for the replies.
Blather seems interesting, I don't mind creating the files online, I just want to make sure that there is not a constant recording of my voice going out to the world.
Hey BugRep could you share some of your experience with the program?
I was thinking about having a sort of "hot word". Any commands would be ignored until a certain word was listened by the software. Would that be doable with Blather?

Thanks.

BugRep
Desconectado
Joined: 04/05/2012

You can lower false positive command detections by having a specific word in front of every command, for example "Trisquel open browser" and "Trisquel open movie ...". But if you say "I will open the browser. Trisquel open browser", Blather might hear "browser Trisquel open browser", and that is not a valid command, so this is not a perfect solution.

I didn't use it with a real hot word. But you can probably make it work like that. Blather can continuously listen for one word, and if it hears it, you can make it start another Blather instance which would just listen to your next command.

Here is a video demonstrating Blather use: https://www.youtube.com/watch?v=gr1FZ2F7KYA
If you watch it, just ignore the dictation part. Blather can't be used for dictation.

GNUser
Desconectado
Joined: 07/17/2013

Tried to upvote your comment. But it didn't work. DUnno why.

Anyway thank you for all the info. That was a great share.