I am in need of general feedback from you monks

I am playing with the idea of adding to a Tk Text field the ability to receive the transcription of a cloud speech to text service. By now I had a look at:

Watson: https://www.ibm.com/watson/services/speech-to-text/ Google: https://cloud.google.com/speech-to-text/ Microsoft: https://azure.microsoft.com/es-es/services/cognitive-servic +es/speech-to-text/

Unfortunately there is no ready-to-use API in Perl, even if all services offer means which should be "easily" implemented in Perl (curl, etc.). Do you think it is a very big/difficult project to have a Perl solution that:

What I am thinking of is to mimic what the Microsoft Service is doing in the demo you can see in the above link. You speak, the Browser sends continuously the audio to the cloud, and the transcription appears (very quickly) in the Browser text field.

However, I have several doubts that make me think this goal is quite hard to achieve (how to access the mic audio stream, does this need to be chunked in some way to be sent? Etc.). Anyone has some experience in this field and can share some suggestions.


In reply to API continuous Speech-To-Text by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.