Skip to main content
Version: 2.x

Create Volume Effect

Creates a Volume Effect and inserts it into the pipeline at the given index. The effect multiplies the samples by Sample Scale (raised to Scale Exponent), or treats Sample Scale as a gain in decibels when Volume Log10 is set.

Inputs​

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

Outputs​

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