v0.1Latest

Divide

Divide

Divides control signal A by control signal B and outputs the quotient. It is useful for ratio-based modulation, normalizing one signal against another, or scaling by a computed divisor. To stay numerically safe it returns 0 when B is 0 rather than producing an undefined result.

Divide node screenshot

Inputs

A

  • ID: a
  • Kind: control
  • Rate: control
  • Coercion: Implicit
  • Default: 0

B

  • ID: b
  • Kind: control
  • Rate: control
  • Coercion: Implicit
  • Default: 0

Outputs

Result

  • ID: y
  • Kind: control
  • Rate: control
  • Coercion: Implicit

Notes

  • Canonical ID: math.div
  • Category: math
  • Runtime Surface: control
  • Runtime Targets: control-main-thread
  • JUCE Early Access: Supported
  • Early Access Note: Native-supported in the plugin for the current catalog/runtime support contract.
  • Formula: y = a / b