Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MIRROR] [MDB IGNORE] Adds TTS to the game. Players can select their own voices in preferences. #5831

Merged
merged 2 commits into from
May 16, 2023

Conversation

TaleStationBot
Copy link
Contributor

Original PR: tgstation/tgstation#74775

Copy from #73967

About The Pull Request

Allows players to hear tts messages from others, as well as selecting their own voices. The patreon received enough money for a GPU server, so this may be viable on the scale of our community once more.

It's all handled via python http requests to a local server. Docker is required to set up, but the container can be held on a separate linux server as it's only used to process text into audio and send it back via http requests.

TTS engine used in python script:
VITS: https://arxiv.org/pdf/2106.06103
coqui: https://github.com/coqui-ai/TTS

Base image is debian.

This is all handled locally. There are no calls to a third-party service.

TTS can be disabled via preferences if a player wishes to not hear it in game.

Why It's Good For The Game

TTS is cool.

Changelog

🆑 Watermelon914, Iamgoofball, MrStonedOne
add: Adds TTS to player speech. Players can hear themselves speak.
/:cl:

Watermelon914 and others added 2 commits May 15, 2023 20:38
…ces. (#74775)

Co-authored-by: Watermelon914 <3052169-Watermelon914@users.noreply.gitlab.com>
Co-authored-by: Kyle Spier-Swenson <kyleshome@gmail.com>
Co-authored-by: Iamgoofball <iamgoofball@gmail.com>
Co-authored-by: Zephyr <12817816+ZephyrTFA@users.noreply.github.com>
Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
@keywordlabeler keywordlabeler bot added Feature Adds code to the game that'll cause a bug Upstream Mirror [DEPRECEATED] /TG/ merged a pull request, and now its a mirror. Watch as it pings commit-access. labels May 16, 2023
@github-actions github-actions bot added Config Yell at Patchy (mostly Jolly) when this gets merged Tools What the fuck do these do labels May 16, 2023
@Jolly-66 Jolly-66 merged commit 93d2031 into master May 16, 2023
21 of 24 checks passed
@Jolly-66 Jolly-66 deleted the upstream-merge-74775 branch May 16, 2023 12:26
github-actions bot added a commit that referenced this pull request May 16, 2023
TaleStationBot added a commit that referenced this pull request May 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Config Yell at Patchy (mostly Jolly) when this gets merged Feature Adds code to the game that'll cause a bug Tools What the fuck do these do Upstream Mirror [DEPRECEATED] /TG/ merged a pull request, and now its a mirror. Watch as it pings commit-access.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants