Android TTS男声 [英] Android TTS male voices

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

问题描述

是否可以在android.speech.tts.Voice上安装和配置一些男性声音?我读过一些新闻,说Android最近已经提供了一些新闻,但是我找不到或配置任何新闻.我用命令tts.setLanguage(Locale.ITALY);尝试的所有命令都是女性.

Is it possible to install and configure some male voices on android.speech.tts.Voice? I have read some news that Android had made some available recently, but I can't find or configure any. All the ones that I try with command tts.setLanguage(Locale.ITALY); are female.

推荐答案

否,目前不行.需要增强请求,以便性别可以包含在

No, not at present. An enhancement request is needed so that the gender can be included in the Voice Feature Set, such that:

语音[名称:en-AU-afi-network,语言环境:en_AU,质量:500,延迟时间:400,requireNetwork:true,功能:[networkTimeoutMs,networkRetriesCount, male ]]

Voice[Name: en-AU-afi-network, locale: en_AU, quality: 500, latency: 400, requiresNetwork: true, features: [networkTimeoutMs, networkRetriesCount, male]]

我已将包含此内容的电子邮件发送给文本"给语音服务提供商-因为等待Google的增强功能可能还需要几年的时间.

I have sent emails to Text to Speech providers about including this - as waiting for an enhancement from Google is probably years away.

在此期间,您所能做的就是,将引擎名称与性别进行硬编码.这很耗时,而且不能保证他们不会更改名称..对我来说是必须的.

All you can do in the mean time, is hard-code the name of the engine with a reference to the gender. It's time consuming and there's no guarantee that they won't change the name.... Needs must for me.

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

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