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.
- Node type: Callable function. Has execution pins and runs when it is reached in the event graph.
- Target: Odin Pipeline
- Menu category: Odin › Audio Pipeline › Effects
- C++:
UOdinPipeline::CreateCallbackEffect
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
| Name | Type | Description |
|---|---|---|
| Target | Odin Pipeline | The Odin Pipeline to call this function on. |
| Index | Integer | desired index |
Outputs
| Name | Type | Description |
|---|---|---|
| Return Value | Odin Callback Effect | the custom effect object |