Mixer
RoutingmixerLight CPU
Sums 2–4 signals. Wire audio into a Gain input and it is also a VCA / ring modulator.
What it does
Sums 2–4 signals with per-input gain — and, because each gain is a live multiplier, doubles as a VCA and a ring modulator.
Linear (g0*a) + (g1*b) + … emitted inline. Unwired inputs are dropped from the expression — only present inputs cost CPU. Each channel's gain is the Inspector value unless you wire its Gain input, in which case the emitted term becomes (gain_source * input) — a genuine per-sample multiply, at audio rate, with nothing smoothing or limiting it. That single line is why the tile covers three jobs rather than one.
Parameters
This module has no adjustable parameters.
Each Gain is also a full audio-rate multiplier, which is what makes this tile a VCA and a ring modulator as well as a mixer. Wire an envelope into Gain 1 and channel 1 becomes a VCA; wire a second oscillator in and you get ring modulation. The number in the form is only the value used while that Gain input is unwired.
Ports
In
-
In 1
in1 -
In 2
in2 -
Gain 1
gain1 -
Gain 2
gain2
Out
-
Out
output
Audio Control Port count varies with this module’s parameters — shown for the defaults.
Inputs
- In 1…N
- Audio or modulation. N is configurable (2–4).
- Gain 1…N
- That channel's level — and a full multiplier input, not just a fader. Wire a knob or LFO for a live fade; wire an ENVELOPE and the channel is a VCA; wire another AUDIO signal and it is a ring modulator. Unwired, the Inspector value is used.
Outputs
- Out
- Combined audio or modulation signal.
Rules and gotchas
- A Gain input is multiplied by its channel per sample, at audio rate, with no smoothing — so a stepped or noisy source wired into one will click. Put a Glide or a One-Pole in front of it if that matters.
- Ring modulation needs a channel used on its own: with two audio signals summed AND multiplied you hear both, which is not the effect. Use a 2-input Mixer with only In 1 wired, its Gain 1 fed by the second oscillator, and In 2 left empty.
- Nothing is normalised or limited. Two full-scale signals summed clip the codec; a gain above 1 does too. That is deliberate — Limiter or Compressor is the tile for the ceiling.
- A gain wired to a source that goes negative inverts the channel's phase rather than muting it. Useful for cancellation; surprising if you expected a fader.
Patches using it
- aeolian_rainforest_organ
touch2 - Comb Filter (Feedback Loop)
standard - complex-drone-synth
touch2 - Mixer
touch2 - Patch 4-In Mixer
patch - 3-Position Switch Demo
touch2 - Comb Resonator
touch2 - Drum Kit
touch2 - Mod Button on Free GPIO
touch2 - Synth Voice (Moog)
touch2 - touch2-board-test
touch2
Bundled with the app — open one from the example browser.