Skip to content

Commit

Permalink
Add new male voices to languages (#228)
Browse files Browse the repository at this point in the history
  • Loading branch information
klaasnicolaas authored Mar 12, 2021
1 parent 0511cf5 commit 0135601
Showing 1 changed file with 51 additions and 15 deletions.
66 changes: 51 additions & 15 deletions hass_nabucasa/voice.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,37 +37,62 @@ class Gender(str, Enum):

MAP_VOICE = {
("ar-EG", Gender.FEMALE): "SalmaNeural",
("ar-EG", Gender.MALE): "ShakirNeural",
("ar-SA", Gender.FEMALE): "ZariyahNeural",
("ar-SA", Gender.MALE): "HamedNeural",
("bg-BG", Gender.FEMALE): "KalinaNeural",
("zh-HK", Gender.FEMALE): "HiuGaaiNeural",
("ca-ES", Gender.FEMALE): "AlbaNeural",
("bg-BG", Gender.MALE): "BorislavNeural",
("ca-ES", Gender.FEMALE): "JoanaNeural",
("ca-ES", Gender.MALE): "EnricNeural",
("zh-HK", Gender.FEMALE): "HiuMaanNeural",
("zh-HK", Gender.MALE): "WanLungNeural",
("zh-CN", Gender.FEMALE): "XiaoxiaoNeural",
("zh-CN", Gender.MALE): "YunyangNeural",
("zh-TW", Gender.FEMALE): "HsiaoChenNeural",
("zh-TW", Gender.MALE): "YunJheNeural",
("hr-HR", Gender.FEMALE): "GabrijelaNeural",
("hr-HR", Gender.MALE): "SreckoNeural",
("cs-CZ", Gender.FEMALE): "VlastaNeural",
("cs-CZ", Gender.MALE): "AntoninNeural",
("da-DK", Gender.FEMALE): "ChristelNeural",
("da-DK", Gender.MALE): "JeppeNeural",
("nl-NL", Gender.FEMALE): "ColetteNeural",
("nl-NL", Gender.MALE): "MaartenNeural",
("en-AU", Gender.FEMALE): "NatashaNeural",
("en-AU", Gender.MALE): "WilliamNeural",
("en-CA", Gender.FEMALE): "ClaraNeural",
("en-CA", Gender.MALE): "LiamNeural",
("en-IN", Gender.FEMALE): "NeerjaNeural",
("en-IN", Gender.MALE): "PrabhatNeural",
("en-IE", Gender.FEMALE): "EmilyNeural",
("en-IE", Gender.MALE): "ConnorNeural",
("en-GB", Gender.FEMALE): "MiaNeural",
("en-GB", Gender.MALE): "RyanNeural",
("en-US", Gender.MALE): "GuyNeural",
("en-US", Gender.FEMALE): "JennyNeural",
("fi-FI", Gender.FEMALE): "NooraNeural",
("en-US", Gender.MALE): "GuyNeural",
("fi-FI", Gender.FEMALE): "SelmaNeural",
("fi-FI", Gender.MALE): "HarriNeural",
("fr-CA", Gender.FEMALE): "SylvieNeural",
("fr-CA", Gender.MALE): "JeanNeural",
("fr-FR", Gender.MALE): "HenriNeural",
("fr-CA", Gender.MALE): "AntoineNeural",
("fr-FR", Gender.FEMALE): "DeniseNeural",
("fr-FR", Gender.MALE): "HenriNeural",
("fr-CH", Gender.FEMALE): "ArianeNeural",
("fr-CH", Gender.MALE): "FabriceNeural",
("de-AT", Gender.FEMALE): "IngridNeural",
("de-DE", Gender.MALE): "ConradNeural",
("de-AT", Gender.MALE): "JonasNeural",
("de-DE", Gender.FEMALE): "KatjaNeural",
("de-DE", Gender.MALE): "ConradNeural",
("de-CH", Gender.FEMALE): "LeniNeural",
("de-CH", Gender.MALE): "JanNeural",
("el-GR", Gender.FEMALE): "AthinaNeural",
("el-GR", Gender.MALE): "NestorasNeural",
("he-IL", Gender.FEMALE): "HilaNeural",
("he-IL", Gender.MALE): "AvriNeural",
("hi-IN", Gender.FEMALE): "SwaraNeural",
("hi-IN", Gender.MALE): "MadhurNeural",
("hu-HU", Gender.FEMALE): "NoemiNeural",
("hu-HU", Gender.MALE): "TamasNeural",
("id-ID", Gender.FEMALE): "GadisNeural",
("id-ID", Gender.MALE): "ArdiNeural",
("it-IT", Gender.FEMALE): "ElsaNeural",
("it-IT", Gender.MALE): "DiegoNeural",
Expand All @@ -76,28 +101,39 @@ class Gender(str, Enum):
("ko-KR", Gender.FEMALE): "SunHiNeural",
("ko-KR", Gender.MALE): "InJoonNeural",
("ms-MY", Gender.FEMALE): "YasminNeural",
("zh-CN", Gender.FEMALE): "XiaoxiaoNeural",
("zh-CN", Gender.MALE): "YunyangNeural",
("zh-TW", Gender.FEMALE): "HsiaoYuNeural",
("ms-MY", Gender.MALE): "OsmanNeural",
("nb-NO", Gender.FEMALE): "IselinNeural",
("pl-PL", Gender.FEMALE): "ZofiaNeural",
("nb-NO", Gender.MALE): "FinnNeural",
("pl-PL", Gender.FEMALE): "AgnieszkaNeural",
("pl-PL", Gender.MALE): "MarekNeural",
("pt-BR", Gender.FEMALE): "FranciscaNeural",
("pt-BR", Gender.MALE): "AntonioNeural",
("pt-PT", Gender.FEMALE): "FernandaNeural",
("pt-PT", Gender.FEMALE): "RaquelNeural",
("pt-PT", Gender.MALE): "DuarteNeural",
("ro-RO", Gender.FEMALE): "AlinaNeural",
("ru-RU", Gender.FEMALE): "DariyaNeural",
("ro-RO", Gender.MALE): "EmilNeural",
("ru-RU", Gender.FEMALE): "SvetlanaNeural",
("ru-RU", Gender.MALE): "DmitryNeural",
("sk-SK", Gender.FEMALE): "ViktoriaNeural",
("sk-SK", Gender.MALE): "LukasNeural",
("sl-SI", Gender.FEMALE): "PetraNeural",
("sl-SI", Gender.MALE): "RokNeural",
("es-MX", Gender.FEMALE): "DaliaNeural",
("es-MX", Gender.MALE): "JorgeNeural",
("es-ES", Gender.MALE): "AlvaroNeural",
("es-ES", Gender.FEMALE): "ElviraNeural",
("sv-SE", Gender.FEMALE): "HilleviNeural",
("es-ES", Gender.MALE): "AlvaroNeural",
("sv-SE", Gender.FEMALE): "SofieNeural",
("sv-SE", Gender.MALE): "MattiasNeural",
("ta-IN", Gender.FEMALE): "PallaviNeural",
("ta-IN", Gender.MALE): "ValluvarNeural",
("te-IN", Gender.FEMALE): "ShrutiNeural",
("te-IN", Gender.MALE): "MohanNeural",
("th-TH", Gender.FEMALE): "AcharaNeural",
("th-TH", Gender.MALE): "NiwatNeural",
("tr-TR", Gender.FEMALE): "EmelNeural",
("tr-TR", Gender.MALE): "AhmetNeural",
("vi-VN", Gender.FEMALE): "HoaiMyNeural",
("vi-VN", Gender.MALE): "NamMinhNeural",
}


Expand Down

0 comments on commit 0135601

Please sign in to comment.