AudioMath

Do maths on the sound itself, sample by sample. A few wires give you ring modulation, tremolo, offsets and frequency modulation.

An AudioMath works on audio one sample at a time. Operation picks Add, Subtract, Multiply, Divide (0 where dividing by 0), Min, Max, Abs, Clamp, Tanh, Sin (a waveshaper), Power or Mix. Every operand takes an Audio wire or a number, typed or wired from any number output, which becomes a steady stream; its output is Audio. It never plays on its own, so wire it into an effect, a mix or an AudioOutput.

Properties

Audio

NameTypeDefaultDescription
AudioaudioProperties window onlyThe node's output: the result of the math, as Audio.

Math

OperationchoiceAdd
Properties window only; Add, Subtract, Multiply, Divide, Min, Max, Abs, Clamp, Tanh, Sin, Power, Mix
Which math it does per sample; switching it drops wires into operands the new operation lacks.
Anumber0
Properties window only; any value
The first operand, labelled to suit the Operation.
Bnumber0
Properties window only; any value
The second operand, labelled to suit the Operation; Divide gives 0 where B is 0.

Node

PositionVector2
From Instance 22