-
Notifications
You must be signed in to change notification settings - Fork 1
Sound‐Effects
Packages:
org.dimdev.limlib.api.effects.soundorg.dimdev.limlib.api.effects.sound.reverborg.dimdev.limlib.api.effects.sound.distortionorg.dimdev.limlib.client.effects.sound
A SoundEffects entry defines the sound treatment for a dimension. It can provide reverb, distortion, music, or any combination of the three.
The dynamic registry key is limlib_sound_effects.
ReverbEffect and DistortionEffect are codec-dispatched interfaces. LimLib includes fixed-value implementations for both:
StaticReverbEffectStaticDistortionEffect
Additional implementations can register their own effect type and codec.
StaticReverbEffect maps directly to OpenAL EFX reverb settings:
enableddensitydiffusiongaingain_hfdecay_timedecay_hf_ratioair_absorption_gain_hfmax_reflections_gainlate_reverb_gainreflections_delaylate_reverb_delaydecay_hf_limit
StaticDistortionEffect exposes these OpenAL EFX distortion settings:
enablededgegainlowpass_cutoffeq_centereq_band_width
The static effects skip sounds whose path contains:
ui.music.block.lava.popweather.
They also skip paths beginning with atmosfera or dynmus.
SoundSystemMixin updates the active reverb and distortion filters when a sound starts. It rebuilds them after a sound resource reload.