Synths node

Generate Samples

Makes a sample instead of loading one. Pick a music style (deep house, dub techno, lofi beats and about 30 more), a seed, a length of 1, 2, 4 or 8 bars, and press generate. A private patch built from that style renders a seamless loop on a background thread while the canvas keeps running. Part picks the whole mix or one layer of it from the same seed: synths, pads, plucks, percussion or drums. Variation (0 to 1, default 0.5) sets how far each part strays, the dice picks a new seed, and Follow Transport and Follow Scale take the patch's tempo and key. Every loop is normalised to -14 LUFS with a -1 dB true-peak ceiling. Pitch, Speed, Start, End, Loop, Reverse and Ping-pong then play it like any sample player. Keep as file writes the loop to a WAV. The patch saves the recipe, not the audio. Everyday use: a royalty-free loop or beat made on demand. Also called a loop maker or a beat generator.

Download the patchRead in the manual

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

What it does

Generate Samples is a synth: it turns notes into sound. It takes notes in and gives audio out.

Try it

Pick a dub techno style, set Part to drums and press generate, then keep as file for a WAV.

Piano RollGenerate SamplesAudio Out

Inputs and outputs

Inputs

  • notes notes

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
pitch-24 to 240
finetune-50 to 500
speed-2 to 21
start0 to 10
end0 to 11
position0 to 10
decay0.05 to 102
volume0 to 10.800000012
fade in0 to 2503
fade out0 to 2503
variation0 to 10.5
genBars1 bar, 2 bars, 4 bars, 8 bars2

Example patch

This patch wires Generate Samples 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
# Generate Samples: a starting patch for the Generate Samples node
node 1 Synths Generate Samples
  id node
  pos 520 300
end
node 2 Notes Random Note Generator
  id in0
  pos 0 300
end
node 3 Utility Audio Out
  id speakers
  pos 1080 300
end
note node 0 in0
aud speakers 0 node

More synths nodes