feat(web): 角色与音频工作台 - 完善素材选择、生成参数与同步交互
This commit is contained in:
1 parent
5650da6d31
commit
22e7331d04
77 files changed
+3641
-721
No files matched your search
@@ -129,6 +129,8 @@ export type AiConfig = {
|
||||
audioVoice: string;
|
||||
audioFormat: string;
|
||||
audioSpeed: string;
|
||||
audioLanguage: string;
|
||||
audioDialect: string;
|
||||
audioInstructions: string;
|
||||
audioEmotionControlMethod: string;
|
||||
audioEmotionRandom: string;
|
||||
@@ -181,6 +183,8 @@ export const defaultConfig: AiConfig = {
|
||||
audioVoice: "alloy",
|
||||
audioFormat: "mp3",
|
||||
audioSpeed: "1",
|
||||
audioLanguage: "",
|
||||
audioDialect: "",
|
||||
audioInstructions: "",
|
||||
audioEmotionControlMethod: "与音色参考音频相同",
|
||||
audioEmotionRandom: "false",
|
||||
@@ -438,6 +442,8 @@ export function normalizeConfigSnapshot(snapshot: ConfigStoreSnapshot | undefine
|
||||
audioVoice: config.audioVoice || defaultConfig.audioVoice,
|
||||
audioFormat: config.audioFormat || defaultConfig.audioFormat,
|
||||
audioSpeed: config.audioSpeed || defaultConfig.audioSpeed,
|
||||
audioLanguage: config.audioLanguage || "",
|
||||
audioDialect: config.audioDialect || "",
|
||||
audioInstructions: config.audioInstructions || "",
|
||||
audioEmotionControlMethod: config.audioEmotionControlMethod || defaultConfig.audioEmotionControlMethod,
|
||||
audioEmotionRandom: config.audioEmotionRandom || defaultConfig.audioEmotionRandom,
|
||||
|
||||
Reference in new issue
Block a user