Team Spartan Cookies & Milk Forums
  • Issue Tracker
  • Donations
  • Search
  • Member List
  • Help

Register

Team Spartan Cookies & Milk Forums Garry's Mod Help and Support v
« Previous 1 … 9 10 11 12 13 … 21 Next »
Voice to speech help
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode
Voice to speech help
10-01-2017, 05:24 PM,
#1
frdhog Offline
Hasn't finished a ship in 2 years
****
Posts: 72
Threads: 31
Joined: Feb 2016
Question  Voice to speech help
I was unsure of where to put this, as this applies to Starfall and Expression 2.
My issue is this:
I would like a speech to text command thingy. For example, I would say in the voice chat:
"Ship. Hangars open" > Opens hangar doors
I can't find any way in SF or E2 to do this. I have thought that using a pre-existing website such as https://dictation.io/ would be useful as it has simple buttons with different IDs for the buttons. I can't find a way to use the HTTP libraries to activate the javascript functions. This could be a GLua issue or something overlooked in the creation of these languages.
Website Find
Reply
10-01-2017, 07:03 PM,
#2
frdhog Offline
Hasn't finished a ship in 2 years
****
Posts: 72
Threads: 31
Joined: Feb 2016
RE: Voice to speech help
I have thought of one workaround is to fake it. For example, I type in chat /hangars open, then I use the voice chat which then triggers the hangar doors to open, but it's more effort than usual.
Website Find
Reply
10-01-2017, 07:30 PM,
#3
Kosmos Offline
GMod Admin
Posts: 180
Threads: 3
Joined: Dec 2013
RE: Voice to speech help
First, I don't think there is a speech to text module in Lua (or any other Language I commonly use) and I also don't think that you can just write one.
Secondly, the amount of data you get over a PCM channel is too high for starfall to handle (or send seamlessly over a network; it has to be listening constantly).
Finally no, there is no way for you to access voice in SF at the moment, and I couldn't find a function for it in GLua either, so you're asking the wrong person.
Find
Reply
10-01-2017, 11:14 PM,
#4
Red The Blue Color Offline
TSCM Super Donating Member
****
Posts: 422
Threads: 34
Joined: Feb 2015
RE: Voice to speech help
(10-01-2017, 07:03 PM)frdhog Wrote: I have thought of one workaround is to fake it. For example, I type in chat /hangars open, then I use the voice chat which then triggers the hangar doors to open, but it's more effort than usual.

Don't see the point in having to say it in voice chat anyways lol its more effort to find a way of making starfall read voice chat (which is nearly impossible as far as i know) basic chat commands have no flaw.

"with it's superior software, i have no doubt it will succeed in finding fuck all" - T-17, 2016

[Super Member] [ENCOM] т-ѕсм.Red The Blue Color™: server do you support Hitler?
[Server] srcds_linux: The probabilty is about 99.99%, so interpret that how you want to.
Find
Reply
10-01-2017, 11:26 PM,
#5
TheOneAndOnlyTee Offline
GMod Admin
Posts: 755
Threads: 47
Joined: Oct 2013
RE: Voice to speech help
if you are determined to do, Discord Server->Node.js bot listening to voice channel->passed to diction->bot stores last said thing into hosted website->starfall retrieves it.

you'd probably need a http library for the bot though also on the plus side since it's in discord only other people in the voice chat could get annoyed by repeated ship commands.

Steam Profile
My Discord Server
Need help with E2 or SF? , just ask me and i'll try to help.
[Image: 98Dkcoz.gif]
Find
Reply
10-01-2017, 11:28 PM,
#6
Red The Blue Color Offline
TSCM Super Donating Member
****
Posts: 422
Threads: 34
Joined: Feb 2015
RE: Voice to speech help
(10-01-2017, 11:26 PM)T-18 Wrote: if you are determined to do, Discord Server->Node.js bot listening to voice channel->passed to diction->bot stores last said thing into hosted website->starfall retrieves it.

you'd probably need a http library for the bot though also on the plus side since it's in discord only other people in the voice chat could get annoyed by repeated ship commands.

Starfall would have to be constantly checking to see and it would have to be on owner only clientside, therefore you must use a starfall entity that can run clientside.

"with it's superior software, i have no doubt it will succeed in finding fuck all" - T-17, 2016

[Super Member] [ENCOM] т-ѕсм.Red The Blue Color™: server do you support Hitler?
[Server] srcds_linux: The probabilty is about 99.99%, so interpret that how you want to.
Find
Reply
10-01-2017, 11:37 PM,
#7
TheOneAndOnlyTee Offline
GMod Admin
Posts: 755
Threads: 47
Joined: Oct 2013
RE: Voice to speech help
I assume that if someone wants to do voice commands they're okay with a little delay in responses, best case scenario i'd guess around 1s-5s if the diction service being used is fast.

Steam Profile
My Discord Server
Need help with E2 or SF? , just ask me and i'll try to help.
[Image: 98Dkcoz.gif]
Find
Reply
11-01-2017, 08:39 AM, (This post was last modified: 11-01-2017, 08:40 AM by Jan Tuck.)
#8
Jan Tuck Offline
Newbie
*
Posts: 9
Threads: 1
Joined: Dec 2016
RE: Voice to speech help
Starfall and E2 is not languages you should do voice control in... I dont suggest lua either...
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
Forum Jump:


Users browsing this thread: 1 Guest(s)
Contact UsTeam Spartan Cookies & MilkReturn to TopLite (Archive) ModeMark all forums readRSS Syndication

Powered By MyBB, © 2002-2026 MyBB Group.