Multiply Node

The Multiply Node simply multiplies two audio or control signals, and outputs the multiplication result. In addition to using it for multiply control signals, you can also use this Node to modulate one audio signal with another (or an audio signal with a control signal), because the multiplication is done per-sample.


Inputs

Audio/Control Input 1

An audio or control signal, acting as the first operand of the multiplication. If nothing is connected, it’s the same as if a constant 0 signal was connected, causing the output to be 0 regardless of the other input.

Audio/Control Input 2

An audio or control signal, acting as the second operand of the multiplication. If nothing is connected, it’s the same as if a constant 0 signal was connected, causing the output to be 0 regardless of the other input.


Outputs

Audio/Control Output

An audio or control signal containing the multiplication result.

This output supports constant folding in multiple cases. Specifically, if any of the following conditions is true, this output will be constant:

  • Both inputs are constant
  • At least 1 input is a constant-0
  • At least 1 input has no connection

The output has a channel count equivalent to the greatest input channel count (and inputs with a lower channel count will be automatically upmixed), except if the output is constant, in which case it’s always 1.


Technical Details

The multiplication is done per-sample, and on a per-channel basis.

For non-mono inputs, this means the first channel of the first input is multiplied by the first channel of the second input, and so on. If you connect inputs with different channel counts, the input with the lower channel count is automatically upmixed to match the channel count of the second input.


Similar Nodes

  • When multiplying 2 single-channel (mono) inputs, the Multiply Node has the same behavior as the Gain Node with its Gain-Control Input acting as the 2nd multiplication operand.