Minecraft Transit Railway (Automated trains, planes, and more!)

Minecraft Transit Railway (Automated trains, planes, and more!)

1M Downloads

Text to Speech seems to be independent from game volume

valbuildr opened this issue ยท 5 comments

commented

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

  1. Trigger a text to speech audio. (e.g. right clicking a tactile map, next stop announcement)

In-game Log and Crash Report

latest.log

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

Extra Information

No response

commented

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
commented
commented

Probably related: https://bugs.mojang.com/browse/MC-118470

I wasn't fully sure as to how the mod plays the text-to-speech.

commented

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)

commented

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, but for low volume, it could probably be managed through Windows' built-in volume mixer.
A check for if the volume is 0 is probably a good idea anyway.