Prediction node
Predictive Notes
Wire a note chain in and press Learn. It listens (passing the notes through), learns pitches, rhythm, lengths and velocities, then plays on its own in that style. Stray at the bottom replays the phrase, the middle plays in character, and the top ignores what it learned and picks freely. What it learned is saved with the patch.

What it does
Predictive Notes is a prediction node: it guesses where a value or a phrase goes next and drifts around that guess. It takes notes in and gives notes out.
Try it
Play a short phrase, press Learn, and let it improvise a variation.
MIDI NotesPredictive NotesWavetable
Inputs and outputs
Inputs
- notes notes
Outputs
- notes 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 |
|---|---|---|
| stray | 0 to 1 | 0.5 |
| memory | 0 to 8 | 4 |
| length | 0 to 1 | 0.25 |
| velocity | 0 to 1 | 0.25 |
| low | 0 to 127 | 36 |
| high | 0 to 127 | 96 |
Example patch
This patch wires Predictive Notes 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
# Predictive Notes: a starting patch for the Predictive Notes node
node 1 Prediction Predictive Notes
id node
pos 520 300
end
node 2 Notes Random Note Generator
id in0
pos 0 300
end
node 3 Synths Analog
id voice
pos 1080 300
end
node 4 Utility Audio Out
id speakers
pos 1640 300
end
note node 0 in0
note voice 0 node
aud speakers 0 voice