FABRICE MONTFORT

Multiplatform Application Designer | Thinker | Humourist

ezSTT ANE – AIR Native Extension

29.00

ezSTT ANE

AIR Native Extension for Android and iOS

Brings Speech To Text to AS3 mobile games and applications.

Download it for free to test it

Supports: English, French, Italian, Spanish, Deutsch, Chinese, Japanese, Russian, Korean, Portuguese, Czech, Dutch, Polish, Swedish, Turkish

NEW HOT EXTENSION !

Description

ezSTT ANE

AIR Native Extension for Android & iOS mobile projects

Version 1.0.0

Bring the power of voice recognition to your mobile projects. With ezSTT ANE, your application can ear and understand your users.

 

Imagine even more interactive services

Apple and Google works with cloud services for Speech Recognition.
This extension use the online Speech Recognition service provided by Google and Apple.

In a few lines of code, ezSTT ANE will give natural recognition of the language to your games or applications.

 

How to test ezSTT ANE

First, you need to download or fork ezSTT AIR Native Extension project on GitHub.

 

Link the extension with your project

The ANE library (ezSTT.ane) is located in the ‘bin’ folder.

You should add it to your application project’s build path and make sure to package it with your app.

For more information about this process, see :

  • How to use ANE with Adobe Flash Builder 4.7
  • How to use ANE with Adobe Flash CS6
  • How to use ANE with Adobe Flash CC
  • How to use ANE with Adobe Animate CC
  • How to use ANE with IntelliJ IDEA
    • Under File > Project Structure… > Modules make sure you have one module for each of your target platforms
    • Under File > Project Structure… > General make sure your project type is ActionScript (or Flex) for AIR mobile platform. You can use Change.. to have the correct type.
    • Each module should target either Android or iOS
    • Depending on your target, add the correct ANE in the Dependencies tab by using + > New Library…
    • On each of the platform tags you can generate a custom app descriptor or use the IDE generated one. You can use one for all platforms, or create one for each platform.
      • Only the generated one will include the extension IDs automatically
      • The application descriptor already contains the Android manifest and/or the iOS plist inside. You can set it up exactly like for the Flash Builder when using the custom app descriptor.
      • If you use the custom app descriptor, check that the right extension ID is added under <extensions>

In your application-app.xml file, you need to add the following lines :

In the same file, you have to add the following line in the iOS section :

Actually, we cannot translate permission strings for iOS.
A feature request is pending on Adobe Tracker. Please vote for it :

https://tracker.adobe.com/#/view/AIR-4198336

In the same file (again), you have to ensure you request proper permissions in the Android section :

 

Type a few lines of code

Now you’ll know what easy means.

Import, instanciate, add event listeners, test and start to use. Everything is done in a few lines of code!

 

With the setLanguage function :

On both systems, this ANE use the Speech Recognition Cloud API (juste like Siri and Google Agent). You have to ensure you have a connexion to internet.

If you want to do offline Speech Recognition, you have to ensure that appropriate language packs are installed (In Settings > Languages > Speech Recognition > Offline). There is actually no way to do this programmaticaly.

On both systems, this ANE supports: English, French, Italian, Spanish, Deutsch, Chinese, Japanese, Russian, Korean, Portuguese, Czech, Dutch, Polish, Swedish, Turkish (the exact same languages than AIR 24 Runtime)

With the forceLanguage function :

On both systems, you have to ensure a proper STT engine is installed and selected by default to enforce a specific language. This function is EXPERIMENTAL.

 

Minimum OS & SDK version

In order to work, the AIR SDK and the device operating system must be at least:

  • AIR 24
  • Android 4.3
  • iOS 10.0

If device operating system doesn’t match the minimum requierements, “isSupported” method will always return false.

 

Sample app

There is a complete Feathers 3.3.0 & AIR 26 sample project in the ‘example’ folder. It was created with Flash Builder 4.7.
Feel free to test it and adapt it for your own needs.

 

Documentation

You can access the complete asdoc in the ‘doc’ folder.

 

Author

ezSTT ANE is developped by Fabrice Montfort. All rights are reserved.

 

Showcase

Feel free to ask for an Ad in this section.

 

Buy a licence

If you want to use in a production project, you have to purchase the full version.

You will be able to download an archive with the full production version from your account on this website after your payment has been validated.

This is a lifetime license, valid for all your projects. You will benefit from all updates without restrictions.

 

Support

If you have any question, comment, or suggestion, you can leave me a message on Github. I’ll give you a quick answer.

I made the choice to centralize all trade questions and answers on GitHub so that they can serve all users.

 

Updates

1.0.0 – First public release