Wrapping Android Speech-to-Text?

Peter Reid preid at reidit.co.uk
Sun Sep 17 07:30:52 EDT 2017


Having got Android speech input working, how easy would it be to do a similar thing to wrap Android's speech-to-text facility?  I understand that it uses an on-line link to Google's voice input resources, which would be great for a number of purposes. Obviously, off-line would be better still, but on-line seems to be straightforward from my understanding of the following:

https://www.androidhive.info/2014/07/android-speech-to-text-tutorial/

I don't have the knowledge to take the above and wrap it for LC use, is anyone on the list able to do this?

Note that there's an equivalent tutorial for the reverse process, text-to-speech:

https://www.androidhive.info/2012/01/android-text-to-speech-tutorial/

How great would it be to build apps with LC that can communicate by voice (at least for Android devices)?!

Thanks

Peter
--
Peter Reid
71 Leconfield Road, Loughborough, Leics. LE11 3SP, UK
Tel: +44 (0)1509 268843
Mobile/Cell: 07778 632533
Email: peter at reidit.net

> On 16 Sep 2017, at 11:00am, use-livecode-request at lists.runrev.com wrote:
> 
> Message: 1
> Date: Fri, 15 Sep 2017 11:53:17 +0000
> From: Ali Lloyd <ali.lloyd at livecode.com>
> To: How to use LiveCode <use-livecode at lists.runrev.com>
> Subject: Re: Android Audio Playback & Recording
> Message-ID:
> 	<CAJR0Q1jJp_yD819UBjWBmJMZwB+2Z5SMiaetJ1DWKFHH_611cQ at mail.gmail.com>
> Content-Type: text/plain; charset="UTF-8"
> 
> Hi All,
> Firstly thanks to Peter Reid for discovering that the foreign bindings in
> that blog post were out of date! I have updated the blog accordingly. I
> took the liberty of tidying up the LCB code, and adding docs and a sample
> stack - you can check them out here (for now)
> https://github.com/livecode/livecode/pull/5941/files
> 
> The library should be included in 9.0 DP 9.
> 
> Cheers,
> Ali






More information about the Use-livecode mailing list