LuaSTG-x Core API
audio::Filter Class Reference

Public Member Functions

static function Bandpass (local gain, local low_gain, local high_gain)
 
static function Highpass (local gain, local low_gain)
 
static function Lowpass (local gain, local high_gain)
 

Member Function Documentation

◆ Bandpass()

static function Bandpass ( local  gain,
local  low_gain,
local  high_gain 
)

Bandpass

Parameters
gainnumber The overall volume of the audio. Must be between 0 and 1.
low_gainnumber Volume of low-frequency audio. Only applies to high-pass and band-pass filters. Must be between 0 and 1.
high_gainnumber Volume of high-frequency audio. Only applies to low-pass and band-pass filters. Must be between 0 and 1.

◆ Highpass()

static function Highpass ( local  gain,
local  low_gain 
)

Highpass

Parameters
gainnumber The overall volume of the audio. Must be between 0 and 1.
low_gainnumber Volume of low-frequency audio. Only applies to high-pass and band-pass filters. Must be between 0 and 1.

◆ Lowpass()

static function Lowpass ( local  gain,
local  high_gain 
)

Lowpass

Parameters
gainnumber The overall volume of the audio. Must be between 0 and 1.
high_gainnumber Volume of high-frequency audio. Only applies to low-pass and band-pass filters. Must be between 0 and 1.

The documentation for this class was generated from the following files: