Android的文本到语音男声 [英] Android Text To Speech Male Voice

查看:934
本文介绍了Android的文本到语音男声的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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听起来像一个男人。如果你改变了<一href="http://developer.android.com/reference/android/speech/tts/TextToSpeech.html#setPitch%28float%29"相对=nofollow> 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.

这篇关于Android的文本到语音男声的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆