flutter_tts icon indicating copy to clipboard operation
flutter_tts copied to clipboard

TTS reads underscores (_) on android but not on iOS in a sentence

Open madhav0922 opened this issue 4 years ago • 4 comments

Hello,

I think the question is self explanatory. I would like to know the reason why is it so? and if possible, get the same behaviour via some property on both android and iOS to not read underscores (_).

Regards

madhav0922 avatar Oct 12 '21 16:10 madhav0922

@madhav0922 the easy answer is that they use different TTS engines, however I'll check if there is an option to ignore it on Android.

dlutton avatar Oct 14 '21 15:10 dlutton

Oh alright, let me know. Thank you

madhav0922 avatar Nov 11 '21 06:11 madhav0922

@madhav0922 unfortunately I haven't found a solution within the Android API to ignore certain characters. Could you possibly do a string replace to replace the underscores found in the text with something else?

dlutton avatar Nov 11 '21 19:11 dlutton

Sure, thanks!

madhav0922 avatar Jan 06 '22 06:01 madhav0922