Utility node

Gain

A simple audio level control: one dB knob raises or lowers the volume of the signal running through it, with an inline meter showing the output level.

Download the patchRead it in the Field Guide

The Gain node in Infinite, showing its inputs, controls and outputs.

What it does

Gain is a utility node: it routes signals in and out of Infinite or sets up the canvas. It takes audio in and gives audio out.

Try it

Turn a hot oscillator or sampler down a few dB before it hits a Mixer so it doesn't clip.

Audio SourceGainAudio Out

Inputs and outputs

Inputs

  • audio audio

Outputs

  • audio out

Controls

Every control with a range can be driven by a modulator, a note, an audio level or a sketch.

ControlRange or optionsDefault
gain-60 to 120

Example patch

This patch wires Gain to what it needs and shows the result. Download it, then use File, Open in Infinite, or read it here: it is plain text.

infinite-patch 1
rev 2
# Gain: a starting patch for the Gain node
node 1 Utility Gain
  id node
  pos 520 300
end
node 2 Synths Oscillator
  id in0
  pos 0 300
end
node 3 Utility Audio Out
  id speakers
  pos 1080 300
end
aud node 0 in0
aud speakers 0 node

More utility nodes