⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    AudioEffectsPreset ScriptableObject

    Overview

    The AudioEffectsPreset scriptable object specifies a preset name and then a range of audio effect settings that will be applied to the effects on the character listener. This is managed with the FpsCharacterAudioEffects behaviour. The available effects include:

    • Low-pass filter
    • High-pass filter
    • Distortion
    • Reverb

    Inspector

    AudioEffectsPreset

    Properties

    Name Type Description
    Effect Name String The name of this effects preset.
    Highpass Cut Off Float The cut-off frequency for the high pass effect. Only frequencies above this will pass through to the final mix.
    Highpass Resonance Float The resonance determines how much the filter’s self-resonance is dampened. A higher value means more resonance.
    Lowpass Cut Off Float The cut-off frequency for the low pass effect. Only frequencies below this will pass through to the final mix.
    Lowpass Resonance Float The resonance determines how much the filter’s self-resonance is dampened. A higher value means more resonance.
    Distortion Float The amount of distortion to apply to the sound.
    Reverb Enabled Float Is reverb enabled with this preset.
    Reverb Dry Level Float Mix level of dry signal in output in mB. Ranges from –10000.0 to 0.0.
    Reverb Room Float Room effect level at low frequencies in mB. Ranges from –10000.0 to 0.0.
    Reverb Room HF Float Room effect high-frequency level in mB. Ranges from –10000.0 to 0.0.
    Reverb Room LF Float Room effect low-frequency level in mB. Ranges from –10000.0 to 0.0.
    Reverb Decay Time Float Reverberation decay time at low-frequencies in seconds. Ranges from 0.1 to 20.0.
    Reverb Decay HF Ratio Float High-frequency to low-frequency decay time ratio. Ranges from 0.1 to 2.0.
    Reverb Reflections Level Float Early reflections level relative to room effect in mB. Ranges from –10000.0 to 1000.0.
    Reverb Reflections Delay Float Early reflections delay time relative to room effect in mB. Ranges from –10000.0 to 2000.0.
    Reverb Level Float Late reverberation level relative to room effect in mB. Ranges from –10000.0 to 2000.0.
    Reverb Delay Float Late reverberation delay time relative to first reflection in seconds. Ranges from 0.0 to 0.1.
    Reverb HF Reference Float Reference high frequency in Hz. Ranges from 20.0 to 20000.0. Default is 5000.0 Hz.
    Reverb LF Reference Float Reference low-frequency in Hz. Ranges from 20.0 to 1000.0.
    Reverb Diffusion Float Reverberation diffusion (echo density) in percent. Ranges from 0.0 to 100.0.
    Reverb Density Float Reverberation density (modal density) in percent. Ranges from 0.0 to 100.0.

    See Also

    FpsCharacterAudioEffects

    [Audio Effects][unity-audioeffects]

    Back to top Copyright © 2019 Yondernauts Game Studios Ltd
    Generated with DocFX