In order to record audio on a web client, and send that back to a cgi script on a web server, you'll need javascript, I think, to actually control the client's sound card and to use client-local disk space or memory to hold the audio data long enough for transmission back to the server.
As for what you do with the audio data once it's back on the server, you'll need some speech recognition software, which is not written in perl (though there are a couple of CPAN modules that provide wrappers for working with speech recognition software -- assuming you can get such software to run on a web server, and don't count on that).
In other words, this is not a perl question, per se.
(Trust me, just using buttons on a form will work a lot better.) | [reply] |
You could use (after several tunnings) the
Java Sound API to build an applet. You should also, convince the users to install that extension of the JDK before using your site. And, later, find a way to sync the users voice with the moment when it starts recording it. (for example, displaying some awesome photograph on the screen :) ) . Search at SourceForge's Projects for some JAVA soft to adapt as an applet.- Or just, use some VOIP system that everybody has...
| [reply] |
| [reply] |
Nice, but it will not help the OP as it does not work "through" the web. You will have to install it on the user's computer and it seems a lot of trouble to go through for capturing a simple "YES" or "NO" answer.
CountZero "If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law
| [reply] |