- Dec 17, 2003
- 51,893
- 17,793
- 57
- Gender
- Male
- Faith
- Christian
- Marital Status
- Widowed
- Politics
- US-Others
Anyone play with Google't Speech to Text for chrome ?
Sample -> https://dl.dropboxusercontent.com/u/994953/speaktext.html
Sample -> https://dl.dropboxusercontent.com/u/994953/speaktext.html
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Google Text To Speach</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script type="text/javascript">
function transcribe(words) {
document.getElementById("speech").value = words;
document.getElementById("mic").value = "";
document.getElementById("speech").focus();
}
</script>
</head>
<body>
<center>
<table border="0" cellspacing="5" cellpadding="5">
<tr>
<td><textarea cols="50" id="speech"></textarea></td>
</tr>
<tr>
<td><input id="mic" onwebkitspeechchange="transcribe(this.value)" x-webkit-speech></td>
</tr>
</table>
</center>
</body>
</html>