Topics / Bitwig Studio / Bitwig Grid / Bitwig Grid Modules / Grid Math Modules / Divide

Divide

Divide module panel in Bitwig Grid
Divide in Bitwig Grid 6.0.6.

Divides the first input by the second input, sample by sample.

What it does

Divide treats the upper or first inlet as the numerator and the lower or second inlet as the denominator. A changing denominator therefore applies inverse scaling to the first signal.

Controls and ports

The wrapper exposes two ordered signal inputs and one output: the first or upper input is the numerator, and the second or lower input is the denominator.

Practical uses

  • Normalize one value against a non-zero reference signal.
  • Divide by a Constant to apply a fixed reciprocal gain, such as dividing by 2 to halve a signal.
  • Build ratios from counters, envelopes, or other control signals.

Things to know

  • Input order matters: swapping numerator and denominator generally changes the result.
  • A denominator near zero produces a very large magnitude.
  • There is no ordinary zero-denominator guard: a +0 denominator produces +∞ and a -0 denominator produces -∞ for numerator +1.
  • A genuine upstream NaN generated as +∞ - +∞ displayed -∞ when used as either operand, so the module does not expose ordinary IEEE NaN propagation in Value Readout.

Technical details

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

Confirmed by the mapped Nitro AST: out = in1 / in2. With numerator +1, generated +0 and -0 denominators produce +∞ and -∞ respectively. In the earlier Constant-only patch, 0/0 displayed -∞. A separately generated NaN displayed -∞ in both NaN/1 and 1/NaN, establishing Bitwig-visible sanitization rather than ordinary IEEE NaN propagation.

Nitro port Type
in1 InputAudioPortType
in2 InputAudioPortType
out OutputAudioPortType

Simple process assignments:

  • out = (in1 / in2)

Open questions

  • Test sample-by-sample recovery when a moving operand crosses between finite, sentinel, and NaN states.

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