Note Local

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.

Detector settings recorded in each run's own conversion report
SettingReport fieldWAV runMP3 run
Onset thresholdonsetThreshold0.50.5
Frame thresholdframeThreshold0.30.3
Minimum note framesminNoteFrames1111
Model sample ratemodelSampleRate22050 Hz22050 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.

Resources listed in the reports' resourceLoads arrays, identical in both runs
ResourceBytesStatusReport field
tfjs-backend-wasm-simd.wasm (TensorFlow.js WASM 3.21.0)377,757200resourceLoads[0]
model.json (Basic Pitch 1.0.1)174,537200resourceLoads[1]
group1-shard1of1.bin (model weights)742,392200resourceLoads[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.

The recorded runtime chain: two input files, four detector settings, Basic Pitch 1.0.1 on TensorFlow.js WASM 3.21.0, and two 106-byte MIDI outputs
What the two reports recorded, drawn from their own fields.

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.

Inputs, settings and outputs of the two measured runs
ItemWAV runMP3 run
Input filesample-4notes.wavsample-4notes.mp3
Input size211,724 bytes78,201 bytes
Input duration4.8 s4.824 s
Input sample rate / channels44,100 Hz / mono44,100 Hz / mono
Onset / frame threshold0.5 / 0.30.5 / 0.3
Minimum note frames / model sample rate11 / 22050 Hz11 / 22050 Hz
Model / runtimeBasic Pitch 1.0.1 / WASM 3.21.0Basic Pitch 1.0.1 / WASM 3.21.0
MIDI size / tracks / notes106 bytes / 1 / 4106 bytes / 1 / 4
Note span4.751 s4.775 s
Engine and model load2.882 s1.005 s
Conversion (detection)5.035 s4.878 s
Page-reported total7.987 s5.920 s
Wall clock, whole run8.406 s6.433 s
MIDI SHA-256 prefix97cd89629a5326fa…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.

Two different input sizes, 211,724 and 78,201 bytes, both producing a 106-byte MIDI file with one track and four notes
Different inputs, identical recorded output shape.

What this does not prove

How to check this yourself

  1. Open the converter and convert a short, clear audio file, then press Download conversion report.
  2. Read parameters, engine, backend, modelUrl and resourceLoads in that report and compare them with the values above.
  3. 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.