-
Contributor
Originally Posted by
KillerJohn
ok, managed to find a solution
HUD will automatically adjust IT'S OWN (I mean the process') volume according to this formula:
volume = maxvolume * (MasterVolume / 100)*(EffectsVolume / 100)
so if MasterVolume is 50 and EffectsVolume is 20, then HUD's volume will be at 10%
Is there any chance to set default volume in config or plugin file? I ask because i always use 10%Master and 30%Effects and in this case i hear NOTHING (only 3% volume using your math (quoting the classic ... TLgamer "your math is wrong!" ).
When i use setting Master:10 Effect:30 i hear game excellent, and no TH sounds at all. If there will be one more switch in configs that will be great
And, probably You work on this but hear only left channel
If I helped you, click "Give Thanks!"
-
First Dev On The Internet
Can you guys confirm that TurboHUD's sounds were played on both left & right channels before ? (I never had to check)
If yes, what it looks like is the maths are being applied only to Left channel and the right channel stays on it's default value = 0.
-
Active Member
Yes, before update both channels work!
-
Member
Before updated: Both channels work
After updated: Only Left channel works
-
Member
I can confirm too, that left channel is much more loud than right channel.
It is very annoying. Is it possible to fix channels?
It seems, User5981 is right: your volume formula applied only to one channel.
It is hard to play with sounds only in left ear. If it is impossible to fix, maybe better to disable volume adjusting (or give us way to disable it though plugins)?
-
I don't understand this issue. Nobody complained til now...
Do not send me private messages unless it is absolutely necessary or the content is sensitive or when I ask you to do that...
-
First Dev On The Internet
Originally Posted by
KillerJohn
I don't understand this issue. Nobody complained til now...
It has been fixed for months...
-
Member
Originally Posted by
User5981
It has been fixed for months...
User5981, you don't have this problem now? Which sound settings in game you have?
I'm 100% sure, that i have this problem. If i play my .wav file through player everything is ok, but in turbohud i almost don't hear right channel.
UPD: I tested all game settings and windows settings, but i still hear only left channel. Maybe such problem happens only in Windows 7?
UPD2: "Hud.Sound.Speak(text);" has same problem for me.
Last edited by Varsag; 01-17-2019 at 07:49 PM.
-
Member
I found temporary fix.
ISoundController has 3 VolumeModes (AutoMaster, AutoMasterAndEffects, Constant).
AutoMaster and AutoMasterAndEffects have this bug with channels.
If set Constant mode, i hear sounds in both channels.
For anyone who have same problem:
PHP Code:
// PluginEnablerOrDisablerPlugin.cs
public void Customize() {
// ...
Hud.Sound.VolumeMode = VolumeMode.Constant;
Hud.Sound.ConstantVolume = 15; // Volume from 0 to 100
}
PS. KJ, can you check these bugged modes when you have time? Obviously, there is problem with them.
UPD: Constant mode also has little disbalanced channels like 60%/40%, other modes have like 90%/10%. So it is playable now with Constant mode, but still isn't idealy.
UPD2: Disbalance happens if change Hud.Sound.ConstantVolume. Less ConstantVolume = bigger disbalance. With ConstantVolume = 100, it is ideal 50/50 channels.
UPD3: Finally, i understood problem. AutoMaster and AutoMasterAndEffects have ideal 50/50 channels only if master volume = 100 and effects volume = 100 in game sound settings.
If decrease any of this settings, then disbalance appear. I had master volume = 9 and effects volume = 15. As result i had awful channels disbalance. So all modes have same bug. This bug happens when volume isn't max (In game settings for Auto modes and Hud.Sound.ConstantVolume for Constant mode). It is reason why many people didn't notice this bug. Maybe now it will be easy enough to fix problem, when you know location and triggers for this bug.
Last edited by Varsag; 01-17-2019 at 09:24 PM.
-
Post Thanks / Like - 1 Thanks
afrojax (1 members gave Thanks to Varsag for this useful post)
-
First Dev On The Internet
I use
Hud.Sound.VolumeMode = VolumeMode.AutoMasterAndEffects;
in
public override void Load(IController hud)
of
PluginEnablerOrDisablerPlugin