How MIDI CC 4 Controls Variable Hi-Hat Articulation
In digital music production and electronic drumming, MIDI Continuous Controller 4 (CC 4) serves as the standard parameter for representing the continuous physical position of a hi-hat pedal. Rather than treating the hi-hat as a simple two-state switch between open and closed, CC 4 streams a dynamic spectrum of values that allows virtual instruments and drum modules to recreate the nuanced acoustic transition across the cymbal's entire physical range. This article explains how CC 4 transmits pedal data, how drum samplers interpret these values across dynamic layers, and how real-time continuous control affects sound sustain and choke behavior.
The Role of CC 4 as a Continuous Controller
Standard MIDI protocols designate CC 4 as the "Foot Controller." In modern drum modules (e-kits) and virtual instruments (VSTs), this message is assigned to the optical or potentiometer-based sensor within the hi-hat stand.
Unlike note-on messages—which simply state that a cymbal was hit and at what velocity—CC 4 operates independently as a stream of position data using the standard 7-bit MIDI range from 0 to 127.
By default, the values correspond to the physical distance between the top and bottom hi-hat cymbals:
- Value 0: Fully open (foot completely off the pedal).
- Values 1–126: The variable transition zone, encompassing loose open, half-open, semi-closed, and closed states.
- Value 127: Fully closed (maximum downward pedal pressure).
Multi-Zone Sample Selection and Crossfading
Acoustic hi-hats do not produce discrete, stepping sounds as they open; the decay length, harmonic resonance, and contact friction shift smoothly. Sound engines replicate this reality using the CC 4 data in two primary ways:
- Velocity-to-Pedal Layer Matrix: When a drum pad sends a strike note (such as the hi-hat bow or edge note), the sound engine references the most recently received CC 4 value before selecting an audio file. The engine consults a matrix combining the hit's velocity and the pedal's current CC 4 value to choose among multiple distinct recorded states (e.g., Closed, Loose, 25% Open, 50% Open, 75% Open, Full Open).
- Dynamic Crossfading: High-end drum libraries do not abruptly jump between these recorded zones. Instead, they use CC 4 thresholds to smoothly blend adjacent sample layers. If a strike occurs at CC 4 value 64, the engine can trigger a mix of the 50% open and 75% open sample layers, creating a seamless gradient without audible phase cancellation or abrupt tonal shifts.
Post-Strike Modulation and Dynamic Choking
The variable nature of CC 4 extends beyond the moment a cymbal is struck. Because CC 4 messages are transmitted continuously, changes in foot position alter already ringing samples in real time.
- Hi-Hat Choking: If an open hi-hat strike occurs while CC 4 is at 0, the open sample rings out. If the player presses the pedal immediately after the hit, the CC 4 value climbs rapidly toward 127. The sampler responds by applying an immediate volume envelope decay and blending in the contact sound of the two cymbals touching, dynamically shortening the sustain.
- Sizzle and Slosh Modulation: Moving the foot slightly between values 90 and 120 while a cymbal is ringing modulates the internal filters and release envelopes of the sample, replicating the buzzing "sizzle" of cymbals lightly brushing against one another.
High-Pressure "Tight" Articulations
Advanced electronic hi-hat controllers utilize the upper boundary of CC 4 (values 120 to 127) to measure pedal pressure. When a drummer presses firmly into the pedal, an acoustic hi-hat clamps tightly, resulting in an ultra-short, pitch-shifted, and dry "tight closed" sound. By dedicating the uppermost range of CC 4 to this extra pressure, virtual instruments can automatically alternate between standard closed hits and hyper-damped closed hits based purely on the force applied by the player's foot.