Synths node
Sampler
Load a file or record incoming audio, then play it back one-shot or looping (forward, reversed, or ping-pong) with independent pitch, finetune, and varispeed, and two playback lanes — polyphonic (MIDI-driven) and monophonic (free- running).

What it does
Sampler is a synth: it turns notes into sound. It takes notes and audio in and gives audio out.
Try it
Record a vocal phrase via record-in, then trigger it polyphonically from MIDI Notes with pitch mapped per key.
Inputs and outputs
Inputs
- notes notes
- audio record in
Outputs
- audio out
Controls
Every control with a range can be driven by a modulator, a note, an audio level or a sketch.
| Control | Range or options | Default |
|---|---|---|
| pitch | -24 to 24 | 0 |
| finetune | -50 to 50 | 0 |
| speed | -2 to 2 | 1 |
| start | 0 to 1 | 0 |
| end | 0 to 1 | 1 |
| position | 0 to 1 | 0 |
| decay | 0.05 to 10 | 2 |
| volume | 0 to 1 | 0.800000012 |
| fade in | 0 to 250 | 3 |
| fade out | 0 to 250 | 3 |
Example patch
This patch wires Sampler 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
# Sampler: a starting patch for the Sampler node
node 1 Synths Sampler
id node
pos 520 300
end
node 2 Notes Random Note Generator
id in0
pos 0 220
end
node 3 Synths Oscillator
id in1
pos 0 510
end
node 4 Utility Audio Out
id speakers
pos 1080 300
end
note node 0 in0
aud node 1 in1
aud speakers 0 node