How does mp3 to midi work?
Here is the exact list this page recorded for two real conversions: onsetThreshold 0.5, frameThreshold 0.3, minNoteFrames 11, modelSampleRate 22050, backend wasm, @spotify/basic-pitch@1.0.1 and TensorFlow.js WASM 3.21.0 in a Web Worker. Each value is a field in the conversion report the page writes after every run. Both runs produced a 106-byte, single-track MThd file with 4 notes. This is two measured runs of one 4.8-second synthetic sample in one browser: one sample, not a general rule about other files or other converters.
Measured on 6 November 2026 against the live converter. One WAV file and one 128 kbps MP3 encoded from it were converted separately; every number below comes from each run's own conversion report, not from a description of the software.
The detector settings, one by one
Both reports contain the same four values in their parameters object. We did not change any of them between the WAV run and the MP3 run, and both runs were made against the same live page.
| Setting | Report field | WAV run | MP3 run |
|---|---|---|---|
| Onset threshold | onsetThreshold | 0.5 | 0.5 |
| Frame threshold | frameThreshold | 0.3 | 0.3 |
| Minimum note frames | minNoteFrames | 11 | 11 |
| Model sample rate | modelSampleRate | 22050 Hz | 22050 Hz |
These are the values the reports recorded. We did not vary 0.5, 0.3, 11 or 22050, so this page makes no claim about what changing any of them would do to the 4 detected notes.
Which runtime actually ran
The engine field of both reports reads @spotify/basic-pitch@1.0.1 / TensorFlow.js WASM 3.21.0 in Web Worker, and backend reads wasm. The modelUrl recorded in both reports is a public model file on a CDN; it is not the audio that was converted.
| Resource | Bytes | Status | Report field |
|---|---|---|---|
tfjs-backend-wasm-simd.wasm (TensorFlow.js WASM 3.21.0) | 377,757 | 200 | resourceLoads[0] |
model.json (Basic Pitch 1.0.1) | 174,537 | 200 | resourceLoads[1] |
group1-shard1of1.bin (model weights) | 742,392 | 200 | resourceLoads[2] |
That is 1,294,686 bytes of public runtime and model data in each of the two runs. In both runs the browser made 11 requests and the report's uploadLike array was empty, so none of those requests carried the input audio. This is a report of these two runs, not an audit of every browser or extension.
What the two runs recorded end to end
The table below is a field-by-field read of the two conversion reports. The input rows differ because one file was WAV and one was a 128 kbps MP3; the settings and runtime rows are the same in both.
| Item | WAV run | MP3 run |
|---|---|---|
| Input file | sample-4notes.wav | sample-4notes.mp3 |
| Input size | 211,724 bytes | 78,201 bytes |
| Input duration | 4.8 s | 4.824 s |
| Input sample rate / channels | 44,100 Hz / mono | 44,100 Hz / mono |
| Onset / frame threshold | 0.5 / 0.3 | 0.5 / 0.3 |
| Minimum note frames / model sample rate | 11 / 22050 Hz | 11 / 22050 Hz |
| Model / runtime | Basic Pitch 1.0.1 / WASM 3.21.0 | Basic Pitch 1.0.1 / WASM 3.21.0 |
| MIDI size / tracks / notes | 106 bytes / 1 / 4 | 106 bytes / 1 / 4 |
| Note span | 4.751 s | 4.775 s |
| Engine and model load | 2.882 s | 1.005 s |
| Conversion (detection) | 5.035 s | 4.878 s |
| Page-reported total | 7.987 s | 5.920 s |
| Wall clock, whole run | 8.406 s | 6.433 s |
| MIDI SHA-256 prefix | 97cd89629a5326fa… | f996f44815ef1d38… |
Both reports list the same 4 parameter values, the same 3 resource loads and the same 106-byte output, although the two input files were 211,724 and 78,201 bytes. We report the recorded values; we did not test a mechanism for the difference between the timing rows.
What this does not prove
- Two runs of one 4.8-second synthetic four-note sample are not a study of detector settings. One sample, not a general rule.
- We did not vary onset 0.5, frame 0.3, minNoteFrames 11 or 22050 Hz, so we cannot say which of them changes the 4 detected notes.
- These values describe two runs on 6 November 2026 in one browser. We have not measured other browsers, other versions or other machines.
- The 11 requests and the empty
uploadLikearray are a report of those two runs, not an audit of every browser extension. - We make no comparison with any other converter's settings; we have not measured any other service.
How to check this yourself
- Open the converter and convert a short, clear audio file, then press Download conversion report.
- Read
parameters,engine,backend,modelUrlandresourceLoadsin that report and compare them with the values above. - Repeat with your own file and your own browser before drawing any conclusion about your audio; one sample, not a general rule.
Short answers
Which thresholds did the report record?
onsetThreshold 0.5 and frameThreshold 0.3 in both runs. One sample, not a general rule; we did not test other values.
Which model and runtime version ran?
The engine field recorded @spotify/basic-pitch@1.0.1 with TensorFlow.js WASM 3.21.0, backend wasm, in both runs. One sample, not a general rule about other pages.
How many notes came out?
4 notes in a 106-byte, 1-track MThd file in each of the two runs. One sample, not a general rule.
What did the reports say was fetched?
The resourceLoads arrays list 3 GETs of 377,757, 174,537 and 742,392 bytes, all status 200, together 1,294,686 bytes. One sample, not a general rule.
Can I change these settings on this page?
We did not test any control for changing them, so we do not know. In the two runs we measured, parameters was 0.5 / 0.3 / 11 / 22050 both times; one sample, not a general rule.