MidiInput
ControlHardware MIDI input translated into native notes_out plus auxiliary control lanes.
Connects to a MIDI input device and emits notes_out as the canonical internal note stream for synth notes_in ports. It also provides note/velocity/gate as scalar convenience signals and auxiliary lane arrays (up to 16 held notes), plus pitch bend, mod wheel, a learnable CC value, and per-note expression lanes. poly_shared broadcasts shared expression to all notes, while mpe_lower and mpe_upper route per-channel expression to individual note lanes for MPE controllers.
Tips
- Use notes_out -> notes_in for the default synth path; add NoteBreakout only when you need shared per-voice control lanes.
- Use mpe_lower or mpe_upper mode with an MPE controller for per-note expression.
Parameters
| Name | Type | Range | Default | Description |
|---|---|---|---|---|
| channel | MIDI channel filter. 0 = omni (all channels). | |||
| mode | Expression routing mode: poly_shared (broadcast), mpe_lower (manager ch1, members ch2-15), mpe_upper (manager ch16, members ch15-2). |
Outputs
| Name | Type | Description |
|---|---|---|
| note | scalar | Latest MIDI note number (0-127). |
| velocity | scalar | Latest velocity (0-1). |
| gate | scalar | 1 if any notes held, 0 otherwise. |
| trigger | scalar | 1 on note-on frame, 0 otherwise. |
| pitch_bend | scalar | Global pitch bend (-1 to 1). |
| mod_wheel | scalar | CC1 mod wheel (0-1). |
| cc_value | scalar | Learnable CC value (0-1). |
| notes | lane_array | Held note numbers as lane array. |
| velocities | lane_array | Per-note velocities (0-1). |
| gates | lane_array | Per-note gates (always 1 for held notes). |
| notes_out | custom | Native note stream for downstream synth notes_in ports. |
| aftertouch | scalar | Channel aftertouch (0-1). |
| expression | scalar | CC11 expression (0-1). |
| lane_ids | lane_array | Stable identity token per active note. |
| pitch_bends | lane_array | Per-note pitch bend (-1 to 1). |
| pressures | lane_array | Per-note pressure (0-1). |
| slides | lane_array | Per-note slide/CC74 (0-1). |
| expressions | lane_array | Per-note expression/CC11 (0-1). |
| channels | lane_array | Per-note MIDI channel (1-16). |
Related Operators