PadWorld-Entertainment / worldofpadman

World of PADMAN game repository
https://worldofpadman.net
Other
39 stars 9 forks source link

UI: Better VoIP and Mumble support integration in the menus #143

Closed kai-li-wop closed 2 years ago

kai-li-wop commented 2 years ago

The UI offers several VoiP settings via the sound settings page of the setup menu and is bundled there with several other sound options. Some of the provided and very useful engine features are still missing there and are only available via the command console by entering CVARs. It would be helpful to add those features to the UI. As the sound options page is not offering enough space for this, a transfer of the voip options to the network options page could be helpful. This also makes more sense as the VOIP options nowadays depend on the data rate setting and not on the OpenAL setting any more.

ToDo

kai-li-wop commented 2 years ago

@mgerhardy It seems that 'team' in the send target list of the ingame voice chat menu was never used. I cannot find any code handling this. If we want to keep it, we need to create code to provide a list with client numbers of the current team and send it via cl_voipSendTarget. What do you think? For now i removed 'team' from the list.

3aTmE commented 2 years ago

I tried to get the In-Game voice chat running. Works way better than it used to be, but still got mixed Results.

Observations :

OPEN AL

SDL

GENERAL

Sound-Quality :

I Recorded some Samples using the best possible options i could choose inside of the VIOP and SOUND Menu:

OPEN AL - Push To talk

https://user-images.githubusercontent.com/84514074/167272826-18f3e457-67ff-47eb-ac3f-b3ac67a6035a.mp4

OPEN AL : AUTOMATIC

https://user-images.githubusercontent.com/84514074/167272863-f7f4e6d0-dfdc-40d4-a81e-ebd4ff683f8b.mp4

With SDL i needed to get a bit more ...creative. I was not able to change my Input Devices like usual. Trying so would simply crash the game. (see my comment at #147) So i got stuck using my Audio-Interface and Crappy Guitarplaying to record at least something (sure i could disable every other Input expect my microphone , but eh.)

SDL - Push To talk

https://user-images.githubusercontent.com/84514074/167273132-1d8264b3-4d8b-4b3d-84da-6c428c9269ba.mp4

SDL -AUTO

https://user-images.githubusercontent.com/84514074/167273160-3b3b44d1-29a9-4d2e-90cb-709e1dc1a09f.mp4

kai-li-wop commented 2 years ago

This issue here was more about documenting the menu implementation of those VoIP features. I suggest to open a new one regarding the VoIP chat quality in general. For me it is important to know if there are still issues with the menu implementation. Big thx for taking the time to test all of it so deeply!

kai-li-wop commented 2 years ago

OK, forget what I wrote above regarding the Voice Amplifier. With 648d1c7ec4ff8e7f6a36d559132f13e2b39e068d I did some changes to the Voice Amplifier slider handling. Float values are allowed and the range is set from 0.1 to 5 now (was 0 to 10). This should make it more easy to set values below 1. I also handle now negative values differently, if they appear accidentality by using first mouse and then keyboard. Input values below or equal 0 are set to 0.1 on purpose now.

3aTmE commented 2 years ago

"Using the Capture Mode : Automatic adds an horrible Echo." - This depends on the capture threshold and the speakers volume....

Gonna check this later with multiple devices, its quite possible that my "to go" solution for recording voice on my desktop (my webcam) just wasn't really fit for the task.

I'll redo my testing with a headset / my Webcam / Laptop and update my comment

This issue here was more about documenting the menu implementation of those VoIP features.

At least there i can report that the implementation itself worked flawlessly !

Float values are allowed and the range is set from 0.1 to 5 now (was 0 to 10)...

Same here! Redoing my tests, updating the results!

I suggest to open a new one regarding the VoIP chat quality in general.

Will do when im done!