saltychat-docs icon indicating copy to clipboard operation
saltychat-docs copied to clipboard

[Feature-Request] PlaySound volume override + PlaySound Relay

Open LameuleFR opened this issue 5 years ago • 1 comments

Hello, Do you think it is possible to add an argument within the PlaySound command in order to override the playback volume?

I would also like to be able to relay this sound to surrounding players such as the radio and the telephone in speaker mode.

LameuleFR avatar Aug 01 '20 22:08 LameuleFR

Setting a volume with the built in TS functions is only possible, if you set a 3D position to the sound. I can play around a bit with it and see what i can do.

Relaying a sound would require a whole rework of the sound system, because you'd have to get the raw samples from the file and mix them into playback (your speakers) and capture (your mic).

BlackFlash5 avatar Aug 02 '20 10:08 BlackFlash5