SubtitleGeneratorclass

Lays a transcript out over a sound as timed `Sandbox.SubtitleTrack.Word`s. The sound editor uses this to bootstrap a subtitle track - the user types what's being said, we spread the words over the speech we know about (the viseme track if there is one, the whole clip otherwise), and they fine-tune the timing on the timeline.

objectSubtitleGenerator
Namespace
Editor
Assembly
Sandbox.Tools
Declaration
public static abstract sealed class Editor.SubtitleGenerator

Methods1

Showing 1 methods

public static System.Collections.Generic.List`1<Sandbox.SubtitleTrack.Word> Generate(string transcript, float duration, System.Collections.Generic.IReadOnlyList`1<Sandbox.VisemeFrame> visemes = null)PUBLICSTATIC

ParameterTypeDescription
transcriptstring
durationfloat
visemes = nullIReadOnlyList<VisemeFrame>
Returns:List<Word>

On this page