Free tts engines for android4/10/2023 ![]() ![]() I guess it's because I need to wait for the init event of the TTS before I query it for an available language. W/TextToSpeech﹕ isLanguageAvailable failed: not bound to TTS engineĭ/MainActivity﹕ it-it not available on this engine: -2 The problem is that I systematically get -2 as the result from isLanguageAvailable: D/MainActivity﹕ Examining TTS engine If (mTextToSpeech.isLanguageAvailable(mUserLocale)>=0) tLanguage(mUserLocale) MTextToSpeech=new TextToSpeech(getApplicationContext(),this,mTTSEngine) If (mTTSEngine=null) mTTSEngine=defaultTTSEngine ![]() That's what I describe in the second post. Log.d("MainActivity", " "+mUserLocale.toString()+" not available on this engine: "+matchquality) Text To Speech - Offline tts Kefeli 3.7 star 944 reviews 50K+ Downloads Everyone info 0.99 Buy playarrow Trailer About this app arrowforward Text Reader PRO - Offline text to speech. The only way to get anything else is to install the TTS Extended settings app and find (or create) an application that supports this interim step toward Google TTS (which arrived with Android 2.2). ![]() Log.d("MainActivity", "Selecting TTS engine "+engineinfo.name) String defaultTTSEngine=mTextToSpeech.getDefaultEngine() If (mTextToSpeech.isLanguageAvailable(mUserLocale) engines=mTextToSpeech.getEngines() MTextToSpeech=new TextToSpeech(getApplicationContext(), this) I have tried this: mUserLocale=new Locale("it-IT") //just an example Download Google Text-to-speech Engine APK file (37MB) installer latest version, updated by Google LLC. So I need to loop through the available TTS engines and "ask" each one whether it has the desired language available. Google Text-to-speech Engine is a free Android App. In that case I want to find the engine, use it and set the language. The problem is that the user may have more than one TTS engine installed and the desired language may be available in one of them but not in the default one. All Android devices from 4.0 onwards are supported. I know I can check whether a language is available by means of myTTS.isLanguageAvailable() but that will only tell me whether the language is available on the current engine. Once the application is installed on your device, you can make Vocalizer your default Text-to-Speech engine by going to Settings > (System) > Language & input > (Advance) > Text-to-Speech output, and checking Vocalizer TTS' as your default/preferred engine. I know I can use setLanguage() but that will only work if the language is available in the TTS engine that partictual TextToSpeech instance is using. I need to instantiate a TextToSpeech object and set a given language (which is set programmatically and may vary). ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |