So I had this thought, and tried to implement it but failed.
Heads up, i'm using the voxcommando legacy version 1 just FYI:
What my thought was, is to, when I say a command "computer", or whatever, detect the recognition of that command, if its above a threshold say 90+ then leave it on the speech profile its currently on, if below, then switch to the second profile i.e my wife's. Simple enough but not having any luck there.
I was able to get the previous command, the one I want detected, and store it in a variable, but now i need to know if this variable failed was less than my threshold.
The thing is, there is no ability native I see within Vox to grab the last commands speech recongnation percent attempt. it shows up in the info panel, but not the logs its self, so i cant scrub that and use it in code as i hoped. Nor is there a native approach, that I saw.
I think if i can get this to work, this could be an awesome way to recognize the users and switch between at least two profiles as its been spoken, maybe.. I know there is a restart that is needed to occur, i'm beyond that.
Any thoughts or ideas? I see there is a new variable that was created in version two called: {LastInfo} it does reference the logs, is this the key i'm missing? will this give me the last commands percentage?
Thanks in advance as always!
EDIT: I think even knowing if the attempted command failed would work, but i'm not even able to get that ability to function, the lastactionsuccess in the logic didn't help there either.