v0.1Latest

MIDI Gate Length

MIDI Gate Length

Reshapes the duration of incoming MIDI notes by controlling when their note-offs occur. Absolute mode enforces a fixed gate length regardless of how long the key is held, giving uniform note durations. Scale mode is causal and extends incoming note-offs proportionally, lengthening notes without ever shortening one that is still being played live.

MIDI Gate Length node screenshot

Inputs

MIDI In

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

Outputs

MIDI Out

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

Parameters

Mode

  • ID: mode
  • Type: enum
  • Control: buttons
  • Range or Options: Absolute (absolute), Scale (scale)
  • Default: Scale (scale)

Length

  • ID: lengthMs
  • Type: float
  • Control: slider
  • Range or Options: 1 to 5000 ms, step 1, log
  • Default: 250
  • Description: Fixed note length used by absolute mode

Length Scale

  • ID: scale
  • Type: float
  • Control: slider
  • Range or Options: 1 to 4 ratio, step 0.01
  • Default: 1
  • Description: Extend-only multiplier for incoming note-offs (minimum 1.0) — live notes are only lengthened, never shortened. To shorten notes, switch Mode to Absolute.

Notes

  • Canonical ID: midi.gateLength
  • 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.