Al-th / Vocals

68 stars 34 forks source link

A buncha feature requests #3

Open OliverGuy opened 9 years ago

OliverGuy commented 9 years ago

Hi dude,

First and foremost, I would like to thank you for vocals. Seriously now, it rocks.

I just have several suggestions for that delicious (yes, yummy !) piece of software you created.

First, I am playing Elite: Dangerous, and I use vocals for a lot of stuff, such as lowering and raising my landing gear.

Problem is, it's a toggle, like a lot of commands. Thus, if have both "raise landing gear" and "lower landing gear" commands, they're pretty much interchangeable. So if I have it lowered in-game, but don't see it, and request Vocals to lower it for me, it will raise it instead... you see the picture ;-)

So, the answer would be for Vocals to be able to detect the state of things, and since games won't let Vocals read their files, the only solution (as I see it) would be to have variables that you can set as you say commands (like landingGear = 1 when I request Vocals to lower my landing gear), and conditional commands based on these variables (can't lower landing gear when landingGear = 1).

However, as I have a button to toggle it manually, it would be awesome if Vocals could actually detect keystrokes, and change variables accordingly. Another dream-like feature would be to be able to detect controller inputs (xbox controllers, flight joysticks, etc.) for the same purpose and maybe (just maybe) emulate them if need be.

I am conscious these features are most probably very hardcore to add, and will still be using Vocals if you don't add them. However, they would make it the best software of its kind (in my eyes anyway).

Thanks for hearing me out (and for Vocals), and have a lovely day

Oliver Guy

XaeroDegreaz commented 9 years ago

@OliverGuy - Why not make your voice command a toggle command, instead? By creating two different commands you're creating your own confusion. How about creating a command like "Toggle Landing Gear", or simply "Landing Gear"? Are you doing it for the immersion? I could understand that :)

Are you saying that if your landing gear is already lowered, and you say "Lower Landing Gear", you want the program to do nothing?

I've reviewed the code, and can see the two area where something like this could be implemented, but I foresee problems -- there's not really a good way for the program to know whether or not your were typing in the chat for any of the times you pressed "L".

@Al-th - Is this still under active development? The last commits were based around language options. I'm curious as to how far you want to take this program, and whether or not you'd want to make it more geared toward Elite: Dangerous. If so, the OPs toggle could be easily implemented, but we'd need more application options so that the program would know what the chat key is so as to disable the whole toggle button checking.

Al-th commented 9 years ago

@OliverGuy : I understand your problem. The feature seems reasonable to implement so I'll keep it open and in my list. In the meantime, XaeroDegreaz proposed an acceptable solution but that still does not solve the problem of lowering landing gear while it's already low. I don't understand the second feature though, could you explain it further ?

@XaeroDegreaz : Vocals is not under "active development". I developed it last year as I had a lot of free time before the beginning of the year. Since then, I had a lot of work and feature requests implementation stalled although I keep a list. I do not intend to make it a "Elite : Dangerous" voice recognition software, but toggle commands seems quite general to me.

I might find some time soon to implement feature request as I will have some free time between the end of my current work and the beginning of the next one.

OliverGuy commented 9 years ago

I'm using a Hotas to control my ship, and not an actual keyboard.

Hence, if you added the ability for Vocals to detect keystrokes from a pre-defined list (as in the Vocals to program output), it wouldn't really be useful to me, since it wouldn't detect my inputs.

XaeroDegreaz commented 9 years ago

Well, it wouldn't need to be a pre-defined list -- you could bind the key to anything you see fit.