rkusa / DATIS

DCS World Automatic Terminal Information Service (ATIS) broadcasted through Simple Radio Standalone (SRS)
MIT License
89 stars 21 forks source link

Specifying voice doesn't work #46

Closed LazyBoot closed 4 years ago

LazyBoot commented 4 years ago

Tried specifying voice to get the same as the old default, but it was ignored and the default loaded anyway. Text from briefing was: ATIS Al Dhafra AB 249.000, VOICE GC:en-US-Standard-C

rkusa commented 4 years ago

Adding extra options like VOICE does (intentionally) only work for the mission-briefing setup method, they only work for the static-unit setup method. Instead, you could change the default voice, so it applies to all stations of your mission briefing, either in the SPECIAL options

image

Or if you don't want to start DCS in GUI mode, change/add the option defaultVoice in Saved Games\DCS.openbeta\Config\options.lua:

        ["DATIS"] = {
            ["awsAccessKey"] = "...",
            ["awsPrivateKey"] = "...",
            ["awsRegion"] = "eu-central-1",
            ["debugLoggingEnabled"] = true,
            ["defaultVoice"] = "GC:en-US-Wavenet-C",
            ["gcloudAccessKey"] = "...",
            ["srsPort"] = "5002",
        },
LazyBoot commented 4 years ago

Added it to options.lua, no change... Still uses WIN

["DATIS"] = {
    ["defaultVoice"] = "GC:en-US-Standard-C",
    ["gcloudAccessKey"] = "...",
},
LazyBoot commented 4 years ago

Here's DATIS.log

2020-05-11T10:27:12.597820400-04:00 INFO datis - Starting DATIS version 1.0.0-beta.2 ...
2020-05-11T10:27:12.597820400-04:00 INFO datis::mission - Using SRS Server port: 5002
2020-05-11T10:27:12.910315-04:00 INFO datis::mission - ATIS Stations:
2020-05-11T10:27:12.910315-04:00 INFO datis::mission -   - Al Dhafra AB (Freq: 249000000, Voice: Windows built-in TTS (Voice: "Default"))
2020-05-11T10:27:13.097835300-04:00 INFO datis::mission - No Carrier stations found ...
2020-05-11T10:27:13.303438500-04:00 INFO datis::mission - No custom Broadcast stations found ...
2020-05-11T10:27:13.303438500-04:00 INFO datis - Resuming ...
rkusa commented 4 years ago

My bad, the default voice was indeed broken for ATIS stations (only worked for carrier and broadcast stations). Should be fixed in https://github.com/rkusa/DATIS/releases/tag/1.0.0-beta.3

LazyBoot commented 4 years ago

Yeah, update works fine! :)