Module xLFO
Static LFO implementation for generating basic waveforms
Functions
sine (phase, min, max) | [Static] Return sine wave at the given position, starting from 0 |
triangle (phase, min, max) | [Static] Return triangle shape at the given position, starting from 0 |
square (phase, min, max) | [Static] Return square shape at the given position, starting from 0 |
Functions
- sine (phase, min, max)
-
[Static] Return sine wave at the given position, starting from 0
Parameters:
- phase (number), a value between 0-1
- min (number), scale "0" to this value
- max (number), scale "1" to this value
- triangle (phase, min, max)
-
[Static] Return triangle shape at the given position, starting from 0
Parameters:
- phase (number), a value between 0-1
- min (number), scale "0" to this value
- max (number), scale "1" to this value
- square (phase, min, max)
-
[Static] Return square shape at the given position, starting from 0
Parameters:
- phase (number), a value between 0-1
- min (number), scale "0" to this value
- max (number), scale "1" to this value