Sample & Hold
sample_hold · v1Captures Value on a rising Trigger edge and holds it until the next edge.
Sample & Hold
Inputs
Outputs
Select a port to see its purpose and an example connection. Its reference row will highlight.
Ports and connections
| Port / ID | Type | Connection |
|---|---|---|
Valuevalue | number | Controls Value with a number stream. Without a wire, the manual value is 0.Manual value when disconnected |
Triggergate | gate | An off-to-on Gate transition captures Value.Optional |
Outputout | number | The number result of Sample & Hold, available to other nodes on every sample.Output |
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 |
|---|---|---|---|
Valuevalue | -1000000…1000000 | 0 | Input or manualLinear scale |
How to use it
Random → Value, Compare driven by another LFO → Trigger: create stepped modulation.
Things to check
A continuously high Gate does not resample the value. A new off-to-on transition is required.
Check required inputs and matching types. Run Compile before auditioning; a validation failure preserves the previous working module. Troubleshooting →