Topics / Bitwig Studio / Bitwig Grid / Bitwig Grid Modules / Logic Modules / N-Latch

N-Latch

N-Latch module panel in Bitwig Grid
N-Latch in Bitwig Grid 6.0.6.

A configurable one-of-N memory: triggering one input selects it and makes only its matching output high.

What it does

N-Latch expands the latch idea into several input/output pairs. An event at input N stores N as the active selection; output N becomes high, the other outputs become low, and that one-hot selection remains until another input is triggered.

Controls and ports

Control Label Official description
trigger_in1 Trigger In1 Trigger in 1
trigger_in2and Trigger In2And Trigger in 2, etc.
gate_out1 Gate Out1 High logic ('+1') when corresponding in port received the most recent trigger signal. Otherwise, low logic ('0').
gate_out2and Gate Out2And Equivalent to Gate Out 1, etc.
count Count Number of in and out port pairs provided

Practical uses

  • Select one scene, pattern, or processing branch from several trigger inputs.
  • Convert independent event sources into a persistent one-hot routing state.
  • Build radio-button behavior where choosing a new option automatically clears the previous one.

Things to know

  • The Count setting changes how many input/output pairs are available.
  • The most recently accepted input becomes the sole active output.
  • Simultaneous triggers need a defined priority, which has not yet been measured.
  • The module is stateful, so initialization and patch restoration matter.

Technical details

No Nitro implementation has been confirmed for this visible module. The behavior is described conservatively from module metadata and editorial research.

A compact model stores an active index k. When input event i is accepted, the state becomes k = i; each output is then out[j] = 1 when j == k and 0 otherwise. This explains the one-hot remembered selection, but no confirmed Nitro mapping currently specifies initialization, event threshold, or simultaneous-event ordering.

Open questions

  • Measure the initial output state, simultaneous-trigger priority, threshold and edge policy, and whether the selected index is restored with the patch.

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 N-Latch module, Bitwig Grid N-Latch, N-Latch Grid module