Expose the Half-Life voices and tidy the radio kit
This commit is contained in:
+3
-1
@@ -765,7 +765,9 @@ export function startWebUi(deps: WebUiDeps): WebUiHandle {
|
||||
const words = req.body?.words !== undefined ? req.body.words === true : prefs.tts.words;
|
||||
const wordGapMs =
|
||||
req.body?.wordGapMs !== undefined ? Number(req.body.wordGapMs) : prefs.tts.wordGapMs ?? undefined;
|
||||
const vox = req.body?.vox !== undefined ? req.body.vox === true : prefs.tts.vox;
|
||||
// The Half-Life VOX voice carries its prosody with it.
|
||||
const vox =
|
||||
(req.body?.vox !== undefined ? req.body.vox === true : prefs.tts.vox) || voice === "vox";
|
||||
const voxClean = req.body?.voxClean !== undefined ? req.body.voxClean === true : prefs.tts.voxClean;
|
||||
const preset =
|
||||
req.body?.preset === "vox" || req.body?.preset === "hev"
|
||||
|
||||
Reference in New Issue
Block a user