Server-side voice volume
Desccription:
Allow to control the volume of each user server-wise.
Basically, have another slider with possibly a new role permission added as well.
That would let you set the base volume of the user which could then be edited individually by each member to how they'd like.
Usage:
There could be multiple uses for this feature like:
- Musical bots changing their volume using a volume command. Some bots already have their own volume implementation, but it isn't rare to see it behind a paywall or a votelock as it is resource-intensive.
- Real proximity and 3D-based voice chat in game could be made possible.
- Making some teachers louder by default, in order to be more heard. (or vice-versa if they have a bad quality microphone)
- Lowering the default volume for some users with bad microphones (see previous point)
Implementation:
I know that handling each user volume on Discord's servers would be really resource-intensive and that's why i thought of a solution, that wouldn't break the already existing individual volume feature.
First of all, you'd have to create a new permission for server-roles, it could be called "Manage user volumes" for example. Then, you'd add a new slider to the user menu, acting similarly to how the Server mute, Server deafen etc... buttons work.
The volume itself would only be handled locally, like it is for individual volume settings. Let's assume for example that the volume values would be a decimal between 0 and 2.
You could simply make the client grab the server's user volume value and modify the already existing volume management function to have it's real value be something like User-selected value * Server-selected value.
Ex: 2 users are in a voice chat, the first sets the volume of the second one to 200% for himself. If the server volume for the second user was 100%, the first user would hear him at 200% (final value), but if the server volume for him was 50% instead, the first user would actually hear him at 100% (final value).
請登入寫評論。
評論
0 條評論