lipsync Samples
Audio-driven mouth animation for xrblocks avatars. Drop a
LipsyncMouth into any avatar's head pivot and it animates
from a MediaStream in real time.
💡 The default mapper is a formant-based heuristic that works for any
voice with zero per-user setup. Pass an optional
audioContext to share a single Web Audio context across many
peer mouths.
Basic
Puppet
A stylised head sits in front of you; its mouth follows your mic. Works
in the desktop simulator and in immersive XR.
Multiplayer
Netblocks integration
Open in two tabs, enable voice, and each peer's avatar mouths their
speech to the other peer. Uses NetSession.voice.onTrack to
wire one LipsyncMouth per remote peer.