Support for speech synthesis(voice to text) application

Support for speech synthesis(voice to text) application

  

Hello,

I'm new to outsystems. I've been trying to implement a speech synthesis application here. Previously in html we define the text area using a webskit speech attribute so that the input can have an output from a speech as shown below.

<input type="text" x-webkit-speech>

How do I avail this attribute in out systems. I'm confused.

In the extended properties you can add that.

Hello I have the following javascript code

SyntaxEditor Code Snippet

"

 recognition = new (window.SpeechRecognition || window.webkitSpeechRecognition || window.mozSpeechRecognition || window.msSpeechRecognition)();
recognition.lang = 'en-US';
recognition.interimResults = false;
recognition.maxAlternatives = 5;
recognition.start();


 recognition.onresult = function response(event) {
    console.log('You said: ', event.results[0][0].transcript);
alert(event.results[0][0].transcript);

};"

I have an input text box and would like the value inside the alert of the above code to display in the input text box. I tried multiple methods but could not achieve it. I've used the alert just to check if it works fine. However, I want the output in the input box.


I have attached the oml. The content i'm describing is in the webscreen2.