Modulators node
Field Modulator
A modulator written in Field code. Its code publishes a value from 0 to 1 that drives any knob it is patched into. Count and Max Elements (default 65536) set the field's size, and Size, Height, Freq and Speed are exposed controls you can modulate (Size 0.5 to 10, Height 0 to 2, Freq 0.5 to 8, Speed 0 to 5). Patch it in the Field Patcher, or start from Slow LFO, Triangle LFO, Pulse Train or Skipping Beat. Save, Export and Import keep the code. Everyday use: a custom LFO or animated curve when the built-in modulators are not enough. Also called a custom LFO or formula modulator. See the Field Language chapter.

What it does
Field Modulator is a modulator: it makes a moving value that can drive any control on the canvas. It has no input and gives control signal out, so it starts a chain.
Try it
Start from Slow LFO, change the publish line to a square wave and wire it into a knob.
Field ModulatorShape (Size)Output
Inputs and outputs
Inputs
- None. It starts a chain.
Outputs
- control signal value
Controls
Every control with a range can be driven by a modulator, a note, an audio level or a sketch.
| Control | Range or options | Default |
|---|---|---|
| size | 0.5 to 10 | 2.5 |
| height | 0 to 2 | 0.400000006 |
| freq | 0.5 to 8 | 2.5 |
| speed | 0 to 5 | 1 |
Example patch
This patch wires Field Modulator to what it needs and shows the result. Download it, then use File, Open in Infinite, or read it here: it is plain text.
infinite-patch 1
rev 2
# Field Modulator: a starting patch for the Field Modulator node
node 1 Modulators Field Modulator
id node
pos 520 300
end
node 2 Source Shape
id shape
pos 1080 300
end
node 3 Utility Output
id out
pos 1640 300
end
mod shape sizeX node 0 0 0.6 0.5
cable out 0 shape