Skip to main content

Interface: VisemeWeights

Defined in: src/VisemeWeights.ts:16

VisemeWeights: the small mouth-shape vocabulary StylizedFace consumes. Anything that wants to drive a face — a lipsync addon, an ARKit blendshape feed, a hand-authored animation — produces a value of this shape and passes it to face.setVisemes(...).

Lives in core (not in any addon) so addons that produce visemes and addons that consume them never have to depend on each other.

Each field is a 0..1 weight; values outside that range are clamped by the consumer. The set is deliberately small — it covers the four cardinal vowel shapes plus a generic consonant/closed lip — so it can be driven cheaply from formants, blendshapes, or simple heuristics without needing the full 15-viseme ARKit set.

Properties

aa

aa: number

Defined in: src/VisemeWeights.ts:20

/aa/ as in "father". Wide and open.


consonant

consonant: number

Defined in: src/VisemeWeights.ts:28

Generic consonant / lips closed.


ee

ee: number

Defined in: src/VisemeWeights.ts:26

/ee/ as in "see". Wide and closed.


jawOpen

jawOpen: number

Defined in: src/VisemeWeights.ts:18

Jaw drop, independent of lip rounding.


oh

oh: number

Defined in: src/VisemeWeights.ts:24

/oh/ as in "go". Mid-round.


oo

oo: number

Defined in: src/VisemeWeights.ts:22

/oo/ as in "boot". Narrow and rounded.