add custome voice
This commit is contained in:
@@ -64,6 +64,9 @@ export function normalizeRaceAudioSettings(value = {}) {
|
||||
enabled: source.enabled !== false,
|
||||
muted: source.muted === true,
|
||||
language: source.language === "en" ? "en" : "sv",
|
||||
voiceUri: String(source.voiceUri || ""),
|
||||
voiceRate: clamp(source.voiceRate, 1.08, 0.65, 1.35),
|
||||
voicePitch: clamp(source.voicePitch, 0.9, 0.7, 1.3),
|
||||
masterVolume: clamp(source.masterVolume ?? source.volume?.master, 0.8),
|
||||
effectsVolume: clamp(source.effectsVolume ?? source.volume?.effects, 0.8),
|
||||
voiceVolume: clamp(source.voiceVolume ?? source.volume?.voice, 0.9),
|
||||
|
||||
Reference in New Issue
Block a user