feat: validate per-body mouth timelines and reviewed conversation routes
This commit is contained in:
@@ -6,9 +6,9 @@ fun emotionActionCheck() {
|
||||
patch.copy(levels=List(5) { MouthPatchLevel(it,it/4f,"patches/${patch.frameIndex}-$it.png",sha) })
|
||||
}) }
|
||||
fun clip(audio: Boolean)=mapOf<String,Any?>("path" to "clips/bridge.mp4","sha256" to sha,"hasAudio" to audio,
|
||||
"frameCount" to 48,"ptsUs" to List(48) { it*1_000_000L/24 },"durationUs" to 2_000_000L)
|
||||
"width" to 480,"height" to 848,"fpsNumerator" to 24,"fpsDenominator" to 1,"frameCount" to 48,"ptsUs" to List(48) { it*1_000_000L/24 },"durationUs" to 2_000_000L)
|
||||
fun edge(id: String,from: String,to: String)=mapOf<String,Any?>("id" to id,"from" to from,"to" to to,
|
||||
"fromAnchor" to "A","toAnchor" to "A","fromFrame" to 96,"toFrame" to 0,"clip" to clip(false))
|
||||
"fromPtsUs" to 4_000_000L,"toPtsUs" to 0L,"fromAnchor" to "A","toAnchor" to "A","fromFrame" to 96,"toFrame" to 0,"clip" to clip(false))
|
||||
fun conversation(id: String)=mapOf<String,Any?>("id" to id,"emotion" to if(id=="neutral") "neutral" else "happy",
|
||||
"visualIntensity" to if(id=="neutral") 0 else 1,"mouthBodySha256" to sha,
|
||||
"runtimeManifest" to mapOf("path" to "$id/manifest.json","sha256" to sha),"entryAnchor" to "A","exitAnchor" to "A",
|
||||
|
||||
Reference in New Issue
Block a user