- lfo
lfo - config
- config.control
- config.subControl
- config.rate
- config.sync
- config.depth
- config.depthabs
- config.dcoffset
- config.shape
- config.skew
- config.curve
- config.retrig
- config.fxi
- id
Configures an LFO. Can be called in sequence like pat.lfo(...).lfo(...) to set up multiple LFOs. There are two ways to declare which control will be modulated:
- Explicitly put
controlin the config (e.g.lfo({ c: "lpf" })) - If the control parameter is absent, the control immediately before the
lfocall will be used (e.g.s("saw").lpf(500).lfo()to modulatelpf)
Modulators can be referred to by id so that they can be updated later e.g. inside
a sometimes. See example below.
s("saw").note("F1").lpf(500).lfo() s("saw").lfo().lpf(500).lfo({ s: 0.3 }) s("saw").lpf(500).diode(0.3)
.lfo({ c: "lpf" }) s("pulse").lpf(500).lfo()
.lfo({ c: "s" })
.diode(0.3)
.sometimes(x => x.lfo({ s: "8" }, 1)) // lfo #1 (0-indexed) s("pulse").lpf(500).lfo({ depth: 4 }, 'lpf_mod')
.lfo({ c: "s" })
.diode(0.3)
.sometimes(x => x.lfo({ s: "8" }, 'lpf_mod')) | parameter | type |
|---|---|
| config |
|
| LFO configuration. | |
| config.control |
|
| Node to modulate. Aliases: c | |
| config.subControl |
|
| Sub-control name to append to the control key. Aliases: sc | |
| config.rate |
|
| Modulation rate. Aliases: r | |
| config.sync |
|
| Tempo-synced modulation rate. Aliases: s | |
| config.depth |
|
| Relative modulation depth. Aliases: dep, dr | |
| config.depthabs |
|
| Absolute modulation depth. Aliases: da | |
| config.dcoffset |
|
| DC offset / bias for the waveform. Aliases: dc | |
| config.shape |
|
| Shape index. Aliases: sh | |
| config.skew |
|
| Skew amount. Aliases: sk | |
| config.curve |
|
| Exponential curve amount. Aliases: cu | |
| config.retrig |
|
| If > 0.5, the LFO will retrigger on each event. Aliases: rt | |
| config.fxi |
|
| FX index to target | |
| id |
|
| ID to use for this modulator | |
in this category (44)
- bpdc
- bpdepth
- bpdepthfrequency
- bprate
- bpshape
- bpskew
- bpsync
- hpdc
- hpdepth
- hpdepthfrequency
- hprate
- hpshape
- hpskew
- hpsync
- lpdc
- lpdepth
- lpdepthfrequency
- lprate
- lpshape
- lpskew
- lpsync
- phasersweep
- pwrate
- pwsweep
- tremolo
- tremolodepth
- tremolophase
- tremoloshape
- tremoloskew
- tremolosync
- vib
- vibmod
- warpdc
- warpdepth
- warprate
- warpshape
- warpskew
- warpsync
- wtdc
- wtdepth
- wtrate
- wtshape
- wtskew
- wtsync