GD Audio Reverb v1.1

GD Audio Reverb v1.1
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.

Spoiler: Demo Videos


Spoiler: How to use
In the map notetags, you can add a notetag to set the reverb params when the map is loaded:
Code:
<reverbParams: [roomsize] [damping] [predelay] [wet] [dry]>
The parameters are as follows:
  • 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.
A few example presets:
  • 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>
In the plugin settings you can also change the Disable on map load setting to determine what should happen if you don't supply a notetag - the default behavior is to disable reverb in this case, but you can change it to preserve the previous reverb settings instead.

Spoiler: Plugin Commands
  • 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.


Spoiler: Changelog
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.
This is awesome! Thank you for making this!
🤘
Plugin has just been updated to v1.1!
The updates are as follows:

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

Original thread: https://forums.rpgmakerweb.com/threads/gd-audio-reverb-v1-1.166400/