Friday, February 4, 2011

HTML5 and jQuery - how to record audio

jQuery is a javascript library that makes programming javascript fun. Did I say that out loud? I hate javascript.

jQuery can't record your voice though.

http://stackoverflow.com/questions/1333861/how-to-record-user-voice-with-jquery
+1 for "jQuery is good, but it's not that good!" – Robin Day Aug 26 '09 at 11:08
@Robin, I heard jQuery will solve the global financial crisis too ;) –
Ash Aug 26 '09 at 11:24
@Ash I think thats a job for Prototype not jQuery :-) –
AutomatedTester Aug 26 '09 at 11:55

Using jQuery in your web apps is pretty simple. You can also increase your performance by using the hosted Google version of the library.

http://encosia.com/2008/12/10/3-reasons-why-you-should-let-google-host-jquery-for-you/
http://encosia.com/2010/09/15/6953-reasons-why-i-still-let-google-host-jquery-for-me/

http://weblogs.asp.net/jgalloway/archive/2010/01/21/using-cdn-hosted-jquery-with-a-local-fall-back-copy.aspx

Microsoft provides a similar service for its Ajax library. I don't like Ajax much either.
http://www.asp.net/ajaxlibrary/cdn.ashx

Cloud computing anyone? Is MS the trend leader or Google? Since I'm a PC with a SQL background, I was able to understand the answer below.

Analysis

By casting a wide net with the regex and logging any script reference that contained the word “jQuery”, I was able to construct ad-hoc queries to answer a variety of questions. For example, how many top 200,000 sites use the Google CDN to host jQuery UI for them?
SELECT count(*)
FROM Results
WHERE Reference LIKE '%googleapis%jquery-ui.min.js'

Answer: 989

Want to know how many top 1,000 sites use the Microsoft CDN for any jQuery-related script?
SELECT COUNT(*)
FROM Results
WHERE Reference LIKE '%ajax.microsoft%jquery%'
AND Rank <= 1000


Answer: 1 (Microsoft.com)

So is Microsoft piggy-backing on other people's technology ideas? Naaaaa. :)
http://inventors.about.com/library/weekly/aa033099.htm

Did Apple steal the mouse? Naaaa...
http://www.folklore.org/StoryView.py?story=On_Xerox,_Apple_and_Progress.txt

Did Sony turn down the Kinect? Naaa...
http://www.eurogamer.net/articles/2010-11-27-sony-why-we-turned-down-kinect-interview

Apparently cost was a factor for Sony so they stopped "researching" it.

Ouch.

“We are enthusiastic about the consumer response to our holiday lineup of products, including the launch of Kinect. The 8 million units of Kinect sensors sold in just 60 days far exceeded our expectations,” said Peter Klein, chief financial officer at Microsoft.

http://www.microsoft.com/investor/EarningsAndFinancials/Earnings/PressReleaseAndWebcast/FY11/Q2/default.aspx

jQuery can't record your voice, but it can talk.
http://stackoverflow.com/questions/3853254/how-to-hear-the-audio-of-a-text-to-speech-translation

Windows 7 can record your voice, and even has a handsfree mode built in.
http://clubhouse.microsoft.com/public/post/cda7347a-9f83-41da-8fcc-8562c0fa45e7

Some interesting Kinect hacks are going to come out of this...

No comments:

Post a Comment