s&
About
The Project
info
About s&box
map
Roadmap
monitoring
Metrics
Engine startup and usage numbers
Updates
newspaper
Latest News
published_with_changes
Changes
Release-by-release changelog
Games
Browse Games
Discover Games
gamejams
Workshop
Playable
sports_esports
Games
Standalone games and gamemodes
Assets
landscape
Maps
view_in_ar
Models
texture
Materials
apparel
Clothing
apps
Everything
Every asset type in one list
Forum
Learn
Documentation
rocket_launch
Getting Started
docs
Documentation
api
API Reference
Resources
school
Tutorials
manage_search
Code Search
Get s&box
Sign in with Steam
Api
Editor Classes
LipSyncGenerator
chevron_left
Editor Classes
class
LipSyncGenerator
Static Properties
data_object
Count
Static Methods
functions
Generate
functions
Label
functions
MorphName
LipSyncGenerator
Generates face lipsync visemes from audio.
class
Editor
.
static
sealed
abstract
Sandbox.Tools
data_object
Static Properties
1
Count
int
Number of visemes.
functions
Static Methods
3
Generate
(
samples
,
duration
)
List`1
Analyze audio and return the visemes it produces over time, with silence dropped.
is a mono stream that spans
seconds, so times are scaled to the duration and line up with the sound editor timeline.
Label
(
viseme
)
string
Short display label for a viseme, e.g. "PP".
MorphName
(
viseme
)
string
Model morph name for a viseme, e.g. "viseme_PP".
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.