Type:AudioRolloffMode: Difference between revisions

From Resonite Wiki
m 989onan moved page AudioRolloffMode to Type:AudioRolloffMode: type please
Correct LogarithmicClamped description
 
(One intermediate revision by one other user not shown)
Line 7: Line 7:
! Numeric Value
! Numeric Value
|-
|-
|Logarithmic
|LogarithmicInfinite
|As you move away, the audio will roll off with a Logarithmic Curve.
|As you move away, the audio will roll off with a Logarithmic Curve, never reaches full silence.
|0
|0
|-
|LogarithmicClamped
|As you move away, the audio will roll off with a Logarithmic Curve, once you reach max distance the audio will stop attenuating but not cut out (i.e. the attenuation is clamped to MaxDistance).
|1
|-
|LogarithmicFadeOff
|As you move away, the audio will roll off with a Logarithmic Curve, once you reach the max desired distance it will fade out to silence linearly.
|2
|-
|-
|Linear
|Linear
|As you move away, the audio will roll off with a Linear Curve.
|As you move away, the audio will roll off with a Linear Curve.
|1
|3
|}
|}


[[Category:Enums]]
[[Category:Enums]]
[[Category:Type]]
[[Category:Type]]

Latest revision as of 04:29, 9 August 2025

AudioRolloffMode is an Enum used in many audio processing components (such as AudioOutput) and ProtoFlux nodes and refers to how the audio's volume decreases as you move away from it spatially.

Possible Values

Value Description Numeric Value
LogarithmicInfinite As you move away, the audio will roll off with a Logarithmic Curve, never reaches full silence. 0
LogarithmicClamped As you move away, the audio will roll off with a Logarithmic Curve, once you reach max distance the audio will stop attenuating but not cut out (i.e. the attenuation is clamped to MaxDistance). 1
LogarithmicFadeOff As you move away, the audio will roll off with a Logarithmic Curve, once you reach the max desired distance it will fade out to silence linearly. 2
Linear As you move away, the audio will roll off with a Linear Curve. 3