Text to Speech seems to be independent from game volume
valbuildr opened this issue ยท 5 comments
Before reporting, I have confirmed that
- This bug does not appear to be reported on GitHub Issues before.
- This bug still exists in the latest version of the Minecraft Transit Railway mod.
- I have tested this in the official version of Minecraft Transit Railway, not a modified, custom, or unofficial build.
Describe the Bug
Text to Speech is independent from game volume, at least on Windows. I've attached a video with an example,
2024-11-22.15-45-05.mp4
Reproduction Steps
- Trigger a text to speech audio. (e.g. right clicking a tactile map, next stop announcement)
In-game Log and Crash Report
Mod Loader
Fabric
Minecraft Version
1.20.4
Minecraft Transit Railway Version
4.0.0 (beta 12)
Operating System
Windows 11
List of Mods or Modpack You Were Using
- Architectury (https://modrinth.com/mod/lhGA9TYQ)
- Athena (https://modrinth.com/mod/b1ZV3DIJ)
- Axiom (https://modrinth.com/mod/N6n5dqoA)
- BetterF3 (https://modrinth.com/mod/8shC1gFX)
- Chipped (https://modrinth.com/mod/BAscRYKm)
- Cloth Config v13 (https://modrinth.com/mod/9s6osm5g)
- Continuity (https://modrinth.com/mod/1IjD5062)
- CraterLib (https://modrinth.com/mod/Nn8Wasaq)
- Fabric API (https://modrinth.com/mod/P7dR8mSH)
- Indium (https://modrinth.com/mod/Orvt0mRa)
- Iris (https://modrinth.com/mod/YL57xq9U)
- Jade (https://modrinth.com/mod/nvQzSEkH)
- Joban Client Mod (https://modrinth.com/mod/lQqKCDhg)
- Lithium (https://modrinth.com/mod/gvQqBUqZ)
- MTR London Underground Addon (https://modrinth.com/mod/jrAXj11W)
- MTR Station Decoration Addon (https://modrinth.com/mod/station-decoration)
- Minecraft Transit Railway (https://modrinth.com/mod/XKPAmI6u)
- Mod Menu (https://modrinth.com/mod/mOgUt4GM)
- Placeholder API (https://modrinth.com/mod/eXts2L7r)
- ReFramed (https://modrinth.com/mod/jCpoCBpn)
- Reese's Sodium Options (https://modrinth.com/mod/Bh37bMuy)
- Resourceful Lib (https://modrinth.com/mod/G1hIVOrD)
- Simple RPC (https://modrinth.com/mod/ObXSoyrn)
- Simply Light (https://www.curseforge.com/projects/300331)
- Sodium (https://modrinth.com/mod/AANobbMI)
- Sodium Extra (https://modrinth.com/mod/PtjYWJkn)
- Xaero's Minimap (https://modrinth.com/mod/1bokaNcj)
- Xaero's World Map (https://modrinth.com/mod/NcUtCpym)
Extra Information
No response
I realize it could be hard to tell that the volume doesn't change in the video I attached, here's an example where the game volume is at 0%.
2024-11-22.16-03-39.mp4
Probably related: https://bugs.mojang.com/browse/MC-118470
Probably related: https://bugs.mojang.com/browse/MC-118470
I wasn't fully sure as to how the mod plays the text-to-speech.
It just uses Mojang's Narrator, which in turn differs across OSes, but none of them seems to take in-game volume into account.
I suppose we could check if the volume is 0 and just not play the announcement. But if the issue is that the voices are too loud, then I don't think there's anything that can be done at the moment.
(Maybe you can change the volume somewhere in the system settings? I am not sure though)
It just uses Mojang's Narrator, which in turn differs across OSes, but none of them seems to take in-game volume into account.
I suppose we could check if the volume is 0 and just not play the announcement. But if the issue is that the voices are too loud, then I don't think there's anything that can be done at the moment.
(Maybe you can change the volume somewhere in the system settings? I am not sure though)
It's a bit of both, as for low volume, it could be managed through Windows' built-in volume mixer.
A check for if the volume is 0 is probably a good idea anyway.