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).

Download the patchRead it in the Field Guide

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

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.

MIDI NotesSamplerAudio Out

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.

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

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

More synths nodes