Star ✨ on GitHub

LavaDSPXPlugin

API reference for the LavaDSPXPlugin in Moonlink.js

LavaDSPXPlugin Class

The LavaDSPXPlugin integrates with the LavaDSPX Lavalink plugin to provide advanced digital signal processing (DSP) filters. It declares the lavadspx capability, enabling the use of filters like HighPass, LowPass (DSPX), Normalization, and Echo.

Properties

PropertyTypeDescription
namestringThe name of the plugin: lavadspx-plugin.
capabilitiesstring[]Declares lavadspx capability.
nodeNodeThe associated Node instance.

Methods

load

loadmethod

Load Plugin

Initializes the plugin for a given node.

Parameters
noderequiredNode
The node instance.

Returns & Example

Returnsvoid

// Called internally by PluginManager

::

unload

unloadmethod

Unload Plugin

Cleans up plugin resources.

Parameters
noderequiredNode
The node instance.

Returns & Example

Returnsvoid

// Called internally by PluginManager