HTML5 Speech Recognition (in Chrome)
slides.html5rocks.com
slides.html5rocks.com
I wonder if they will add this as a standard feature for any text field at some point? It's probably not going to get much sunlight if it requires a chrome-specific attribute on the field.
That said both Microsoft and Apple have voice recognition engines built into their client OS which seems like a much better option latency wise.
Running Chrome, mic is on, no one is home... sigh. I so wanted to be wowed.
Edit: Aha! Update to 8.0.552 and presto... Mic icon. Very slick.
Edit again: "Hello" ---> Lowes. "Hello Mr. Webpage" ---> homeless services "This is a test" ---> test
Probably a crappy notebook mic to blame. Ah well. Recognition on my Nexus One is quite solid so I can't blame Google's algorithms.
(It seems this feature must have just been pushed; it was less than a week ago when I last restarted.)
(non-native speaker)
"side by side spirit album auto mechanic"
"reflective vinyl ether design factory outlet switches"
I'm from New Jersey.
the reflected binary code was originally designed to prevent spurious output from electrode mechanical switches
I'm kinda blown away. Here's an mp3 of what I sound like, if anyone is curious: http://cl.ly/3WDv
"I have met Jesus, he was a nice guy" -> "ice melt cheese"
"hacker news is amazing" -> "hacker news"
"are you afraid of santa claus?" 100% correct
"if a woodchuck could chuck wood how much wood would a woodchuck chuck" 100% correct
That's pretty awesome too, I could see this being great for mobile web apps, especially games.
Shouldn't the browser ask for permission before allowing access?
This could be easily use for spying.
Next up wikileaks will use this when government IPs are discovered on the site ;p
I can understand that it's important to mark a particular form field as more "important" than others (and thus more likely that a user would like to use their voice to input text to it), but wouldn't this be better served by semantic markup declaring the field as a "primary" field or some such?
reference: http://src.chromium.org/viewvc/chrome/trunk/src/chrome/brows...
Once upon a time in america -> ants on a time in america
The owl and the pussycat went to sea in a beautiful pea green boat. -> the owl and pussycat when to see in a beautiful p cream
Google is not evil -> google is evil
I'm not joking about that last one.
I use Voice Search heavily on my Desire, but I prefer to type out my communications because of this exact limitation.
Obviously, "excellent" sounds nothing like "cool" but the sentence still worked because it was using the neighboring words to try and guess what should go there.
Also, I really recommend you upgrade your Chromium version! I believe security updates are only back-ported to the current stable release, which means you haven't gotten any such updates for a while! (Stable is now at 8.)
1. Chrome extension to use speech recognition in every text box.
2. Speech recognition inside the google apps: Gmail, etc.
Right now it turns any text input into a speech input, but I might change that later. Or, at least, have an option to disable it on certain sites (have never created a chrome extension, no clue how long that'd take).
Edit: More at the HTML5 speech input proposal at https://docs.google.com/View?id=dcfg79pz_5dhnp23f5#y1f9 . It's apparent from this that you should also use the attribute on select elements too. I also can get x-webkit-speech working in current stable Chrome with an input type of speech.
Also, may I ask why are you abstracting Array.indexOf away and extending the Array prototype with a non-standard method for such a simple problem?
Mostly a personal preference, I guess, haven't looked into the downsides of extending prototypes.Anywho, I'm fairly new at JS outside of jQuery, so thanks for your input and critiques. I'll look into the rest when I get back from dinner.
In case you didn't know, HN will format code if you prefix it with two spaces like this:
document.querySelectorAll('textarea, select, input:not([type="' + notAllowed.join('"]):not([type="') + '"])') (results in `textarea, select, input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="submit"]):not([type="image"]):not([type="reset"]):not([type="button"]))`)
It can preserve indentation too: document.querySelectorAll(
'textarea, select, input:not([type="'
+ notAllowed.join('"]):not([type="')
+ '"])')You win this round Google.