Effect
Parameters for setting effects.
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.
Public Static Factory Method
HighPass
Create a High Pass Filter 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
For resetting the High Pass Filter effect (back to 20Hz). fadeTime: The time duration from the current frequency to 20Hz.
LowPass
Create a Low Pass Filter 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
For resetting the Low Pass Filter effect (back to 22000Hz). fadeTime: The time duration from the current frequency to 22000Hz.
Custom
Create a custom effect. This is similar to using the UnityAPI AudioMixer.SetFloat(), 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 AudioEffectEditor.
Last updated