Spaces:
Build error
Build error
File size: 592 Bytes
20c8fc2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | // Rhubarb Lip Sync outputs phonemes A-H and X
// This maps them to the morph targets available on the avatar model
const visemesMapping = {
A: "viseme_PP", // Silence/closed mouth (P, B, M sounds)
B: "viseme_kk", // K, G, ng sounds
C: "viseme_I", // I, EE sounds
D: "viseme_aa", // AA, AH, AE sounds (IMPORTANT: lowercase!)
E: "viseme_O", // O, OH sounds
F: "viseme_U", // U, OO sounds
G: "viseme_FF", // F, V sounds
H: "viseme_TH", // TH sounds
X: "viseme_sil", // Rest position (silence) - using sil instead of PP for variety
};
export default visemesMapping; |