Resonant Low Pass Filter

with_fx :rlpf do
play 50
end

amp:

1

amp_slide:

0

mix:

1

mix_slide:

0

pre_amp:

1

pre_amp_slide:

0

cutoff:

100

cutoff_slide:

0

res:

0.5

res_slide:

0

Please write documentation!

 amp:

The amplitude of the sound. Typically a value between 0 and 1. Higher amplitudes may be used, but won't make the sound louder, it will just reduce the quality of all the sounds currently being played (due to compression.)
Default: 1
must be zero or greater
May be changed whilst playing

 amp_slide:

Amount of time (in seconds) for the amplitude (amp) to change. A long slide value means that the amp takes a long time to slide from the previous amplitude to the new amplitude. A slide of 0 means that the amplitude instantly changes to the new amplitude.
Default: 0
must be zero or greater
May be changed whilst playing

 mix:

The amount (percentage) of FX present in the resulting sound represented as a value between 0 and 1. For example, a mix of 0 means that only the original sound is heard, a mix of 1 means that only the FX is heard (typically the default) and a mix of 0.5 means that half the original and half of the FX is heard.
Default: 1
must be a value between 0 and 1 inclusively
May be changed whilst playing

 mix_slide:

Amount of time (in seconds) for the mix value to change. A long slide value means that the mix takes a long time to slide from the previous value to the new value. A slide of 0 means that the mix instantly changes to the new value.
Default: 0
must be zero or greater
May be changed whilst playing

 pre_amp:

Amplification applied to the input signal immediately before it is passed to the FX.
Default: 1
must be zero or greater
May be changed whilst playing

 pre_amp_slide:

Amount of time (in seconds) for the pre_amp value to change. A long pre_amp_slide value means that the pre_amp takes a long time to slide from the previous value to the new value. A pre_amp_slide of 0 means that the pre_amp instantly changes to the new value.
Default: 0
must be zero or greater
May be changed whilst playing

 cutoff:

MIDI note representing the highest frequencies allowed to be present in the sound. A low value like 30 makes the sound round and dull, a high value like 100 makes the sound buzzy and crispy.
Default: 100
must be zero or greater,must be a value less than 131
May be changed whilst playing

 cutoff_slide:

Amount of time (in seconds) for the cutoff value to change. A long cutoff_slide value means that the cutoff takes a long time to slide from the previous value to the new value. A cutoff_slide of 0 means that the cutoff instantly changes to the new value.
Default: 0
must be zero or greater
May be changed whilst playing

 res:

Filter resonance. Smaller values produce more resonance.
Default: 0.5
must be greater than zero
May be changed whilst playing

 res_slide:

Amount of time (in seconds) for the res value to change. A long res_slide value means that the res takes a long time to slide from the previous value to the new value. A res_slide of 0 means that the res instantly changes to the new value.
Default: 0
must be zero or greater
May be changed whilst playing