v0.1Latest

MIDI Encode

MIDI Encode

Assembles separate gate, pitch, and velocity control signals into structured MIDI note events. It is the counterpart to note decoding, letting internally generated modulation and sequencing drive standard MIDI routing. Feed it a gate to start and stop notes with the pitch and velocity sampled at note-on, then route the result to any MIDI destination.

MIDI Encode node screenshot

Inputs

Gate

  • ID: gate
  • Kind: gate
  • Rate: event
  • Coercion: Implicit
  • Description: Gate or trigger source for note on/off generation.

Pitch

  • ID: pitch
  • Kind: control
  • Rate: control
  • Unit: v/oct
  • Coercion: Implicit
  • Description: Pitch in volts-per-octave relative to C4.
  • Default: 0

Velocity

  • ID: velocity
  • Kind: control
  • Rate: control
  • Range: 0 to 1
  • Coercion: Implicit
  • Description: Velocity as a normalized 0-1 control signal.
  • Default: 1

Outputs

MIDI Out

  • ID: midi
  • Kind: midi
  • Rate: event
  • Coercion: Forbidden
  • Description: MIDI message output

Parameters

Channel

  • ID: channel
  • Type: int
  • Control: slider
  • Range or Options: 1 to 16 midiChannel, step 1
  • Default: 1
  • Description: MIDI output channel.

Notes

  • Canonical ID: midi.encode
  • Category: midi
  • Runtime Surface: midi
  • Runtime Targets: control-main-thread
  • JUCE Early Access: Supported
  • Early Access Note: Native-supported in the plugin for the current catalog/runtime support contract.