unreal.SoundModulationTransform

class unreal.SoundModulationTransform(curve=SoundModulatorCurve.LINEAR, scalar=2.5, curve_shared=None)

Bases: unreal.StructBase

Sound Modulation Transform

C++ Source:

  • Plugin: AudioModulation

  • Module: AudioModulation

  • File: SoundModulationTransform.h

Editor Properties: (see get_editor_property/set_editor_property)

  • curve (SoundModulatorCurve): [Read-Write] Curve: The curve to apply when transforming the output.

  • curve_shared (CurveFloat): [Read-Write] Curve Shared: Asset curve reference to apply if output curve type is set to ‘Shared.’

  • scalar (float): [Read-Write] Scalar: When curve set to log, exponential or exponential inverse, value is factor ‘b’ in following equations with output ‘y’ and input ‘x’: Exponential: y = x * 10^-b(1-x) Exponential (Inverse): y = ((x - 1) * 10^(-bx)) + 1 Logarithmic: y = b * log(x) + 1

property curve

[Read-Write] Curve: The curve to apply when transforming the output.

Type

(SoundModulatorCurve)

property curve_shared

[Read-Write] Curve Shared: Asset curve reference to apply if output curve type is set to ‘Shared.’

Type

(CurveFloat)

property scalar

[Read-Write] Scalar: When curve set to log, exponential or exponential inverse, value is factor ‘b’ in following equations with output ‘y’ and input ‘x’: Exponential: y = x * 10^-b(1-x) Exponential (Inverse): y = ((x - 1) * 10^(-bx)) + 1 Logarithmic: y = b * log(x) + 1

Type

(float)