mirror of
https://github.com/FlightControl-Master/MOOSE_DOCS.git
synced 2026-08-11 11:47:35 +00:00
Auto commit by GitHub Actions Workflow
This commit is contained in:
@@ -1857,11 +1857,18 @@ atisAbuDhabi:Start()
|
||||
|
||||
<pre><code>atis=ATIS:New("Batumi", 305, radio.modulation.AM)
|
||||
atis:SetSRS("D:\\DCS\\_SRS\\", "male", "en-US")
|
||||
atis:Start()
|
||||
atis:Start()
|
||||
</code></pre>
|
||||
|
||||
<p>This uses a male voice with US accent. It requires SRS to be installed in the `D:\DCS_SRS` directory. Note that backslashes need to be escaped or simply use slashes (as in linux).</p>
|
||||
|
||||
<h3>SRS can use multiple frequencies:</h3>
|
||||
|
||||
<pre><code>atis=ATIS:New("Batumi", {305,103.85}, {radio.modulation.AM,radio.modulation.FM})
|
||||
atis:SetSRS("D:\\DCS\\_SRS\\", "male", "en-US")
|
||||
atis:Start()
|
||||
</code></pre>
|
||||
|
||||
<h3>SRS Localization</h3>
|
||||
|
||||
<p> You can localize the SRS output, all you need is to provide a table of translations and set the <code>locale</code> of your instance. You need to provide the translations in your script <strong>before you instantiate your ATIS</strong>.
|
||||
@@ -5562,7 +5569,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
|
||||
</div>
|
||||
<div class="w3-half">
|
||||
|
||||
<p>Radio frequency in MHz. Default 143.00 MHz.</p>
|
||||
<p>Radio frequency in MHz. Default 143.00 MHz. When using <strong>SRS</strong> this can be passed as a table of multiple frequencies.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -5575,7 +5582,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
|
||||
</div>
|
||||
<div class="w3-half">
|
||||
|
||||
<p>Radio modulation: 0=AM, 1=FM. Default 0=AM. See <code>radio.modulation.AM</code> and <code>radio.modulation.FM</code> enumerators.</p>
|
||||
<p>Radio modulation: 0=AM, 1=FM. Default 0=AM. See <code>radio.modulation.AM</code> and <code>radio.modulation.FM</code> enumerators. When using <strong>SRS</strong> this can be passed as a table of multiple modulations.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user