MP3 to MIDI with reverb: what to check when no notes are detected
A “no notes” result is not a successful silent MIDI export. First check audio decoding,model loading and inference; if those completed but no usable events remain,there is no note file to fix. Keep the original,then compare a short isolated dry phrase under the same settings. Our newly constructed dry/artificial-tail pair returned eight usable notes versus none,but this does not establish why the processed case failed or how ordinary room reverb behaves.
Try your MP3 · Inspect the retained empty-result report
Execution and audit: on23November2026 Beijing time,we ran two new CLI transcriptions; the artificial-tail case threw “No notes”. A second new instrumented run of that same input retained the empty-result details. These used production worker operations with FFmpeg decoding instead of browser WebAudio. No online browser run is claimed. The November23 comparison covers the observed ten result pages and their readable answers; whole-article30% reader-information increment remains unverified.
Diagnose the stage before trying a repair
When a reverberant MP3 returns no usable notes, separate an input or model-loading failure from an empty transcription before changing the MIDI. Check whether the audio decoded, whether the model resources loaded, and whether inference produced data. If those completed but the usable-event list is empty and the tool created no MIDI, there is no successful note export to audition or repair. Keep the original file, then test a short, isolated dry phrase with the same settings as a diagnostic reference. A dry reference succeeding while the processed version fails narrows the problem to the changed input under that setup; it does not prove which internal detector rule caused it. Do not invent a blank MIDI download or solve it by deleting supposed late notes that were never exported.
- If the file cannot be decoded,check the actual format/codec and error. This is different from a completed transcription with no usable notes.
- If the model cannot load,record the failed resource or network error. Do not label that an audio-recognition failure.
- If inference completes but returns an empty usable-event list,retain that outcome. Use an isolated dry reference at unchanged settings to compare inputs before making detector claims.
- If a real MIDI file exists but has late notes,compare those specific events with the source. That is a different branch from our empty processed result; our processed case supplies no exported late-note table.
What each diagnostic result lets you do next
Choose the next action from the last stage that actually completed. A progress indicator or an HTTP success response alone does not establish that usable notes were produced.
- No decoded audio: retain the decoder error and verify the actual codec in a copy of the source. Do not change note-detection thresholds to repair a decode failure; the detector has not yet received the expected audio. A filename ending in MP3 is not evidence that decoding succeeded.
- Audio decoded, model loading failed: retain the failed resource URL and status when the tool provides them. A loading/network failure is a different branch from an empty transcription. Restore the required resources before treating a second attempt as an audio-content comparison. Successful resource requests alone still do not establish successful inference.
- Inference returned data, but the usable-note list is empty: preserve that distinction in the result. Prediction rows are not an exported note count. If the tool did not create a MIDI, report no export; do not relabel the failure as a successful silent download. If another tool actually writes an empty MIDI, inspect that file separately instead of assuming it has our adapter's behavior.
- A MIDI exists, but playback is silent: first inspect whether the file contains note events and whether the receiving track has an instrument and usable routing. Do not call it an empty transcription merely because you hear nothing. If real note events extend too late, compare their boundaries with the source; late-note cleanup requires those actual events and cannot repair a file that was never exported.
- A dry reference works and the processed input does not: keep the converter settings fixed and retain both outcomes. This comparison supports an input-dependent difference for that setup, not a diagnosis of the model's internal cause. If both fail upstream, repair that shared failure before using the pair to judge the processed input. If the tool exposes no stage details, record the last observable stage as unknown rather than inventing its internal state.
The changed input here alters waveform and level together. Neither this decision path nor the retained pair establishes a de-reverb remedy, a threshold recommendation, a minimum input level or a general success rate.
Exactly what we put in
Both new sources are six-second44,100Hz mono16-bit WAVs encoded to128kbit/s MP3. The dry source contains eight196Hz sine bursts starting0.35seconds and every0.5seconds thereafter. Each burst lasts0.3seconds with5ms attack,25ms release and coefficient0.2. The last authored attack is3.85seconds and the dry burst ends at4.15seconds.
The processed source sums delayed copies of the dry waveform. Delays are0,0.08,…,0.88seconds,with weights1,0.38,0.28,0.20,0.14,0.10,0.07,0.05,0.035,0.025,0.018,0.012. This is a sparse artificial multi-tap tail—not a measured room response,not a commercial reverb preset,and not an isolated test of one causal factor. It changes waveform and level together. The authored support ends at5.03seconds; quantized WAV last nonzero samples are4.149977324seconds dry and5.029818594seconds processed. These WAV measurements do not assert the MP3 decoder has an identical silence boundary.
Both MP3s are97,009bytes and decode to6seconds. Their hashes differ. Dry and processed quantized WAV peaks are0.1999816895 and0.2302856445 respectively. No sample saturated in source generation. Equal file lengths do not imply equivalent audio.
What actually succeeded and failed
The fresh dry run exported a150-byte MIDI containing eight key55 notes. BasicPitch1.0.1,TensorFlow.js WASM3.21.0,onsetThreshold0.5,frameThreshold0.3,minNoteFrames11 and22,050Hz model input were used. The first processed run reached the adapter’s empty-list check and threw “No notes”; no MIDI was retained. We did not invent an empty MIDI for it.
The instrumented fresh processed rerun decoded6seconds,loaded model.json174,537bytes and model weights742,392bytes withHTTP200,and collected516frame rows and516onset rows before the final usable-note list was found empty. Those row counts confirm data was returned by inference; they are not516detected notes. The failure report records zero usable notes and no MIDI export. It does not identify the internal cause. No threshold sweep or claimed accuracy rate was performed.
All eight actual dry-export events
| Event | Key | Start tick | Duration ticks | End tick | Velocity |
|---|---|---|---|---|---|
| 1 | 55 | 368 | 256 | 624 | 73 |
| 2 | 55 | 847 | 245 | 1092 | 74 |
| 3 | 55 | 1326 | 279 | 1605 | 69 |
| 4 | 55 | 1817 | 246 | 2063 | 72 |
| 5 | 55 | 2286 | 256 | 2542 | 73 |
| 6 | 55 | 2765 | 256 | 3021 | 73 |
| 7 | 55 | 3256 | 245 | 3501 | 74 |
| 8 | 55 | 3735 | 235 | 3970 | 74 |
The dry file uses480PPQ and120BPM. Its final note starts3735ticks and lasts235ticks,ending3970ticks,or4.135416667seconds at960ticks/second. This describes the dry export only. We cannot compare it with nonexistent processed MIDI events or claim the model transcribed the processed tail as extra notes.
Credited public guidance and the still-unverified addition
Jukeblocks recommends simple,clear inputs and explains editing; Songscription describes instrument separation and transcription/arrangement modes; AI-MIDI recommends clear selected instruments and explains editable exports. Spotify’s Basic Pitch implementation is the credited model/postprocessing source. General clear-input and cleanup advice is shared,not exclusive. Our proposed reader answer distinguishes a completed empty transcription from decode/download failures and from actual late-note editing. In the November23 comparison, the specific diagnostic branches were unstated in the readable ten. That scoped comparison does not establish a whole-article30% share or globally novel facts.
Files and reproduction
- Dry MP3 · artificial-tail MP3 · dry WAV · processed WAV.
- Actual dry MIDI · dry report · instrumented empty-result report · independent verification.
- generator · all source parameters/hashes · original adapter · failure-capture adapter · verification source.
From the supplied project root,generate the pair with the FFmpeg path,run the original adapter with arguments PATH_TO_FFMPEG public/examples/input-tail dry,then tail. The latter can terminate with“No notes”without an exported file. The supplied instrumented adapter records that empty outcome before exiting with code2; it does not force a success. The verifier uses midi-file andTonejs to check all eight dry-note events against the report,checks input/output hashes,and asserts no processed MIDI exists. Hashes identify files; they do not establish musical quality or exclusivity.
Does this prove reverb always prevents conversion?
No. This artificial construction is one input pair with changed waveform and level. Ordinary recordings and other settings were not tested.
Should I trim everything after the last played attack?
This example does not establish that fix. The dry phrase still has intended note duration after its last attack. Keep the original and inspect actual results instead of assuming all tails are unwanted MIDI notes.
Is zero notes the same as a silent MIDI download?
No. No processed MIDI was exported here. The retained failure report documents an empty usable-event list.