Android的文本到语音男声男声、语音、文本、Android

2023-09-12 23:00:27 作者:╃ノ╲, 男 λ╯

我有一个工作文本到语音的,但我想知道的一个女性的声音,而不是当应用程序调用它来播放它会做一个男性的声音呢?

I have a working text to speech but I was wondering instead of a female voice when the app calls it to be played it will do a male voice instead?

推荐答案

您不能让Android的TextToSpeech听起来像一个男人。如果你改变了 TextToSpeech.setPitch()值低的东西,比如0.1,它会发出非常糟糕。

You cannot make the Android TextToSpeech sounds like a male. If you change the TextToSpeech.setPitch() value to something low, like 0.1, it will sound very bad.

您唯一的选择是尝试另一个文本到语音引擎,或生活在女性发声的声音。

Your only option is to try another Text-to-Speech engine, or live with the female sounding voice.