Skip to main content
Version: 2.x

Create Activity Effect

Creates a Activity Effect and inserts it into the pipeline at the given index. The effect raises Activity Callback whenever the audio switches between silent and active, e.g. to drive a "speaking" indicator.

Inputs​

NameTypeDescription
TargetOdin PipelineThe pipeline.
IndexIntegerPosition in the pipeline; 0 inserts at the beginning.

Outputs​

NameTypeDescription
Return ValueOdin Activity EffectThe created Activity Effect. Keep it to change its properties at runtime.