mirror of
https://github.com/FlightControl-Master/MOOSE_DOCS.git
synced 2025-08-15 10:37:49 +00:00
Auto commit by GitHub Actions Workflow
This commit is contained in:
@@ -3144,6 +3144,12 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
|
||||
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(MSRS.Voices).Microsoft">MSRS.Voices.Microsoft</a></p></td>
|
||||
<td class="summary w3-half w3-container" style="word-wrap: break-word">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="w3-border">
|
||||
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(MSRS.Voices).MicrosoftGRPC">MSRS.Voices.MicrosoftGRPC</a></p></td>
|
||||
<td class="summary w3-half w3-container" style="word-wrap: break-word">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -4758,7 +4764,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
|
||||
|
||||
-- Moose MSRS default Config
|
||||
MSRS_Config = {
|
||||
Path = C:\\Program Files\\DCS-SimpleRadio-Standalone, -- Path to SRS install directory.
|
||||
Path = "C:\\Program Files\\DCS-SimpleRadio-Standalone", -- Path to SRS install directory.
|
||||
Port = 5002, -- Port of SRS server. Default 5002.
|
||||
Backend = "srsexe", -- Interface to SRS: "srsexe" or "grpc".
|
||||
Frequency = {127, 243}, -- Default frequences. Must be a table 1..n entries!
|
||||
@@ -4770,8 +4776,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
|
||||
Gender = "male",
|
||||
Voice = "Microsoft Hazel Desktop", -- Voice that is used if no explicit provider voice is specified.
|
||||
Label = "MSRS",
|
||||
Provider = "win", --Provider for generating TTS (win, gcloud, azure, aws).
|
||||
|
||||
Provider = "win", --Provider for generating TTS (win, gcloud, azure, aws).
|
||||
-- Windows
|
||||
win = {
|
||||
voice = "Microsoft Hazel Desktop",
|
||||
@@ -4797,7 +4802,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
|
||||
},
|
||||
}
|
||||
|
||||
3) The config file is automatically loaded when Moose starts. YOu can also load the config into the MSRS raw class manually before you do anything else:
|
||||
3) The config file is automatically loaded when Moose starts. You can also load the config into the MSRS raw class manually before you do anything else:
|
||||
|
||||
MSRS.LoadConfigFile() -- Note the "." here
|
||||
|
||||
@@ -4813,8 +4818,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
|
||||
4) Use the config in your code like so, variable names are basically the same as in the config file, but all lower case, examples:
|
||||
|
||||
-- Needed once only
|
||||
MESSAGE.SetMSRS(MSRS.path,nil,MSRS.google,243,radio.modulation.AM,nil,nil,
|
||||
MSRS.Voices.Google.Standard.de_DE_Standard_B,coalition.side.BLUE)
|
||||
MESSAGE.SetMSRS(MSRS.path,MSRS.port,nil,127,rado.modulation.FM,nil,nil,nil,nil,nil,"TALK")
|
||||
|
||||
-- later on in your code
|
||||
|
||||
@@ -11351,6 +11355,17 @@ When moose is loading dynamically (for moose class development), tracing is swit
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
|
||||
#table
|
||||
<a id="#(MSRS.Voices).MicrosoftGRPC" ><strong>MSRS.Voices.MicrosoftGRPC</strong></a>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user