Open RiverYT opened 2 weeks ago
The code for the audio monitor is kinda sloppy in QuantumENDEC.
This issue in particular could occur if...
In the SAME monitor stage:
In the Generation stage, TTS will be generated if:
Now, this could be the potentially problematic code in the RemoveEOMpATTN function...
After it removes the EOM headers and the (EBS) attention tone, it will try to overwrite the input alert audio by deleting the original file first, and then exporting the new alert audio. I think the export process might be failing after the original audio has been removed, so there ends up being no alert audio, and it will generate TTS instead.
Now this isn't that of a big deal, but if this issue happens and TTS ends up bing generated, important alert information could be missing. I might be able to fix this, but do note that if the same issue happens after the fix, there could be long attention tones and a few too many EOM headers.
Any Audio from a physical monitor will be played as the tts and not the nws alert, amber alert, etc