-
- All Implemented Interfaces:
-
java.lang.AutoCloseable
public final class Runtime implements AutoCloseable
-
-
Method Summary
Modifier and Type Method Description final Integertick(FloatArray audioPCM)v0 tick: returns the KNN cluster_idxfor the embedding produced by audioPCM.final ComposeResulttickCompose(FloatArray audioPCM, Integer frameIdxHint, ByteArray frameOut)v1 compose tick: produces a composited BGR uint8 frame written into frameOut. Unitclose()-
-
Constructor Detail
-
Runtime
Runtime(Fixture fixture)
-
-
Method Detail
-
tick
final Integer tick(FloatArray audioPCM)
v0 tick: returns the KNN
cluster_idxfor the embedding produced by audioPCM. Input length must equalfixture.info.audioSamplesPerTick(640 = 16 kHz / 25 fps).
-
tickCompose
final ComposeResult tickCompose(FloatArray audioPCM, Integer frameIdxHint, ByteArray frameOut)
v1 compose tick: produces a composited BGR uint8 frame written into frameOut. Buffer length must be at least
fixture.info.frameBytes.- Parameters:
frameIdxHint- pin to a specific base frame, or-1to let the runtime cursor advance by 1 (wraps atsourceFrameCount).
-
-
-
-