How can you tell whether MIDI kept your swing?
Measure the offbeat between two downbeats. In nine Noteline MP3 tests, a 67% source offbeat exported at 66.67% even though the MIDI tempo tag read 150 BPM on a 100 BPM phrase.
What did the MP3 test hold fixed?
The source had eight 600 ms beats and 16 pitched notes. The first downbeat began 240 ms after the file start. Each beat contained a downbeat and one offbeat, with the same pitch sequence in every file. The first four events were A4, C5, B4 and D5. Every note lasted 86 ms at the same programmed peak of −12 dBFS. We rendered mono 44.1 kHz PCM and encoded each version as a 128 kbps MP3 using the same encoder.
Only the offbeat moved. Across the nine MP3s it sat 300, 324, 342, 360, 378, 402, 420, 450 or 480 ms after the downbeat. An 80% offbeat leaves 120 ms before the next downbeat. With an 86 ms note, there were still 34 ms of silence before that next note. Even the strongest swing case used isolated notes, so a pair could not overlap and hide a weak onset.

To score the export, we matched each reference by MIDI pitch and nearest unused onset within 80 ms. The files returned 144 matches across 144 reference notes and zero extra notes. In each file we measured seven offbeat positions using the following downbeat for the denominator. The eighth offbeat was still checked for its pitch and onset, but there was no ninth downbeat to complete its timing ratio.
How much swing stayed in the exported MIDI?
The 54%, 57% and 60% MP3s came out at 53.299%, 56.597% and 59.896%, respectively. Their source offbeats moved 24, 42 and 60 ms later than the straight version. All three still exported distinctly later than the halfway point, even with timings read back from MIDI ticks. The 54% case lost about 0.70 percentage points of swing, while the 60% case lost about 0.10.
At 63% the first three exported starts were 235.417, 605.208 and 835.417 ms. From the first exported start to the offbeat is 369.791 ms, and the two exported downbeats are 600 ms apart. That gives 61.632%. In the source the same offbeat started at 618 ms. The first downbeat moved 4.583 ms early while the offbeat moved 12.792 ms early, accounting for the largest ratio difference of the nine settings.
All seven measured beats in the 75% file returned exactly 75.000%. The 80% file returned 79.861% on all seven. Moving the offbeat later did not force the notes onto equally spaced eighths, even at the strongest tested placement. The 70% case had small variation between pairs, from 69.971% to 70.117%, so the CSV gives individual onsets as well as the reported mean.

The source quarter-note grid stayed at 100 BPM throughout, but the exports contained 200, 143, 150 or 120 BPM. On the straight input the onsets landed at 235, 535 and 835 ms and the tag was 200 BPM. The 300 ms spacing there was an eighth note by design. On the 67% input the equivalent intervals in the first beat were 400 and 200 ms despite a 150 BPM tag. Neither change in the tempo field by itself describes a loss of the long-short relationship.

How do you check a clip in your own editor?
Open the straight and swung samples on the Noteline homepage to compare their original timing. Import the resulting MIDI into an empty clip with quantization and any groove preset turned off. Start with three notes you can identify in the recording and on the piano roll. In the swung sample those three events are a downbeat, the later offbeat, and the next downbeat. You can use ticks if all three are in the same tempo segment or work in milliseconds.
For beat-by-beat comparison, subtract the first downbeat from the offbeat and divide by the distance between the two downbeats. The 67% example uses the exported starts 235, 635 and 835 ms. Subtracting 235 from both later starts gives a 400 ms numerator and a 600 ms denominator. An import that starts the clip at a different offset still gives the same fraction when the same offset is applied to all three notes.
Repeat the check later in the phrase. If the two downbeats span a different length every time, read the offbeat share separately from drift against your editor’s fixed grid. The test for MIDI drifting from a fixed beat grid shows how to compare that other error against the original audio before moving individual notes by hand.
Should I quantize a swung MIDI file before checking it?
Check the unedited note starts first. Applying straight quantization before the comparison can erase the timing you are trying to verify. If you want a more even groove afterwards, work on a copy and compare the same three notes before and after applying it. Use a section with clear attacks and two identifiable downbeats. If an offbeat is missing altogether, record the missing pitch before attempting to measure the ratio.
Does this test cover a drummer playing a full mix?
The measurements cover a single synthetic pitched line with no drum sounds, chord overlap or changing tempo. Use the files to check the procedure, then repeat it on a clear phrase from your own recording. On dense audio, compare note detection before interpreting any difference in the groove. A stable ratio in a short controlled phrase gives you a reference for what to inspect, and a real recording can still need note edits.
Which files can you use to reproduce the timing check?
| Input offbeat | MIDI offbeat | Files |
|---|---|---|
| 50% | 50.000% | MP3 / MIDI |
| 54% | 53.299% | MP3 / MIDI |
| 57% | 56.597% | MP3 / MIDI |
| 60% | 59.896% | MP3 / MIDI |
| 63% | 61.632% | MP3 / MIDI |
| 67% | 66.667% | MP3 / MIDI |
| 70% | 70.010% | MP3 / MIDI |
| 75% | 75.000% | MP3 / MIDI |
| 80% | 79.861% | MP3 / MIDI |
Download the audio reference CSV and note-by-note MIDI CSV to inspect every event.