One option, you could create a simple web frontend that would feed the text transcript to your Perl programs. No need to rewrite your Perl programs into Javascript. I might be tempted to try it myself, but the TensorFlow libraries are huge and complex and I have other fish to fry. It might be time to learn a bit of python. You can easily run python from Perl, then use Perl to do your filtering and display. :-) If you notice, python has modules and scripts which will do all the hard work for you. It may be within your reach if you dig hard enough. Re^3: API continuous Speech-To-Text -UPDATED This would mean to rewrite everything from scratch in javascript (a language I know only vaguely), which is, of course, not a nice thought. And my second goal was to apply my legacy Perl scripts "live" to the transcribed text (regex, data visualization, etc.) and do computations on the incoming text. The possibility to use HTML5+javascript is of course okay, as it is documented and so on, however it would mean to drop Perl. As I thought, it may be something behind my reach. Re^2: API continuous Speech-To-Text -UPDATED I'm not really a human, but I play one on earth. There is an interesting link concerning using Gstreamer Gstreamer and speech recognition, it may just give you the solution. It will handle the microphone, the upload and the text display.Īlso, check out this: speech recognition for linux. To be honest, you might be best served by using an HTML5 Canvas app, written in javascript. It may not work with your current hardware, but it contains some clues which may get you pointed in the right direction. It shows basically how to access the alsa settings, turn on/off the microphone, and record. A file upload would be alot easier.Ĭheck out this old app I uploaded way back when. I noticed the services seem to offer a choice between streaming the audio or uploading a file. You would then need to have gstreamer send it to the server, and somehow get the text back. So you probably can capture the microphone and pipe it to a streaming application like Gstreamer. This will pipe whatever is coming in on the microphone, or line in ( must be set properly in alsamixer and pavucontrol ), to the default sound output.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |