Hindi on Samsung sounds totally different than on other brands
💬 Questions and Help
Hei Dev, I am trying to make an app for my kid to learn HINDI letters and an app that speaks out is a given. I use flutter_tts: ^1.2.7 and have 2 devices (Samsung A8 2018, MI Redmi 4) and they both give me different results for the same code. PS: Hindi has a lot of sounds and letters. https://www.hindivibhag.com/hindi-varnamala/
1. Samsung A8 2018:
Says Hindi in British English, I mean every sound or letter that sounds anywhere near an English word becomes that word in output sound (with a British accent), for example 'अ' (aa),'आ' (aaaa) = A 'इ' (E),'ई' (EEEE) = I ,'उ' (oo),'ऊ' (oooo like in ooo la la la) = U
The engine for TEXT-to-Speach can be Google or Samsung but the result is the same.
2. MI Redmi 4:
Sounds more reasonable with sounds resembling the actual pronunciation of the letter most times (it too has accuracy problems for some character but not totally south unlike Samsung) The problem here is the Volume, everything on the phone sounds ok and even youtube videos sound loud and crisp, except my app. The app sound is so slow that if I do not go near the device it is hard to listen. The parameters are set to volume = 1.0 pitch = 1.0 and rate = 0.4, but I can not increase the volume.
These are both my phone with the same native language (English US) Code Sample can be the example code on the plugin page: FLUTTER_TTS package
Please suggest, I am so frustrated that I am thinking of recording and playing sounds.
@dlutton Any help on this.
For 1 where you say "Says Hindi in British English", what's the language you're setting it to? Also, the only TTS engine being used for Android in this package is Google.
Unfortunately I don't have either over those devices, but I'll see what I can replicate with emulators.
@dlutton I am setting 'hi-IN' for Hindi Indian and yes the TTS engine is Google. It would be nice if you can solve this, as my app is mostly for kids who want to learn the sounds of things etc. If this does not work I go back to recording and playback making the app heavy and internet reliant :(
@dashanan13 Unfortunately I'm not able to recreate the issue on an emulator and I don't have those devices to test with. Do you experience the same results when using an emulator?
Yes, i do on emulator too I am trying to pronounce these: const List<String> kSwar = ['अ','आ','इ','ई','उ','ऊ','ऋ','ए','ऐ','ओ','औ','अं','अः']; const List<String> kVyanjan = ['क','ख','ग','घ','डं','च','छ','ज','झ','ञ','ट','ठ','ड','ढ','ण','त','थ','द','ध','न','प','फ','ब','भ','म','य','र','ल','व','श','ष','स','ह','क्ष','त्र','ज्ञ']; const List<String> kEkseSauShabds = ['शून्य','एक','दो','तीन','चार','पांच','छह','सात','आठ','नौ','दस','ग्यारह','बारह','तेरह','चौदह','पंद्रह','सोलह','सत्रह','अठारह','उन्नीस','बीस','इकीस','बाईस','तेइस','चौबीस','पच्चीस','छब्बीस','सताइस','अट्ठाइस','उनतीस','तीस','इकतीस','बतीस','तैंतीस','चौंतीस','पैंतीस','छतीस','सैंतीस','अड़तीस','उनतालीस','चालीस','इकतालीस','बयालीस','तैतालीस','चवालीस','पैंतालीस','छयालिस','सैंतालीस','अड़तालीस','उनचास','पचास','इक्यावन','बावन','तिरपन','चौवन','पचपन','छप्पन','सतावन','अठावन','उनसठ','साठ','इकसठ','बासठ','तिरसठ','चौंसठ','पैंसठ','छियासठ','सड़सठ','अड़सठ','उनहतर','सत्तर','इकहतर','बहतर','तिहतर','चौहतर','पचहतर','छिहतर','सतहतर','अठहतर','उन्नासी','अस्सी','इक्यासी','बयासी','तिरासी','चौरासी','पचासी','छियासी','सतासी','अट्ठासी','नवासी','नब्बे','इक्यानवे','बानवे','तिरानवे','चौरानवे','पचानवे','छियानवे','सतानवे','अट्ठानवे','निन्यानवे','एक सौ'];