Text to Speech

Hi, I have implemented your TTS plugin for my iOS app. Made a build with iOS 11 beta and it works fine. However, I was expecting the voice to sound like Siri on iOS 11, but the output is different, more robotic. Why is that? 

@Lerg, we would like to have the onProgress callback working on Android.

  1. can you share source code and we can pay a developer to expand it, giving to you (or posting on github); or
  2. we can talk about us paying you to implement this missing Android feature.

Can you please let us know?

gamebit.labs, hi, for Siri voice to work you have to download a special voice pack in the settings on your device, it doesn’t come preinstalled by default.

troylyndon, hi, I can see that Google has added onProgress API in their TTS specification (onRangeStart), but it’s available only since Android API level 26, which is the newest Android 8.0, I don’t think that would work for you?

Alternatively I can develop a different plugin for a different speech engine, which would have such listener by default and that would not depend on the system. That’s much more complex, of course.

Hi Lerg, 

  1. How do i download the special voice pack on my iOS device? 

  2. The solution above means it’s a manual process. Is there a way to include this voice pack in my app build so you get iOS 11’s more natural sounding TTS without the manual installation hassle? 

Ben. 

Hi @Lerg @Ben,

What would be the cost to develop A) the onRangeStart for Android 8.0; and B) a new plugin for a different speech engine?
Kindly,
Troy

gamebit.labs, here https://support.apple.com/en-us/HT203077
Unfortunately no, no way to bundle it.

troylyndon, A ) free or you can donate any sum to speed things up. B ) depends on the engine, but should be about $1000. The engine itself might be paid.

@Lerg, please check your private message - we’d like to move forward to underwriting the Android onProgress feature for your current plugin, so that the entire Corona community can benefit.

Added onProgress support for Android 8. However from the looks of it, only English is supported now. Maybe some other languages too, but for instance Russian and Japanese are not at the moment.

Hi Lerg, 

So I downloaded the voices available for iOS 11, including Siri Female & Siri Male. When I attempted to get Languages & Voices available on device: 

Languages and voices: {

  “languages”:[“ar-SA”,“cs-CZ”,“da-DK”,“de-DE”,“de-DE”,“de-DE”,“el-GR”,“en-AU”,“en-AU”,“en-AU”,“en-GB”,“en-GB”,“en-GB”,“en-IE”,“en-US”,“en-US”,“en-US”,“en-US”,“en-US”,“en-US”,“en-US”,“en-ZA”,“es-ES”,“es-MX”,“fi-FI”,“fr-CA”,“fr-FR”,“fr-FR”,“fr-FR”,“he-IL”,“hi-IN”,“hu-HU”,“id-ID”,“it-IT”,“ja-JP”,“ja-JP”,“ja-JP”,“ko-KR”,“nl-BE”,“nl-NL”,“no-NO”,“pl-PL”,“pt-BR”,“pt-PT”,“ro-RO”,“ru-RU”,“sk-SK”,“sv-SE”,“th-TH”,“tr-TR”,“zh-CN”,“zh-CN”,“zh-CN”,“zh-HK”,“zh-TW”],

  “name”:“getLanguagesAndVoices”,

  “voices”:{

    “default”:""

  },

  “isError”:false

In my device settings, I selected “Siri Female”, which i have downloaded earlier. When I tried to get text read, it uses the last non-Siri voice i used on the device. So, if I set the default voice as Samantha…well, I get Samantha. When I change to Siri Female, I hear Samantha’s voice, not Siri. Why is that? 

Ben.

Anyone able to use Siri Female as your default text to speech voice in iOS 11? 

So, I was trying to build my app an  received the message that I no longer had a valid subscription og the plug-in ???

Then I looked into the plugin on the marketplace and discovered that you have nudged the pirice further up from $14.99 to $19.99.

Two questions:

  1. Is this price increase the reason I was no longer subscribing? When I think of it, this is a good thing, because I want to notice when something likt this happens.

  2. Are you going to keep on increasing the price like this? Is this common practice for plugins? To increase the price by 33% each year? I’d like to know as early as possible, because then I have to begin looking for alternatives right now.

gamebit.labs, I will prepare a guide on how to use Siri and fix bugs if any.

runewinse, $14.99 was a promotion price during the first month of release. Then I raised it to $19.99, no future increases are planned. All plugins are paid annually, otherwise there is not nearly enough money to continue working on them, with annual income I can keep them up to date and provide support. Sorry for lack of clearance.

Thanks Lerg, 

Looking forward to the guide. 

Ben. 

Error with sample code (Vietnamese) on Android 7.0. Please help me! 

https://github.com/Lerg/plugins-sample-texttospeech

I would like to know if this plugin works?! Especially on tvOS.

I see it hasn’t been updated in a year. That could be a good thing but it makes me a little worried.

I know Lerg is a coding Ninja, but I have to be sure it works before I implement it in my project.

Hallais @runewinse, are there problems with the Norwegian language? Do you have a link to your app where this plugin is used?

Trung Kien Tran, how do you specify Vietnamese language code? And what speech engine is being used on your device?

sirmania, it was working last time I checked (long ago). If it isn’t, just write me and I’ll fix it.

Great Lerg!

Not sure I will end up using this plugin, but either way I´m happy to support you with a few $.

Just wanted to say that I have tested the plugin and it works better than expected.

I will definitely use this in a project.

Thanks!

Hi Lerg, 

Any updates from your previous reply? 

Ben

@Lerg, we are expanding our app to other languages. Presently, we’ve recently discovered that when we send the language code “pt-PT”, instead of Portuguese from Portugal, we get Portuguese from Brazil. Can you please resolve this?