I am a new user of MIT inventor 2.
I found many programs in internet using TexttoSpeech function.
By default, when I introduce a text, I hear the voice from a woman.
And if i want to hear the voice from a man ? What I should change in the code ?
Is there any possibility to download and install different kind of voices ? If yes, which website I should consult ?
Each user/device will have a default voice for TTS. other voices can be selected / downloaded but have to be selected by the user in their TTS settings. You may be able to open to these settings from within an app using activity starter, but you will need to know the intent for this.
Alternatively, you can change the speed and pitch of the default voice in the app's TTS settings.
I believe the default TTS in most androids is a female voice. You can modify the pitch to make it sound more masculine or change the speech engine You can do that with code; see TextToSpeech... your device might have other speech engines already loaded. You may have to load an outside TTS ... see the articles.
Each user/device will have a default voice for TTS. other voices can be selected / downloaded but have to be selected by the user in their TTS settings.One plus 9 pro You may be able to open to these settings from within an app using activity starter, but you will need to know the intent for this.