Drum sampling · MIDI grid · sample start · amplitude envelope

MIDI Note Is on the Grid, but the Drum Sounds Late? A Sample-Onset Audit

Moving the MIDI note earlier can hide the symptom while leaving the cause unknown. Freeze one four-hit clip, render from identical boundaries, and test the source region, amplitude attack, and downstream path independently before changing musical timing.

Scope: this audit is for one drum or percussive sample that remains late during repeatable MIDI playback or an offline render even though its stored Note On is on the intended grid. If every sound feels late only while you play live, begin with the separate monitoring-latency test. This guide does not prescribe a universal trim length, waveform threshold, MIDI nudge, envelope value, or acceptable millisecond offset. Manufacturer controls below are examples from their official documentation, not a cross-product naming standard. The G/M/O/R coordinates, B0/M/E/P/B1 copies, four-hit ledger, decision table, and stopping rule are an original FingerDrum synthesis of the cited sources.

Short answer: keep the MIDI fixed and find the first layer that moves the audible onset.

Confirm the four Note Ons are on-grid, then render an untouched baseline B0. From that baseline make three independent candidates: M changes only the sample playback-start marker, E changes only the amplitude-envelope attack, and P removes or corrects one documented downstream delay at a time. Restore B1 at the end. If M wins, the delay was inside the chosen source region; if E wins, the envelope softened the beginning; if only P wins, inspect the route. Never stack all three changes and then claim to know which one fixed it.

First prove that the MIDI event is not the moving part

A note rectangle touching a grid line is only one piece of evidence. Open the event list or the finest available piano-roll position display and confirm the stored Note On—not merely the playhead graphic—lands at the intended position. Turn off groove, Swing, random timing, note repeat, arpeggiation, and timing automation for this diagnostic copy. Do not quantize the production clip in place; duplicate it and preserve the reportable failure.

The symptom belongs in this audit only when the same drum is repeatably late during playback or in an export. Use these routing gates before touching the sample:

Route the symptom to the narrowest relevant test.
ObservationStart hereDo not assume
Stored Note On is not on the intended gridCorrect the clip, quantize target, or recording boundary firstThe audio file is late
All sounds feel late only during live pad input; an offline render alignsMonitoring, buffer, connection, and output-route latencyEvery sample needs trimming
One drum remains late in a repeatable render; other sounds alignThis sample-onset auditMove its MIDI earlier
A loop changed after time-stretchingUse the time-stretch transient testOne-shot start is the only variable
A sliced break loses attacks or clicks only at handoffsUse the slice-boundary testThe original file begins late

Build a four-hit clip that survives every comparison unchanged

Create a new one-bar 4/4 clip at a comfortable fixed tempo. Put four equal-velocity, equal-length Note Ons for the suspect drum on beats 1, 2, 3, and 4. On a separate track, place an inspected short reference click at the same four positions. The reference must begin where its visible and audible attack begins; otherwise it only substitutes one unknown sample for another. Keep the two tracks separately renderable, and export every version from the same bar start through the same tail.

Step01 02 03 04 | 05 06 07 08 | 09 10 11 12 | 13 14 15 16
Referencex . . . | x . . . | x . . . | x . . .
Targetx . . . | x . . . | x . . . | x . . .
RoleH1 | H2 | H3 | H4
  1. Freeze events: note number, channel, start, length, velocity, tempo, meter, and clip boundary do not change after B0.
  2. Freeze identity: use one sample layer. If velocity selects different layers or round robins, disable that variation where documented or test each returned file as a separate sample identity.
  3. Freeze gain for diagnosis: keep clip, pad, track, bus, and output gain unchanged. A louder candidate may seem earlier without moving any event.
  4. Keep separate checkpoints: where the host permits, render the instrument dry and the full routed result. Do not compare a dry candidate with a processed baseline.

Write four coordinates instead of one vague “late” label

Zooming into a waveform can create false precision. A file may contain room noise before a stick impact; a kick may have a deliberately soft pre-attack; a stereo channel may begin before the other. Choose the musically intended onset by listening and looking under one fixed zoom and gain. Do not redefine it for the candidate that looks best.

source lead = O − M · render offset = R − G

G is the stored MIDI grid time. M is the sampler’s playback-start marker in source-file coordinates. O is the chosen musical onset in the source file. R is that same audible feature in the rendered timeline. O − M describes audio played before the intended attack; R − G describes the total rendered offset. They are observations, not universal pass limits.

Copy one row per hit for B0 and every retained candidate.
HitG: MIDI startM: source markerO − MR: rendered onsetR − GResult
H1__________________
H2__________________
H3__________________
H4__________________

If the host does not expose sample-accurate coordinates, report the finest honest unit it does expose and use a qualitative result such as unchanged, earlier with attack intact, or earlier but damaged. A threshold crossing is not automatically the musical onset, and a visual measurement should not be reported as greater precision than the display supports.

Candidate M: move only the sample playback-start marker

Official tools make this a real, independent variable. Ableton documents Sample Start and Sample Length in Drum Sampler and a user-defined playback region in Simpler. Apple documents start and end markers in Quick Sampler. These facts do not say where your marker should go; they show why the MIDI event and the audio region can have different starts.

  1. Duplicate B0 to M. Keep the original audio file and all MIDI, envelope, pitch, warp, effect, and gain settings unchanged.
  2. Listen to the source from its current marker to O. Label that span silence/noise, useful pre-attack, or uncertain. Silence detection may provide a candidate, not a verdict.
  3. Move M toward O by the smallest useful amount, preview an isolated hit, then render the same four-hit bar. Never trim beyond the attack merely to make the waveform look aligned.
  4. Reject the candidate if it adds a click, removes the initial transient, changes the intended timbre, or makes H1–H4 inconsistent. A fade can prevent a boundary click but can also soften the very onset under test; record it as another variable.

A passing M result means only that this chosen playback region better aligns this sample under the frozen conditions. It does not prove that the original recording was defective. A breath, flam grace note, room lead-in, or reversed swell may intentionally begin before its main peak; in those cases the musical solution may be to keep the pre-attack and document an intentional placement offset rather than delete it.

Candidate E: restore B0, then change only amplitude attack

Sample start and amplitude attack are not synonyms. Ableton defines Attack as the time for the amplitude envelope to reach its peak after the note is played. Apple likewise defines an amplitude envelope per note and separates an optional Delay before Attack from the Attack stage itself. Akai’s MPC Sample guide describes Attack as how quickly the sound fades in from the sample start point. A marker can therefore be correct while a positive envelope attack makes the beginning quieter and perceptually later.

  1. Return to B0, duplicate it as E, and restore the original sample-start marker.
  2. Record the current envelope type, Delay if present, Attack, velocity-to-envelope modulation, and any sample-layer-specific envelope offset. Do not assume every product exposes all of them.
  3. Set only Attack to the product’s documented minimum or neutral test value. If a separate envelope Delay is nonzero, test that as its own E2 after E; do not zero both at once.
  4. Render H1–H4 again. Keep E only if the intended attack becomes earlier or clearer without a new click, unnatural snap, or changed tail role. Then return Attack to B0 and confirm the symptom returns.

An envelope can change when the sound becomes perceptible without moving the MIDI or sample marker. That is why a simple waveform comparison needs both the dry source and the rendered output. If R stays fixed but the hit merely seems more immediate because E is brighter or louder, label the result perceptual change without measured onset movement; do not rewrite it as a timing correction.

Candidate P: compare dry instrument output with the documented route

Only enter this branch after the stored events, marker, and envelope have been isolated. Ableton documents that device delay compensation normally aligns delays reported by built-in devices and plug-ins, while input-monitored tracks can follow a different low-latency path. The important conclusion is not “effects always make drums late.” It is that playback, monitoring, manual track delay, external hardware, and compensation state are separate route variables.

  1. Restore B0. Render the sampler’s dry output and the normal full route over identical boundaries. If both have the same R − G, stay upstream; downstream bypassing cannot explain the offset.
  2. If dry aligns and the routed result does not, copy to P. Inspect manual track delay, external inserts, routing through returns or groups, latency-compensation state, and each device’s reported latency where the host exposes it.
  3. Change or bypass exactly one documented stage, render again, and restore it. Bypassing an entire chain may locate a region, but it does not identify the device inside it.
  4. Compare playback and offline export separately. A live monitored path may prioritize responsiveness while the compensated playback/render path remains aligned. Report both instead of forcing one setting to stand for both jobs.

Do not “repair” a route by moving every MIDI note earlier. That couples the clip to one present signal path and can make an offline render or a future compensated route early. If an intentional negative placement is ultimately the musical choice, save it as a named arrangement decision only after the technical offset is measured and the unshifted baseline remains available.

Let the first reversible result choose the fix

Evidence table for an on-grid MIDI note with a late-sounding sample.
Repeatable evidenceSupported interpretationNext move
G is wrong before any audio testThe stored event or grid target is wrongFix the clip copy; restart B0
M reduces O − M and R − G; attack and timbre remain intactThe selected source region contained expendable lead audioKeep the non-destructive marker and retest the real groove
M makes the hit earlier but removes a breath, grace, or transientThe lead-in belongs to the soundReject M; preserve the sound and document any intentional placement choice
E improves R or the audible attack; M does notThe amplitude envelope, not source lead, dominated the symptomChoose the smallest envelope change that survives return testing
Dry output aligns; full route is lateA downstream path variable remainsAudit one delay, device, send, group, or external stage at a time
Offline render aligns; only live playing feels lateThis is a monitoring-response problem under the tested routeUse the monitoring-latency guide; restore sample edits
Different velocities produce different R − G valuesVelocity layers or velocity-dependent envelopes may select different source behaviorFreeze one layer, then audit each identity separately
B1 does not reproduce B0The test state was not actually restoredStop; rebuild the baseline before accepting any candidate

Sample-onset questions

Should I trim every drum sample exactly to its first nonzero sample?

No. Nonzero data can be noise, room sound, a deliberate pre-attack, or one stereo channel beginning first. Define the musical onset under fixed gain and zoom, audition the transition, and preserve useful lead-in. There is no universal waveform threshold in this audit.

Can I just drag the MIDI note earlier until it feels right?

That can be an arrangement choice, but it is a poor first diagnostic. It cannot tell whether the offset came from the file, marker, envelope, or route, and it may become early when the sound or processing changes. Keep G fixed until one layer has been identified.

Why use four hits instead of one?

One hit cannot reveal layer alternation, round robin, velocity drift, or an inconsistent render. Four equal events are still small enough to inspect individually. If all four differ despite frozen MIDI, identify the changing sample or modulation state before averaging them.

Does a longer Attack literally move the sample?

Not necessarily. In the cited sampler documentation, Attack shapes how amplitude rises after triggering. The sample can start at the same point while its beginning is attenuated, making the useful attack later or less distinct. Compare the dry source, envelope state, and render rather than treating “late” as one mechanism.

What can I test inside FingerDrum?

In the current codebase, imported or recorded pad sounds have non-destructive start/end trim plus a “Remove Leading Silence” candidate, and sampler instruments expose an Attack control. Treat the automatic suggestion as a candidate: preview it, replay the same pattern, and keep the original source available. FingerDrum does not infer which pre-attack is musically disposable. This product scope was checked against origin/main commit 19b88dec39e797c342ec8a749e1a7c811bad00a7.

Stopping rule

The Note Ons, tempo, velocities, sample identity, gain, and export boundaries stayed fixed; B0 reproduces the reported failure across H1–H4; G/M/O/R use one declared coordinate method; M, E, and P each branch independently from B0; every retained candidate preserves the intended attack and adds no click; B1 recreates B0; and the winner still passes an isolated hit, the four-hit render, and the real groove. Report the narrow result—source-region lead, amplitude-envelope onset, downstream route, monitoring only, or unresolved. Do not call an earlier MIDI nudge a root-cause diagnosis.

Sources and access date

Ableton documents sample-region, Sample Start, and envelope Attack controls as separate parameters, and separately describes device-delay compensation and monitored-path behavior. Apple documents Quick Sampler start/end editing and amplitude envelopes, while its Sampler guide separates envelope Delay from Attack. Akai documents its own Attack control as a fade-in from the sample start. These sources support the layer separation only; none defines the G/M/O/R ledger, B0/M/E/P/B1 sequence, diagnostic table, or stopping rule.

  1. Ableton Live 12 Reference Manual — Live Instrument Reference (accessed October 25, 2026)
  2. Apple Support — Edit and play a single sample with Quick Sampler in Logic Pro for Mac (accessed October 25, 2026)
  3. Apple Logic Pro User Guide — Use Sampler envelopes (accessed October 25, 2026)
  4. Akai Professional — MPC Sample User Guide v1.0 (RevC) (accessed October 25, 2026)
  5. Ableton Live 12 Reference Manual — Working With Instruments and Effects (accessed October 25, 2026)