mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
xxx
This commit is contained in:
parent
cf4d35efa2
commit
e5658b3298
@ -272,6 +272,13 @@ MSRS.Voices = {
|
|||||||
["Zira"] = "Microsoft Zira Desktop", -- en-US
|
["Zira"] = "Microsoft Zira Desktop", -- en-US
|
||||||
["Hortense"] = "Microsoft Hortense Desktop", --fr-FR
|
["Hortense"] = "Microsoft Hortense Desktop", --fr-FR
|
||||||
},
|
},
|
||||||
|
MicrosoftGRPC = {
|
||||||
|
["Hedda"] = "Hedda", -- de-DE
|
||||||
|
["Hazel"] = "Hazel", -- en-GB
|
||||||
|
["David"] = "David", -- en-US
|
||||||
|
["Zira"] = "Zira", -- en-US
|
||||||
|
["Hortense"] = "Hortense", --fr-FR
|
||||||
|
},
|
||||||
Google = {
|
Google = {
|
||||||
Standard = {
|
Standard = {
|
||||||
["en_AU_Standard_A"] = 'en-AU-Standard-A', -- [1] FEMALE
|
["en_AU_Standard_A"] = 'en-AU-Standard-A', -- [1] FEMALE
|
||||||
@ -1610,7 +1617,7 @@ end
|
|||||||
--
|
--
|
||||||
-- -- Moose MSRS default Config
|
-- -- Moose MSRS default Config
|
||||||
-- MSRS_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.
|
-- Port = 5002, -- Port of SRS server. Default 5002.
|
||||||
-- Backend = "srsexe", -- Interface to SRS: "srsexe" or "grpc".
|
-- Backend = "srsexe", -- Interface to SRS: "srsexe" or "grpc".
|
||||||
-- Frequency = {127, 243}, -- Default frequences. Must be a table 1..n entries!
|
-- Frequency = {127, 243}, -- Default frequences. Must be a table 1..n entries!
|
||||||
@ -1623,7 +1630,6 @@ end
|
|||||||
-- Voice = "Microsoft Hazel Desktop", -- Voice that is used if no explicit provider voice is specified.
|
-- Voice = "Microsoft Hazel Desktop", -- Voice that is used if no explicit provider voice is specified.
|
||||||
-- Label = "MSRS",
|
-- Label = "MSRS",
|
||||||
-- Provider = "win", --Provider for generating TTS (win, gcloud, azure, aws).
|
-- Provider = "win", --Provider for generating TTS (win, gcloud, azure, aws).
|
||||||
--
|
|
||||||
-- -- Windows
|
-- -- Windows
|
||||||
-- win = {
|
-- win = {
|
||||||
-- voice = "Microsoft Hazel Desktop",
|
-- voice = "Microsoft Hazel Desktop",
|
||||||
@ -1649,7 +1655,7 @@ end
|
|||||||
-- },
|
-- },
|
||||||
-- }
|
-- }
|
||||||
--
|
--
|
||||||
-- 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
|
-- MSRS.LoadConfigFile() -- Note the "." here
|
||||||
--
|
--
|
||||||
@ -1665,8 +1671,7 @@ end
|
|||||||
-- 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:
|
-- 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
|
-- -- Needed once only
|
||||||
-- MESSAGE.SetMSRS(MSRS.path,nil,MSRS.google,243,radio.modulation.AM,nil,nil,
|
-- MESSAGE.SetMSRS(MSRS.path,MSRS.port,nil,127,rado.modulation.FM,nil,nil,nil,nil,nil,"TALK")
|
||||||
-- MSRS.Voices.Google.Standard.de_DE_Standard_B,coalition.side.BLUE)
|
|
||||||
--
|
--
|
||||||
-- -- later on in your code
|
-- -- later on in your code
|
||||||
--
|
--
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user