DATIS icon indicating copy to clipboard operation
DATIS copied to clipboard

Request: Generalized on-demand text-to-speech radio messages (via the DLL/lua hook)

Open dogjutsu opened this issue 1 year ago • 5 comments

This isn't strictly a DATIS request, but from what I can make of the code, I suspect this could be done with a relatively light amount of effort given what DATIS already does and the modular fashion in which it seems to be built (I'd attempt it, but have no familiarity with Rust). I'm not sure if this would be more appropriate as a DATIS capability, or as a separate spinoff.

As I'm sure you're well aware, SRS has an .exe (DCS-SR-ExternalAudio.exe) and related script for doing text-to-speech-over-SRS similar to what DATIS does to do what it does: https://github.com/ciribob/DCS-SimpleTextToSpeech

The unfortunate thing about this is that it requires 'os' de-sanitization MissionScripting.lua since you have to call the external .exe to use it. DCS server hosting services (like Fox3) are unwilling to do accommodate this for security reasons -- however they don't seem to have an issue with DATIS's method of achieving the SRS text-to-speech transmissions.

So the request is for DCS-SimpleTextToSpeech -like functionality (either as part of DATIS proper or a spin-off) via DATIS's SRS transmission method that doesn't require 'os' de-sanitization.

This would really be a huge win for those of us using managed DCS hosting solutions (and quite possibly a security improvement for those hosting their own) enabling SRS text-to-speech and the like on our servers/scripted missions.

dogjutsu avatar Nov 28 '22 16:11 dogjutsu