google-cloud-platform - 谷歌云文本到语音的质量更好
问题描述
我正在为我的 Adalo 应用程序使用 Integromat 中的 Google Cloud Text to Speech 模块。我想要更好的音频质量,所以我已经切换到 WaveNet 并将采样率提高到 48000 赫兹,但它的质量仍然很差。我能做些什么?非常感谢每个想法,在此先感谢!
最好的问候,本
解决方案
您可能需要根据https://cloud.google.com/text-to-speech/docs/audio-profileseffectsProfileId
上的文档指定
const effectsProfileId = ['telephony-class-application'];
const request = {
input: {text: text},
voice: {languageCode: languageCode, ssmlGender: ssmlGender},
audioConfig: {audioEncoding: 'MP3', effectsProfileId: effectsProfileId},
};
语音的质量会根据您所说的播放结果音频的设备类型而起伏不定。
推荐阅读
- mysql - PyroCMS(Laravel)翻译中的where子句无法正常工作
- python - Pandas 分组然后根据日期范围 +/- x-days 计数和求和
- python - pandas 中的 scatter_matrix 返回大量文本 - 如何删除它?
- notifications - PWA 通知
- angular - 是否可以设置
来自打字稿Angular 5的文本颜色 - python - 我无法理解,为什么只有 delete_node 不起作用
- android - 当应用程序在后台运行时调用 onMessage 方法
- c# - 如何在 Angular 中实现区域
- c# - Unity Number 向导返回按钮
- c# - 将 Unity 画布保存为 PNG 文件