Topics / Bitwig Studio / Bitwig Grid / Bitwig Grid Modules / Logic Modules / XOR

XOR

XOR module panel in Bitwig Grid
XOR in Bitwig Grid 6.0.6.

Outputs high logic when exactly one of the two inputs is true.

What it does

XOR, or exclusive OR, detects disagreement between two Boolean states. One active input produces 1, while both active or both inactive produce 0.

Controls and ports

Control Label Official description
table Truth table A  B XOR
0 0 0
0 1 1
1 0 1
1 1 0

Practical uses

  • Create alternating rhythmic variations where overlapping triggers should cancel.
  • Detect that two gate states differ.
  • Combine two pulse waves for an audio-rate digital waveshaping pattern.

Things to know

  • XOR is commutative.
  • Unlike OR, two simultaneous high inputs produce a low output.
  • For clean 0/1 inputs it is the same truth function as Not Equal.

Technical details

A high-confidence Nitro implementation candidate supports the technical summary, but the visible-module mapping remains inferred.

Boolean function: out = a XOR b, equivalently out = (a != b) after Boolean conversion. For numerical 0/1 states it can also be written a + b - 2ab. The installed truth table and exact-name Nitro wrapper agree on the contract.

Nitro port Type
a InputValuePortType
b InputValuePortType
c OutputValuePortType

Open questions

  • Measure Boolean conversion for negative and fractional input values.

Version and sources

Checked against Bitwig Studio 6.0.6. This page combines Bitwig's module metadata, the existing Grid course and guides, and Nitro analysis where the mapping is strong enough to support a technical statement.

Return to Bitwig Grid Modules or the Grid Modules course lesson.

Also matches: Bitwig XOR module, Bitwig Grid XOR, XOR Grid module