GD Audio Reverb v1.1
by GlaireDaggers
by GlaireDaggers
Introduction
This is a fairly small plugin which extends RPG Maker's audio system to add a global reverb effect which applies to any audio (music, sound effects, etc). It uses an adaptation of the Freeverb algorithm, so unlike convolution-based reverb that require premade impulse responses, this reverb is completely parameterized and customizable.
Features
This plugin creates a global reverb effect, which can be set on map load via a <reverbParams: [x]> notetag, as well as controlled by events via the Set Reverb Params and Revert Reverb Params plugin commands.
In the map notetags, you can add a notetag to set the reverb params when the map is loaded:
The parameters are as follows:
Code:
<reverbParams: [roomsize] [damping] [predelay] [wet] [dry]>
- Room size - Affects the duration of the reverb echo. The larger the value, the longer the reverb. Must be less than 1.0 (supplying 1.0 will create an infinite reverb)
- Damping - Any frequency above this value (in Hz) will be cut off in the reverb echo. The lower this value, the less "bright" the echo will sound.
- Pre-delay - An extra delay (in milliseconds) added to the reverb echo.
- Wet - A scale applied to the reverb echo. 0.0 is silent, 1.0 is full volume.
- Dry - A scale applied to the non-reverbed audio. 0.0 is silent, 1.0 is full volume.
- Cave/hall - <reverbParams: 0.9 2000 20 0.1 0.9>
- Room - <reverbParams: 0.4 3000 10 0.1 0.9>
- Outdoors/streets - <reverbParams: 0.4 4000 150 0.05 0.95>
- Weird space echo - <reverbParams: 0.95 4000 150 0.05 0.95>
- Set Reverb Params - Sets the current reverb parameters. Arguments are the same as the map notetag.
- Revert Reverb Params - Resets the current reverb parameters back to the map defaults, as if the map was just loaded.
v1.1 - 3/4/2024
- Added support for applying reverb to BGM, BGS, ME, SE, and static SE (set with flags, default is only applied to SE to preserve compatibility)
- Added support for setting default reverb settings on game start
- Fixed boolean parameters not being parsed correctly (oops)
- BREAKING CHANGE: disableOnMapLoad renamed to revertOnMapLoad, new behavior is to load from default reverb settings instead of silencing
Terms and Credits
Plugin is released under the MIT license.
Attribution is appreciated, but not required.