What I'm trying to do
So, I'm trying to create a simple Voice enabled prototype in Axure - yes!!
I'm using Annyang JS (https://www.talater.com/annyang/) which leverages the SpeechRecongition API in all modern webkits.
How far I got
I can get the browser mic listening, so the annyang JS is kicking in ok. But I cannot seem to pass back a (some kind of GlobalVar?) into Axure, in order to get it to Show a dynamic panel (this serves as my success trace based on the desired voice command - by saying "homebot search" > axure DP shows itself).
Just for clarity, the desired behaviour is:
01. User says "homebot search" (with Annyang JS processing the voice data)
02. Axure prototype shows success DP
I have tried a few approaches - such as referencing the dynamic panel (to be shown) via it's data-label in the JS - but it didn't work (maybe my syntax is wack? probably ... )
I've attached the test prototype RP file, and I setup the Annyang JS inside of Axshare - but both the RP and a text version of the annyang JS are right here:
annyang-voice-test.rp (45.6 KB)
annyang-JS-axure.txt (523 Bytes)
Could anyone help me out a bit, please?
(I'm no JS ninjar )