跳到正文

Simple Text To Speech

作者:flamgop

Simple text to speech integration for simple voice chat

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

This project is currently incompatible with operating systems other than 64-bit Windows (non-arm) and Linux (aarch64 & amd64)
This project requires you to run minecraft with Java 23 or greater (which is not the default in 1.21.x)

Uses a nifty TTS library called “eSpeak-NG” to generate text-to-speech voices with that robotic charm you usually expect from TTS.

Supports rudimentary SSML, it’s hard to find good documentation on what it is but it basically lets you customize the speech in various ways with tags.
There’s a few fancy docs that describe it mostly:

https://espeak.sourceforge.net/ssml.html

https://docs.cloud.google.com/text-to-speech/docs/ssml

Note that when using SSML, the more complex functions are either limited or missing. The media tag is not present, and the audio tag is limited to minecraft sounds. Here’s an example usage (note that nothing after the audio tag will be said, this is a bug, I don’t know if I will fix it):

/synth say Watch out! <audio src="minecraft:entity.tnt.primed">

常见问题

Simple Text To Speech 支持哪些 Minecraft 版本?

Simple Text To Speech 支持 Minecraft Java 版 1.21.9–1.21.10,共 2 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Simple Text To Speech 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。

评论

登录后评论和评分

flamgop 的其他作品

查看全部 →