chatvrm_for_desh / src /utils /reduceTalkStyle.ts
ratalai's picture
Deploy ChatVRM with all binary files in Git LFS
af60542
Raw History Blame Contribute Delete
372 Bytes
/* koeiromap Free v1の制限に対応した声色 */
type ReducedTalkStyle = "talk" | "happy" | "sad";
/**
* koeiromap Free v1用に声色パラメータを制限する
*/
export const reduceTalkStyle = (talkStyle: string): ReducedTalkStyle => {
if (talkStyle == "talk" || talkStyle == "happy" || talkStyle == "sad") {
return talkStyle;
}
return "talk";
};