Skip to main content

speech

Utilities for converting phoneme data into timeline keyframes for VRM lip-sync. The speech module produces keyframe arrays that you pass to vrm.speakWithTimeline().

Import

import { speech } from "@hmcs/sdk";

Functions

FunctionDescription
fromPhonemesConverts a list of [expression_name, duration] tuples into TimelineKeyframe[]

See also: Type Definitions