v0.1Latest

Subtract

Subtract

Subtracts control signal B from control signal A and outputs the difference. Use it to offset one modulation source by another, compute deltas between two signals, or invert-and-add for bipolar control math. It operates continuously on whatever the two inputs supply.

Subtract 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.sub
  • 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