AudioMath
Do maths on the sound itself, sample by sample: ring modulation, tremolo, offsets and frequency modulation, built from a few wires.
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: wire it into an effect, a mix or an AudioOutput.
Properties
Audio
| Name | Type | Default | Description |
|---|---|---|---|
| Audio | audio | Properties window only | The node's output: the result of the math, as Audio. |
Math
| Operation | choice | "Add" 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. |
| A | number | 0 Properties window only | The first operand, labelled to suit the Operation. |
| B | number | 0 Properties window only | The second operand, labelled to suit the Operation; Divide gives 0 where B is 0. |
Node
| Position | Vector2 | Properties window only |
