Variable / History
history · v1Stores the previous sample’s value. It outputs the old state before committing Next.
Ports and connections
The default configuration is shown below. Types and capacity can change in node properties; configure the node before connecting ports.
| Port / ID | Type | Connection |
|---|---|---|
Nextnext | number | Value to store after the current sample has been evaluated. Its type is selected in node properties.Manual value when disconnected |
Write enablewrite | gate | Enables writing Next. Writing is on without a wire; an off Gate holds the stored value.On by default |
Resetreset | gate | An on Gate resets memory to its initial value.Optional |
Outputout | number | The value stored from the previous sample. This delay breaks instantaneous feedback.OutputCapacity: 64 |
An output can feed multiple inputs of the same type. An input has one source; Function also requires matching signatures. All connection rules →
Parameters
Values describe manual settings. A connected stream replaces a parameter’s manual value; disconnecting restores it.
| Parameter | Range | Default | Control |
|---|---|---|---|
Initialinitial | -1000000…1000000 | 0 | StaticLinear scale |
Nextnext | -1000000…1000000 | 0 | Input or manualLinear scale |
Node properties
These settings are configured before compilation and cannot be modulated by wires.
- Value type
- Audio, Number, Gate, Integer, Array, List · default Number
Choose the type before wiring. Function and Buffer are not available in this list.
- Capacity
- 1…4096 elements · default 64
Available for Array/List History. Memory is allocated before processing; a List cannot exceed this capacity.
- Initial values
- Default empty list
Open Edit initial values. Enter finite numbers, up to Capacity. Scalar History uses the numeric Initial parameter.
How to use it
History → Add / A; B = 0.01; Add → History / Next. This feedback path contains explicit memory.
Things to check
Write enable defaults to on; Reset takes priority. Choose the value type before wiring. History cannot store Function or Buffer.
Check required inputs and matching types. Run Compile before auditioning; a validation failure preserves the previous working module. Troubleshooting →