Effect
Parameters for setting effects.
Last updated
Parameters for setting effects.
Last updated
Ami.BroAudio
public
The constructor of this struct is internal. Please use the static factory method for creation. This design provides a more organized and consistent parameter configuration and method names with clearer meanings.
HighPass
float frequency, float fadeTime, ease = .HighPassInEase
Create a effect and set its frequency at the given value. fadeTime: The time duration from 20Hz to the given frequency. ease(optional): the ease function that applies while fading the frequency
ResetHighPass
float fadeTime, ease = .HighPassOutEase
For resetting the effect (back to 20Hz). fadeTime: The time duration from the current frequency to 20Hz.
LowPass
float frequency, float fadeTime, ease = .LowPassInEase
Create a effect and set its frequency at the given value. fadeTime: The time duration from 22000Hz to the given frequency. ease(optional): the ease function that applies while fading the frequency
ResetLowPass
float frequency, float fadeTime, ease = .LowPassOutEase
For resetting the effect (back to 22000Hz). fadeTime: The time duration from the current frequency to 22000Hz.
Custom
string exposedParameterName, float value, float fadeTime, ease = .Linear
Create a custom effect. This is similar to using the , which requires adding an effect and exposing parameters in the AudioMixer. The only difference is that the effect referred to can only be applied to the 'Effect' track of BroAudioMixer, which can be set via .