LOGIC
Digital logic gates for 0 V / 1 V signals: AND, OR, NAND, NOR, XOR, XNOR and NOT.
Control and ModulationPer voice or on the mix: wherever its inputs are
Overview
LOGIC combines gates, clocks, triggers and square LFOs the way digital circuits do. Two inputs, A and B, feed every gate at once, and all eight results are live together, each beside its standard gate symbol and a light that is lit while it is 1.
An input counts as 1 at or above 0.5 V. A little hysteresis keeps slow or noisy signals, such as an LFO or an envelope, from chattering as they cross. Outputs are exactly 0 V or 1 V and accurate to the sample, ready to clock a sequencer, gate an envelope or switch a VCA.
Inputs and outputs
| Jack | Direction | Signal | What it does |
a | In | Control (logic) | Input A. 1 at or above 0.5 V. Unplugged reads as 0. |
b | In | Control (logic) | Input B. Unplugged reads as 0. |
and_out | Out | Control (0/1 V) | A AND B. |
or_out | Out | Control (0/1 V) | A OR B. |
nand_out | Out | Control (0/1 V) | NOT (A AND B). |
nor_out | Out | Control (0/1 V) | NOT (A OR B). |
xor_out | Out | Control (0/1 V) | 1 when exactly one input is 1. |
xnor_out | Out | Control (0/1 V) | 1 when A and B agree. |
not_a | Out | Control (0/1 V) | A inverted. |
not_b | Out | Control (0/1 V) | B inverted. |
Specifications
| Threshold | 0.5 V with hysteresis: high above 0.52 V, low below 0.48 V |
| Output levels | Exactly 0 V and 1 V |
| Timing | Sample-accurate, no added latency |
| Lights | One per input and output, lit while it is 1 |
| Runs | Per voice when its inputs are per voice (a key gate), once on the mix when they are global (clocks, LFOs) |
How it works
Each input passes through a Schmitt trigger around 0.5 V. Each sample, the two resulting bits are combined into all eight functions at once and written out as 0 V or 1 V.
Use cases
- Ratchets and trills. A key gate AND a fast square LFO: repeats only while the key is held.
- New rhythms. Two clocks at different rates through XOR or OR, into a sequencer or a drum's gate.
- After the envelope. An envelope into A, read from NOT A: a gate that opens once the sound has died away.
- Either-or. XOR of two gates: one sound or the other, never both.
Tips
- A bipolar square LFO (−1..+1 V) works directly: its positive half reads as 1.
- Use VCA gain_cv with a gate output to switch audio on and off cleanly.
Factory patches that use it
3 factory patches: contraption-2, contraption-3, hitech-rock-jam.