Remove voices

This commit is contained in:
keslik
2025-02-25 16:49:22 +03:00
parent 061707f9d5
commit 95b2451b64
4 changed files with 6 additions and 36 deletions

View File

@@ -46,7 +46,7 @@ namespace Content.IntegrationTests.Tests.Preferences
"Silicon", "Silicon",
"The biggest boy around.", "The biggest boy around.",
"Human", "Human",
"Eugene", "Mykyta",
21, 21,
Sex.Male, Sex.Male,
Gender.Epicene, Gender.Epicene,

View File

@@ -33,13 +33,13 @@ public abstract class SharedHumanoidAppearanceSystem : EntitySystem
public const string DefaultBodyType = "HumanNormal"; public const string DefaultBodyType = "HumanNormal";
[ValidatePrototypeId<TTSVoicePrototype>] [ValidatePrototypeId<TTSVoicePrototype>]
public const string DefaultVoice = "Eugene"; public const string DefaultVoice = "Mykyta";
public static readonly Dictionary<Sex, ProtoId<TTSVoicePrototype>> DefaultSexVoice = new() public static readonly Dictionary<Sex, ProtoId<TTSVoicePrototype>> DefaultSexVoice = new()
{ {
{ Sex.Male, "Eugene" }, { Sex.Male, "Mykyta" },
{ Sex.Female, "Kseniya" }, { Sex.Female, "Charlotte" },
{ Sex.Unsexed, "Xenia" }, { Sex.Unsexed, "Glados" },
}; };
public override void Initialize() public override void Initialize()

View File

@@ -14,5 +14,5 @@ public sealed partial class SharedTTSComponent : Component
/// Prototype of used voice for TTS. /// Prototype of used voice for TTS.
/// </summary> /// </summary>
[ViewVariables(VVAccess.ReadWrite), DataField, AutoNetworkedField] [ViewVariables(VVAccess.ReadWrite), DataField, AutoNetworkedField]
public ProtoId<TTSVoicePrototype> VoicePrototypeId { get; set; } = "Eugene"; public ProtoId<TTSVoicePrototype> VoicePrototypeId { get; set; } = "Mykyta";
} }

View File

@@ -1,33 +1,3 @@
- type: ttsVoice
id: Aidar
name: tts-voice-name-aidar
sex: Male
speaker: aidar
- type: ttsVoice
id: Eugene
name: tts-voice-name-eugene
sex: Male
speaker: eugene
- type: ttsVoice
id: Baya
name: tts-voice-name-baya
sex: Female
speaker: baya
- type: ttsVoice
id: Kseniya
name: tts-voice-name-kseniya
sex: Female
speaker: kseniya
- type: ttsVoice
id: Xenia
name: tts-voice-name-xenia
sex: Female
speaker: xenia
- type: ttsVoice - type: ttsVoice
id: Charlotte id: Charlotte
name: tts-voice-name-charlotte name: tts-voice-name-charlotte