Select lanes

Extract a contiguous lane range from a control bundle. Use several to split a sensor's lanes.

  • Control
  • Since 0.2.0
  • lanes
  • select
  • split
  • bundle

Open in TuneToys

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

Select lanes extracts a contiguous range of lanes from a control bundle. Use several to split a sensor's lanes apart.

What it does#

Selection is set in the node's configuration, not by a knob, in the same way as Select channels for audio: the first lane to keep (counting from 1) and the number of lanes to keep. The kept lanes become the output, in order, and a range that falls outside the incoming bundle is rejected. The node has no parameters.

When to use it#

Use it to pull one lane out of a multi-lane source, such as one band of Band energies or the gate of a MIDI-to-control bundle, or place several side by side to split a bundle into separate paths. To rejoin lanes use Combine lanes.

Ports#

PortDirectionSignalLanes
controlInputControlInferred from the cable
controlOutputControlInferred from the cable

Parameters#

This node has no numeric parameters.

Tips#

  • To split a bundle completely, use one Select lanes node per lane.
  • A destination that expects one lane needs a single-lane selection.

See also#

Combine lanes, Constant, Select channels, Cables.

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. Pick one lane from a bundle

beginner Teaches: cables

A three-lane constant is reduced to its second lane.

Patch: Oscillator audio output connected to Patch outputs audio input. Constant control output connected to Select lanes control input.
Connections as text
  • Oscillator audio output connected to Patch outputs audio input
  • Constant control output connected to Select lanes control input
  • The constant has three lanes. Select lanes keeps lane 2 only.
  • The range is set in the node's lane configuration, not by a knob.
Frame preview: Pick one lane from a bundleFrame “Pick one lane from a bundle” with 2 elements: text heading, knob Value 2.PICK ONE LANE FROM A BUNDLE0.6Value 2
Frame preview (static). Controls show their default values.

Open in TuneToys

  • Combine lanes Concatenate two control bundles, preserving every lane without mixing.
  • Constant A fixed control vector of up to eight lanes, set in the inspector. The number box of the control domain.
  • Select channels Extract a contiguous channel range. Use several selectors to split a bundle.

Edit this page on GitHub

esc

↑ ↓ move↩ open⌘↩ new tabesc close