Compare
compare · v1Compares A and B using >, <, =, >= or <=. Outputs a Gate.
Compare
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 |
|---|---|---|
Aa | number | Controls A with a number stream. Without a wire, the manual value is 0.Manual value when disconnected |
Bb | number | Controls B with a number stream. Without a wire, the manual value is 0.Manual value when disconnected |
Outputout | gate | The gate result of Compare, 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 |
|---|---|---|---|
Aa | -1000000…1000000 | 0 | Input or manualLinear scale |
Bb | -1000000…1000000 | 0 | Input or manualLinear scale |
Operationoperation | 0…40: > · 1: < · 2: = · 3: >= · 4: <= | 0 | StaticLinear scale |
How to use it
Envelope Follower → A, B = 0.1, Operation = >; feed the Gate into Select Audio.
Things to check
Check required inputs and matching types. Run Compile before auditioning; a validation failure preserves the previous working module. Troubleshooting →