How Arpeggiator Swing Creates Triplet Offsets in MIDI
Arpeggiator swing settings transform rigid, computer-quantized MIDI sequences into rhythmic, humanized grooves by delaying alternating notes to mirror triplet timing. By adjusting the temporal placement of off-beat subdivisions, swing settings systematically bridge the mathematical gap between straight binary rhythms and ternary subdivisions. Understanding how this delay functions allows producers to dial in precise shuffle feels, convert standard duple meters into swung triplet frameworks, and introduce dynamic pocket into electronic sequences.
The Physics of the Straight MIDI Grid
In standard quantized MIDI, notes are distributed evenly across a measure. When an arpeggiator is set to a straight division—such as 1/8 or 1/16 notes—each step occupies an equal amount of time. In a straight 1/16-note pattern, each note represents exactly 25% of a quarter-note beat, creating a static 50/50 division of time between adjacent note pairs. While this ensures tight rhythmic accuracy, it produces a mechanical cadence devoid of natural rhythmic elasticity.
How Swing Manipulates Note Timing
Swing settings alter this symmetry by shifting the timing of every even-numbered step (the off-beats: 2, 4, 6, and so on) while leaving the odd-numbered steps (the downbeats: 1, 3, 5) anchored to the master clock.
Instead of generating new notes or changing the master tempo, the arpeggiator's swing parameter delays the trigger point (the Note-On message) of the even notes by a specified percentage or tick offset. The duration of the odd note is proportionally extended until the delayed note triggers, preserving the overall loop length and metric integrity.
The Mathematical Connection to Triplets
Triplets divide a beat into three equal intervals instead of two or four. In musical terms, a classic "shuffle" or heavy swing relies on an 8th-note or 16th-note triplet feel, where a beat is broken down into a 2:1 ratio (the first note receives two-thirds of the beat's duration, and the second note receives one-third).
Arpeggiators reproduce this relationship mathematically through their swing percentages:
- 50% Swing (Straight): The beat is divided equally. The first note occupies 50% of the space, and the second note triggers at the 50% mark.
- Between 51% and 65% Swing: Subtle groove to moderate bounce, common in hip-hop and house music.
- 66.6% (or 67%) Swing (Exact Triplet): The off-beat note is delayed until it triggers at roughly 66.6% of the grid interval.
At approximately 66.7%, the arpeggiated note lands on the third subdivision of a triplet group. This effectively turns a straight 1/16-note arpeggio into an 1/8-note triplet framework (sextuplets), where the middle note of the triplet is silent, and the third note is triggered, mimicking a true compound-meter shuffle.
Pulse-Width and Tick Offsets
Digital Audio Workstations (DAWs) and hardware MIDI arpeggiators calculate this displacement using PPQN (Pulses Per Quarter Note). A standard clock might operate at 960 PPQN. In this environment:
- A straight 16th note lands every 240 ticks.
- An 8th-note triplet grid places notes at intervals of 320 ticks (960 / 3).
- To achieve a full triplet offset on a 16th-note sequence, the arpeggiator delays the second 16th note by 80 ticks (shifting it from tick 240 to tick 320).
By dynamically modifying PPQN trigger locations, arpeggiator swing settings continuously slide quantized MIDI steps between binary rigidity and ternary triplet syncopation.