MIDI Input
Receive note and control data from MIDI instruments.
What it does
MIDI Input listens to a MIDI channel and a specific CC (control change) or note number, and streams the live value into the graph as numbers. The value updates continuously as a knob, fader or key moves on a connected controller, with no re-cook step.
Set Input Type to CC to read a knob or fader, or to Note to read a key or pad. Four outputs come out at once: the value mapped to the chosen range, the raw 0–127 MIDI value, note velocity, and a gate that is 1 while a note is held and 0 when released.
When to use it
A hardware MIDI controller (knob, fader, pad, keyboard) driving a parameter live
A specific value range out of a knob: set Range Min/Max and MIDI 0–127 maps straight onto it
On/off logic triggered from a pad or key, from Gate
Velocity-sensitive control from a note, from Velocity
| Parameter | Type | Default |
|---|---|---|
channel | Number | 0 |
number | Number | 1 |
input_type | String | "cc" |
range_min | Number | 0 |
range_max | Number | 1 |
Gotchas
Number selects which CC or note this node listens to (0–127). It is not the output value. Leave Channel at 0 to listen on all channels, or pick 1–16 to isolate one controller.
Velocity and Gate are only meaningful when Input Type is Note. Continuous controllers have no note-on velocity and no held state, so for CC input they carry nothing useful.
Range Min/Max only reshape the Value output. Raw always reports the untouched 0–127 MIDI number, so a downstream node that needs the original MIDI range should take it from Raw rather than Value.
Worked example
Add a MIDI Input node and connect your controller.
Move the knob or fader you want to use, note its CC number, and set Number to match. Set Input Type to CC.
Set Range Min and Range Max to the values you want the knob to sweep between, then wire Value into the parameter you want to drive.
For a pad or key trigger instead, set Input Type to Note and wire Gate into whatever should switch on and off.
See also
OSC Input · DMX Input · MIDI Output · Numbers, signals & audio