MIDI Gate Length
Reshapes MIDI note duration using a fixed length or an extend-only proportional scale.
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. Live parameter changes apply only to new input; already queued note-offs preserve their computed due time.
Inputs
MIDI In
MIDI message input
| ID | midi |
|---|---|
| Signal | midi · event rate |
| Coercion | Forbidden |
Outputs
MIDI Out
MIDI message output
| ID | midi |
|---|---|
| Signal | midi · event rate |
| Coercion | Forbidden |
Parameters
Mode
Chooses a fixed note length or an extend-only proportional scale.
| ID | mode |
|---|---|
| Type | enum |
| Control | buttons |
| Range or Options | Absolute (absolute), Scale (scale) |
| Default | Scale (scale) |
Length
Sets the fixed note length used by Absolute mode.
| ID | lengthMs |
|---|---|
| Type | float |
| Control | slider |
| Range or Options | 1 to 5000 ms, step 1, log |
| Default | 250 |
Length Scale
Extend-only multiplier for incoming note-offs (minimum 1.0) — live notes are only lengthened, never shortened. To shorten notes, switch Mode to Absolute.
| ID | scale |
|---|---|
| Type | float |
| Control | slider |
| Range or Options | 1 to 4 ratio, step 0.01 |
| Default | 1 |
Details
| 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. |