Mixer

Sum up to 32 channels, each with gain, pan, mute and solo, into one mix with a master level. Plug a cable in to add a channel.

  • Utility
  • Since 0.2.0
  • mixer
  • bus
  • sum
  • channels
  • pan
  • solo

Open in TuneToys

Mixer as the Patch draws it, at default values: inlets on the left, outlets on the right.

Blend an editable list of up to 32 audio channels. Plug a cable into + Channel or onto the card to create a channel, or add an empty one and wire it later.

What it does#

Each channel has its own input, gain, pan, mute and solo. A durable channel ID names its input and controls: channel.in, channel.gain, channel.pan, channel.mute and channel.solo. The master level follows the sum. Mute beats solo; when any channel is soloed, only soloed channels are heard. Solo is saved and automatable.

Drag a channel's grip to reorder it, or drag it off the card to remove it. Reordering, names, colours and icons affect presentation only; cables and Frame controls continue following the same channel. Undoing removal restores its controls and cables.

When to use it#

Combine sources into one mix, make a subgroup, or build a desk with mute and solo. For a single balance between two sources use Crossfade.

Ports#

PortDirectionSignalLanes
channel.inInputAudioInferred from the cable
audioOutputAudioInferred from the cable

Parameters#

ParameterLabelRangeDefaultUnitScaleNotes
masterMaster-60 to 120dBlinearMix output level in decibels, after every channel. −60 dB is off; 0 dB leaves the sum unchanged.
channel.gainchannel Gain-60 to 120dBlinearLevel of this channel in decibels. −60 dB is off; 0 dB leaves it unchanged.
channel.panchannel Pan-1 to 10linearPosition on a two-lane mix: −1 left, 0 centre, 1 right. Constant-power for a one-lane channel, balance for a two-lane one; ignored on other widths.
channel.mutechannel Mute0 to 10linearSilences this channel. Mute beats solo. Choices: 0 On, 1 Muted.
channel.solochannel Solo0 to 10linearWhile any channel of this Mixer is soloed, only soloed channels are heard. Choices: 0 Off, 1 Solo.
  • channels: 0–32 items, each with a durable id and optional name, color, icon. Item order affects presentation only; ports and controls use the item ID.

Tips#

  • −60 dB is off. Start each source quietly and leave headroom at master.
  • Mono channels use constant-power pan into a stereo mix; stereo channels use balance with unity gain at centre. Pan is ignored on other widths.
  • Channels may have an optional name, colour and icon. Their IDs stay stable when renamed or reordered.
  • Use Alt (Option) Solo in the Mix drawer for exclusive solo.

See also#

Crossfade, Gain, Buses, Multichannel audio.

Help patches

Each help patch is an ordinary Toy that teaches one idea. The diagram shows the Patch; the preview shows its Frame. Open it in TuneToys to play and edit it.

1. Blend three sources

beginner Teaches: channel.gain, channel.pan, master

Patch: Noise audio output connected to Mixer air.in input. Oscillator “bass” audio output connected to Mixer bass.in input. Oscillator “lead” audio output connected to Mixer lead.in input. Mixer audio output connected to Patch outputs audio input.
Connections as text
  • Noise audio output connected to Mixer air.in input
  • Oscillator “bass” audio output connected to Mixer bass.in input
  • Oscillator “lead” audio output connected to Mixer lead.in input
  • Mixer audio output connected to Patch outputs audio input
Frame preview: Blend three sourcesFrame “Blend three sources” with 5 elements: slider Gain, slider Mute, slider Pan, slider Solo, slider Master.GainMutePanSoloMaster
Frame preview (static). Controls show their default values.

Open in TuneToys

2. A desk with solo and mute

intermediate Teaches: channel.mute, channel.solo

Patch: Noise audio output connected to Mixer air.in input. Oscillator “bass” audio output connected to Mixer bass.in input. Oscillator “lead” audio output connected to Mixer lead.in input. Mixer audio output connected to Patch outputs audio input.
Connections as text
  • Noise audio output connected to Mixer air.in input
  • Oscillator “bass” audio output connected to Mixer bass.in input
  • Oscillator “lead” audio output connected to Mixer lead.in input
  • Mixer audio output connected to Patch outputs audio input
Frame preview: A desk with solo and muteFrame “A desk with solo and mute” with 5 elements: slider Gain, slider Mute, slider Pan, slider Solo, slider Master.GainMutePanSoloMaster
Frame preview (static). Controls show their default values.

Open in TuneToys

  • Crossfade Blend two signals with one balance control: 0 plays A, 1 plays B.
  • Gain A clean stereo gain stage.
  • Send Name a bus and send a signal to it. Every Receive with the same name in this definition hears it.
  • Receive Pick up a named bus without a cable. Its type and width follow whatever drives the Send.

Edit this page on GitHub

esc

↑ ↓ move↩ open⌘↩ new tabesc close