Effect

Parameters for setting effects.

NameSpace
Accessibility

Ami.BroAudio

public

Public Static Factory Method

Method
Parameters
Description

HighPass

float frequency, float fadeTime, Ease ease = BroAdvice.HighPassInEase

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

float fadeTime, Ease ease = BroAdvice.HighPassOutEase

For resetting the High Pass Filter effect (back to 20Hz). fadeTime: The time duration from the current frequency to 20Hz.

LowPass

float frequency, float fadeTime, Ease ease = BroAdvice.LowPassInEase

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

float frequency, float fadeTime, Ease ease = BroAdvice.LowPassOutEase

For resetting the Low Pass Filter effect (back to 22000Hz). fadeTime: The time duration from the current frequency to 22000Hz.

Custom

string exposedParameterName, float value, float fadeTime, Ease ease = Ease.Linear

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