NonaSuomy / ZoIP

Asterisk Zork Server made by Simon P. Ditner.
6 stars 0 forks source link

idea: use more modern speech recognition #1

Open ssvenn opened 6 years ago

ssvenn commented 6 years ago

There's an Asterisk module at https://zaf.github.io/asterisk-speech-recog/ that uses the google speech recognition API with all its cloud computing neural network might, maybe that would make the Zork experience more enjoyable! I'm going to start looking at the code to see if there's an easy way to plug it into the existing ZoIP scripts.

I also wanted to say that the installation instructions for ZoIP works great on Raspbian with some minor changes, starting out with the base image from http://www.raspberry-asterisk.org and configuring a custom destination in FreePBX. It's all perfectly ARM compatible!

It's hard to play Zork when "go north" constantly gets recognized as "troll door" though :)

NonaSuomy commented 6 years ago

@ssvenn sounds great! Please do update me with any successes you have with doing that.

The only issue I thought about that in the past is that it uses an online engine with a limited amount of use, but it would probably be enough to get a few people through the game.

https://cloud.google.com/speech/quotas

I think you can train the offline engine more to work better, maybe use some open source ai unlike Google, may be fun.

https://voice.mozilla.org http://kaldi-asr.org/doc/about.html https://github.com/MycroftAI

Glad to hear the instructions worked for you and that someone else wanted to get this going as well :+1:

Maybe you can list your minor changes here for others to have success too!

I used to use raspberry-astrisk for a long time until I kept running out of space and buying larger sdcards and the updates seem to start to stagnate then my sd card failed, then switched to running in vm for easy backups and deploys.

Question for you, does it say the first blurb of game text "West of House, You are standing in front ... etc"?

Haha yeah... troll those doors for getting in your way. I let an Aussie play on my server one time and all you could hear was endless profanities and yelling. :smile_cat: It really didn't like accents.