Eng | Rus
 
Education -> Solutions ->Using web speech API
 
 
 
Simple Seo Solutions
SEO and Promotion
sites
VoiceNotebook.com
Speech to text for AndroidAndroid speech to text

Speech to text and text to speech

Use this code to start speech recognition and synthesis in javascript (works in google chrome only)
var recognition = new webkitSpeechRecognition();
var utt = new SpeechSynthesisUtterance();


recognition.continuous = false;
recognition.interimResults = false;
recognition.lang = "en-US";


recognition.onresult = function(event)
  { 
	utt.text = event.results[0][0].transcript;
	utt.lang = "en-US";
	speechSynthesis.speak(utt);
  }
recognition.start();
Try this example
See advanced example of speech to text online written on javascript.
© prjsoft.ru