Files
f357393f4e [Effigy Port] Converts Bloopers/Vocal Barks to a config sided thing (#5288)
## About The Pull Request
Does as the title suggests, I also put the files into proper folders
while I was in there per where they would be on base /tg/ based on where
they were in the Effigy PRs. This is a port of all three of these PRs:
https://github.com/effigy-se/effigy/pulls?q=is%3Apr+is%3Amerged+blooper
## Why It's Good For The Game
This lets us change vocal barks easier, as well as letting us have more
control over how easily and quickly we can remove and add specific ones
if necessary.
## Proof Of Testing
It compiled and ran without any runtimes. I would still highly recommend
test merging this for a few weeks to get everything transferred over.
## Changelog
🆑 xPokee, LT3, TealSeer
refactor: Refactored vocal bloopers to be a config based subsystem.
config: Added all the previous vocal bloopers to the new config, as well
as some new ones, look for them!
/🆑

---------

Co-authored-by: gavla <96078776+shayoki@users.noreply.github.com>
2026-03-08 17:39:25 +01:00

1.1 KiB

Vocal Bloopers

By default, no vocal bloopers are included in the repository, a sample config file is provided to demonstrate the format used. To set things up, copy blooper_config.json.example and rename it to blooper_config.json, then add an entry for each blooper.

Config Format

  • name: Required, the user-friendly name of the voice, will be shown in the config menu
  • id: Required, an internal ID for the voice, must be unique
  • files: Required, a JSON array of audio file names, relative to the bloopers directory. If there's more than one entry, a file is randomly chosen each time the user speaks
  • min_speed: Optional, the minimum value the user can set for the voice speed
  • max_speed: Optional, the maximum value the user can set for the voice speed
  • min_pitch: Optional, the minimum value the user can set for the voice pitch
  • max_pitch: Optional, the maximum value the user can set for the voice pitch
  • min_vary: Optional, the minimum value the user can set for the voice pitch variance
  • max_vary: Optional, the maximum value the user can set for the voice pitch variance