Skip to main content
Version: 2.x

Insert Custom Effect

Inserts a user-defined custom effect at the specified index in the audio pipeline. The effect is implemented via a callback function and associated user data. A unique effect identifier is returned.

note

Index is shifting subsequent effects. An index of 0 inserts at the beginning of the pipeline.

Inputs​

NameTypeDescription
TargetOdin PipelineThe Odin Pipeline to call this function on.
IndexIntegerdesired index
EffectOdin Custom Effecteffect object

Outputs​

NameTypeDescription
Return ValueIntegerthe new effect id or 0