Skip to main content
Version: 2.x

Create Callback Effect

PRESET: Codec-Effect for the odin audio pipeline. The effect processes the samples with C++ code on a worker thread (UOdinCallbackEffect::ProcessSamples or SetProcessFunction) and writes the result back into the chain, delaying the audio by at least one block, e.g. for a voice changer.

note

The pipeline does not keep the effect alive: keep a reference to it (e.g. in a variable), otherwise garbage collection destroys it and removes it from the pipeline.

Inputs​

NameTypeDescription
TargetOdin PipelineThe Odin Pipeline to call this function on.
IndexIntegerdesired index

Outputs​

NameTypeDescription
Return ValueOdin Callback Effectthe custom effect object