mirror of
https://github.com/hydra-synth/hydra.git
synced 2025-12-20 21:59:57 +01:00
1.9 KiB
1.9 KiB
Functions
Categories
Contents
Audio
Functions for manipulating audio signals.
hide
- .hide()
setBins
- .setBins(
int)int:: integer (default x)
setCutoff
- .setCutoff(
frequency)frequency:: float (default x)
setScale
- .setScale(
amount)amount:: float (default x)
setSmooth
- .setSmooth(
amount)amount:: float (default x)
show
- .show()
Color
Functions for manipulating color.
contrast
.contrast( amount )
amount:: float (default 1.6)
Larger amount value makes higher contrast.
color
.color( r, g, b )
r:: floatg:: floatb:: float
Colorize texture.
colorama
.colorama( amount )
amount:: float (default 0.005)
Shift HSV values.
invert
.invert( amount )
amount:: float (default 1.0)
Invert color.
luma
.luma( threshold, tolerance )
threshold:: float (default 0.5)tolerance:: float (default 0.1)
thresh
.thresh( threshold, tolerance )
threshold:: float (default 0.5)tolerance:: float (default 0.04)