Map Range
map_range · v1Linearly maps Value from an input range to an output range, including values outside the bounds.
Map Range
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 |
Input minin_min | number | Controls Input min with a number stream. Without a wire, the manual value is -1.Manual value when disconnected |
Input maxin_max | number | Controls Input max with a number stream. Without a wire, the manual value is 1.Manual value when disconnected |
Output minout_min | number | Controls Output min with a number stream. Without a wire, the manual value is 0.Manual value when disconnected |
Output maxout_max | number | Controls Output max with a number stream. Without a wire, the manual value is 1.Manual value when disconnected |
Outputout | number | The number result of Map Range, 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 |
Input minin_min | -1000000…1000000 | -1 | Input or manualLinear scale |
Input maxin_max | -1000000…1000000 | 1 | Input or manualLinear scale |
Output minout_min | -1000000…1000000 | 0 | Input or manualLinear scale |
Output maxout_max | -1000000…1000000 | 1 | Input or manualLinear scale |
How to use it
Map an LFO from −1…1 to 200…4000 Hz and connect it to EQ Band / Frequency.
Things to check
The output is not automatically clamped. Equal input bounds return Output min.
Check required inputs and matching types. Run Compile before auditioning; a validation failure preserves the previous working module. Troubleshooting →