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.

Download the patchRead it in the Field Guide

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

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.

ControlRange or optionsDefault
stray0 to 10.5
memory0 to 84
length0 to 10.25
velocity0 to 10.25
low0 to 12736
high0 to 12796

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

More prediction nodes