Amplitude, not pitch
Audio to MIDI: tremolo splits one note.
A held A4 with a 5 Hz tremolo comes back as 16 separate MIDI 69 events — every pitch correct, every start time wrong.
The split starts at a tremolo depth of 0.94 and stops again above 6 Hz, where the gaps get too short for the analysis grid to land in.
🔒 The selected audio is decoded in your browser; it is not uploaded to a server.
The reason
The detector has one gate and it measures loudness, so a dip in loudness looks like silence.
Tremolo is amplitude modulation: the note keeps its pitch and only its envelope pulses. On a score that is one long note with a repeat mark. In this converter it is a different shape entirely, and the cause is a single line of arithmetic.
Nothing about the note changed; only the level did. The pitch estimate is stable through the whole pulse, so every event carries the same MIDI number. What moves is loudness, and loudness is what the gate reads.
Every 5.8 ms the detector takes a window of 1,024 samples (23.2 ms at 44.1 kHz) and computes one number for it: the root-mean-square level. If that number is below a fixed threshold, the window is marked as silence — no pitch is estimated, no note continues. The thresholds are 0.009, 0.015 and 0.023 for the three sensitivity settings. A tremolo, by definition, drives the level up and down, so a deep enough tremolo pushes some of those windows under the line. The detector is not confused about the pitch; it is told, correctly by its own rule, that the note stopped.
When the low windows come back above the threshold, a new note begins. Since the pitch never moved, that new note has the same pitch as the old one. The result is a row of identical notes with gaps between them — the musical opposite of what a tremolo means.
This is not a tuning problem and it is not a model quality problem. The converter's MIDI writer emits note-on and note-off events only — its event bytes are 0x90 and 0x80, and there is no 0xE0 pitch-bend message anywhere in the file. Amplitude shape has no place to be stored even if it were measured. The only expressive dimension the writer has is velocity, and velocity is set once per note from the loudest window in that note — so the pulse itself is flattened away even when the note survives.
Measured
The split begins at a depth of 0.94, and it is not gradual.
Tremolo depth here is the standard modulation index m: the envelope is peak × (1 + m cos 2πfm t). At m = 0 the note is steady; at m = 1 the envelope touches zero twice per cycle. Everything below used a 440 Hz tone with three harmonics, a peak amplitude of 0.32, and a modulation rate of 5 Hz, run through the production detector at the Balanced setting.
| Depth m | Lowest window RMS | Windows under 0.015 | Notes written |
|---|---|---|---|
| 0.90 | 0.02193 | 0 of 419 | 1 |
| 0.92 | 0.01844 | 0 of 419 | 1 |
| 0.938 | 0.01533 | 0 of 419 | 1 |
| 0.940 | 0.01499 | 1 of 419 | 3 |
| 0.944 | 0.01430 | 8 of 419 | 9 |
| 0.948 | 0.01362 | 15 of 419 | 13 |
| 0.960 | 0.01158 | 20 of 419 | 13 |
The last row that returns a single note is 0.938. One step deeper, at 0.940, the lowest window reads 0.01499 — three ten-thousandths under the 0.015 threshold — and the output jumps straight to three notes. From there it climbs to thirteen and stays there. So the boundary is not a gentle degradation; it is a threshold crossing, and the crossing point is the note's own absolute level, not the depth as a fraction.
That distinction matters because the depth is the number a musician would think in. The converter does not care about the ratio. Holding m at 0.95 and raising the peak amplitude moves the same tremolo from thirteen notes to one, because the dip is now shallow in absolute terms:
| Peak amplitude | Lowest window RMS (predicted) | Measured | Notes |
|---|---|---|---|
| 0.24 | 0.00972 | 0.00996 | 13 |
| 0.32 | 0.01296 | 0.01328 | 13 |
| 0.40 | 0.01621 | 0.01660 | 1 |
| 0.48 | 0.01945 | 0.01991 | 1 |
The predicted column is peak × (1−m) × 0.8103, where 0.8103 is the ratio between a window's RMS and its peak for this three-harmonic waveform. It lands within 2.5% of every measured value. A quieter take therefore breaks up earlier at the same tremolo depth, and a hotter one survives. The quiet-notes measurement found the same absolute floor from the other direction, when only one note in a phrase was turned down.
The upper limit
Above about 6 Hz the tremolo survives, because the gaps are too short to sample.
The counter-intuitive part is what happens at faster tremolo. A faster tremolo creates more dips, so if the split were simply "count the dips" you would expect more notes. Measured, the opposite happens: the note count peaks around 5.3 Hz and then collapses, and from 6 Hz upward the output is a single note again.
| Rate | Notes written | Dip width | Dip width in grid steps |
|---|---|---|---|
| 2 Hz | 9 | 46 ms | 7.9 |
| 4 Hz | 17 | 23 ms | 4.0 |
| 5 Hz | 21 | 18 ms | 3.2 |
| 5.5 Hz | 15 | 17 ms | 2.9 |
| 6 Hz | 1 | 15 ms | 2.6 |
| 10 Hz | 1 | 9 ms | 1.6 |
The reason is the step size, not the window size. The analysis window advances in hops of 256 samples — 5.8 ms — and each hop is scored once. A dip only produces a silent window if at least one hop lands inside it. As the tremolo gets faster the dip gets narrower in milliseconds, and once it is roughly as narrow as one hop the grid starts to straddle it. The measured behaviour is consistent with that: every rate that still split had a dip at least two hops wide, and every rate that came back as one note had a dip under about 2.6 hops.
This is the same arithmetic that governs note gaps elsewhere on this site, applied to an envelope instead of a rest. The note-gap measurement found that two adjacent notes need at least one window of silence between them for the cut to be made; here the "silence" is manufactured by the tremolo itself, and the same one-window rule decides whether it registers.
What this means
A real tremolo usually survives, and a synth one usually does not.
Depth 0.94 is extreme. It means the envelope falls to six percent of its peak twice per cycle — within half a decibel of complete silence. Hand tremolo on a guitar, bow tremolo on a violin, and the amplitude wobble of a sustained sung note sit far below that. At m = 0.80 the same 5 Hz tremolo returned a single note at every pitch tested from MIDI 57 to 72.
So the practical rule is narrow but worth knowing. If your take converted into a row of identical short notes, the tremolo that did it was not expressive playing — it was a modulation deep enough to touch the noise floor. Sources that behave that way include a synthesiser tremolo effect turned near maximum, a sampled instrument with an aggressive auto-pan or gate, or a part that has been squashed by a compressor until the gaps between notes are the only thing left. None of those are pitch problems, so tuning, transposing, or re-recording the same part will not change the result.
Two settings change where the line sits. The sensitivity control raises or lowers the level threshold, and so moves the depth at which the split starts: at 5 Hz and a peak of 0.32, the Balanced setting split from m = 0.940 while the most sensitive setting split from 0.90 and the least sensitive only from 0.98. And because the gate is absolute, turning the whole file up is often more effective than any of that — 0.32 to 0.40 was enough to turn thirteen notes back into one in the table above.
What you get back is never a bent or pulsing note. The writer has note-on and note-off only, so the closest the output can come to a tremolo is a row of repeated notes at one pitch, which some DAWs can turn into a tremolo again with a quantise and a join. If you need the pulse preserved as a curve, that has to happen after conversion, on the velocity lane.
Limits
What these numbers do not cover.
The limit of this test. Every figure here comes from a synthesised tone: three harmonics, no noise, no room, one pitch at a time, 44.1 kHz mono. A real tremolo moves the level and the spectrum at once, and a real recording carries room tone and bow or pick noise in the gaps, which raises the low windows and makes the split less likely, not more. So treat 0.94 as the boundary for a clean synthetic signal at these exact levels, not as a threshold you can read off your own recording. The absolute figures also move with the device sample rate, because the window length in milliseconds is fixed while the rate is not — that is measured separately on the sample-rate page. And no real instrument was recorded for this test; the depth values were chosen to bracket the boundary, not sampled from playing.
Reproduction. node run-tremolo-v2-1205.js regenerates the depth sweep, the rate sweep and the amplitude table; node run-tremolo-mech-1205.js prints the per-window RMS series and the dip-width arithmetic quoted above; node run-tremolo-window-1205.js locates the upper boundary at 0.05 Hz resolution. All three read the detector out of the production converter.js through detector-from-live.js (sha256 77a9dd6b, 8,069 B) rather than re-implementing it, and print that hash before any number. Raw output: localmidi-private/logs/tremolo-v2-2026-12-05.txt, tremolo-mech-2026-12-05.txt, tremolo-window-2026-12-05.json.
Related readings
Other ways one note becomes several.
The beating page covers a split caused by two pitches a hertz or two apart, where the level dips without anyone asking it to. The trill page is the opposite failure: two real pitches alternating so fast that they merge into one. And the DC-offset page shows the gate misfiring on silence rather than on a note, which adds phantom notes instead of splitting real ones.
FAQ
Tremolo and audio to MIDI
Why did one held note come back as sixteen notes?
Because the note's level pulsed below the detector's silence threshold. The detector scores each 23.2 ms window for loudness before it looks for pitch, and any window under 0.015 (at the Balanced setting) is treated as silence, which ends the current note. When the level came back up, a new note started at the same pitch. Measured on a 5 Hz tremolo at depth 0.95, one 3-second A4 became 16 events, all MIDI 69, most about 191 ms long.
How deep does a tremolo have to be to cause this?
At a peak amplitude of 0.32 and 5 Hz, the split starts between 0.938 and 0.940 on a 0-to-1 depth scale — the envelope has to fall to about six percent of its peak. That is a very aggressive modulation, close to a gate chopping the note rather than a player adding expression. At depth 0.80 the same tremolo stayed a single note at every pitch from MIDI 57 to 72.
Why does a faster tremolo stop splitting the note?
Because the analysis grid samples the envelope every 5.8 ms. A faster tremolo makes each dip narrower in milliseconds, and once a dip is about as narrow as one grid step the sampling misses it entirely. Measured, every rate up to 5.5 Hz split the note and every rate from 6 Hz up returned a single note, with the dip shrinking from 46 ms at 2 Hz to 15 ms at 6 Hz.
Does turning up the volume help?
It can, and more reliably than the sensitivity slider, because the gate is an absolute level rather than a ratio. With the depth held at 0.95, a peak of 0.32 produced thirteen notes and a peak of 0.40 produced one. The trouble is that raising the whole file also raises whatever noise sits in the gaps, so it is a fix for a synthetic tremolo more than for a noisy recording.
Is a tremolo ever written as a pitch bend or a modulation curve?
Not by this converter. Its MIDI writer emits only note-on (0x90) and note-off (0x80) events; there is no pitch-bend message and no controller lane in the output, so amplitude shape has nowhere to be stored. Velocity is written once per note from the loudest window in it, which flattens the pulse even when the note itself survives intact.
My recording has tremolo but the notes came out fine. Is that expected?
Yes, and it is the common case. Expressive tremolo on a guitar or violin rarely reaches the depth needed to touch the gate, so it is simply averaged away and you get one note with one velocity. The split is a symptom of modulation that is close to gating, not of tremolo as a technique.