Is there a way to know what exactly are the steps involved in WAV-to-MIDI conversion?
Yes. We recorded every step of a real in-browser conversion and here they are: load the page (6 local files), download three public model files from a CDN (377,757 + 174,537 + 742,392 bytes = 1,294,686 bytes total), decode the audio locally in the browser, run detection for 5.035 seconds, and write a 106-byte MIDI file with 4 notes. No step sends your audio to a server. The model is Spotify's open-source Basic Pitch 1.0.1 running on TensorFlow.js WASM 3.21.0, all fetched from a public CDN.
Measured on 6 November 2026 in Chrome 156.0.8078.80 on Windows, with one 4.8-second synthesised WAV containing four sine-wave notes (261.63, 329.63, 392.00 and 523.25 Hz). Every number below comes from the conversion report the page itself produces, plus a recorded network log. This is one run, not a guarantee about every browser, every file, or every converter.
The steps, in order
The browser performed 11 network requests from the moment the page opened to the moment the MIDI file was ready. Here they are in the order they occurred, split into five stages:
| Step | What happened | Measured value |
|---|---|---|
| 1. Page load | Browser fetched the converter page and its local assets: HTML, CSS, JavaScript, font, web worker | 6 requests to notelocalmidi.com |
| 2. Runtime download | Browser fetched the TensorFlow.js WASM backend (SIMD build) from a public CDN | tfjs-backend-wasm-simd.wasm — 377,757 bytes, HTTP 200 |
| 3. Model download | Browser fetched the Spotify Basic Pitch model in two parts: a JSON manifest and a binary weights file | model.json — 174,537 bytes, HTTP 200; group1-shard1of1.bin — 742,392 bytes, HTTP 200 |
| 4. Audio decode | Browser decoded the selected WAV file locally into a sample array; no network request was made for this | 0 requests; input was 211,724 bytes on disk |
| 5. Detection and output | The model ran note detection on the decoded audio and the page wrote a MIDI file | Detection: 5.035 s; output: 106 bytes, 4 notes, SHA-256 97cd89629a5326fa591a28affcda03b000fbed8537479299102da8ff583d9f7b |
Step 2 and Step 3 together downloaded 1,294,686 bytes of public runtime and model data. This is the only external download in the whole process. The audio file (Step 4) was never sent anywhere: all 11 network requests were GET requests with no body.
The three downloaded files, what they are
| File | Bytes | What it is | CDN URL |
|---|---|---|---|
tfjs-backend-wasm-simd.wasm | 377,757 | TensorFlow.js 3.21.0 WebAssembly backend with SIMD instructions; this is the computation engine that runs the neural network | cdn.jsdelivr.net/npm/@tensorflow/[email protected]/dist/ |
model.json | 174,537 | Spotify Basic Pitch 1.0.1 model manifest; describes the network architecture, layer shapes, and where to find the weights | cdn.jsdelivr.net/npm/@spotify/[email protected]/model/ |
group1-shard1of1.bin | 742,392 | The model's trained weights; a single binary shard containing all layer parameters | cdn.jsdelivr.net/npm/@spotify/[email protected]/model/ |
These are public, open-source packages hosted on jsDelivr, a free CDN that mirrors npm. Anyone can verify them: the package names and versions are in the URLs. Basic Pitch is Spotify's open-source audio-to-MIDI transcription model, released under the Apache 2.0 licence. TensorFlow.js is Google's open-source machine learning library for JavaScript.
What the timing looked like
The conversion report splits the time into stages. The download (Steps 2–3) happened inside the engine and model load stage:
| Stage | Seconds | Report field |
|---|---|---|
| Engine and model load (includes the three downloads) | 2.882 | engineAndModelLoadSeconds |
| Of which, worker-internal model load | 0.497 | workerInternalLoadSeconds |
| Detection | 5.035 | conversionSeconds |
| Page-reported total | 7.987 | totalSeconds |
| Wall clock (measured externally) | 8.406 | measured outside the page |
The worker-internal load (0.497 s) is a part of the engine and model load (2.882 s), not a separate stage. The page-reported total (7.987 s) is not the wall clock (8.406 s): the wall measurement also includes browser work outside the timed conversion. Detection was the largest single stage.
The input and the output
| Item | Value |
|---|---|
| Input file | sample-4notes.wav |
| Input size | 211,724 bytes |
| Input duration | 4.8 seconds |
| Input format | Mono, 16-bit PCM, 22,050 Hz (resampled to 44,100 Hz by the browser) |
| Input SHA-256 | 27a8563308993e8a387c656130582937b239a1b64f07412dd90b68b40bb67c66 |
| Output file | sample-4notes.mid |
| Output size | 106 bytes |
| Output notes | 4 |
| Output SHA-256 | 97cd89629a5326fa591a28affcda03b000fbed8537479299102da8ff583d9f7b |
| Detector settings | onset threshold 0.5, frame threshold 0.3, minimum note frames 11, model sample rate 22,050 Hz |
What this does not prove
- One run of one 4.8-second synthetic file is not a benchmark. Real music, longer files, polyphonic audio, drums and vocals can produce different results.
- We measured one browser (Chrome 156) on one operating system (Windows). Other browsers or devices may download different files or use a different backend (for example, WebGL instead of WASM).
- The CDN URLs and package versions are correct as of 6 November 2026. The site operator could change them at any time. The conversion report records which version was actually used in each run.
- We did not test whether the page works offline after the first download. The three files are cached by the browser, but we did not measure cache behaviour.
How to verify this yourself
- Open the converter page in Chrome or another Chromium browser.
- Open DevTools (F12 or Ctrl+Shift+I) and switch to the Network tab.
- Select a WAV or MP3 file and press Convert to MIDI.
- Watch the Network tab: you will see GET requests to
cdn.jsdelivr.netfor the three files listed above, followed by the conversion. - After conversion, the page displays its own report with timing and model version fields. Compare them to the table above.
The conversion report is the page's own output, not our measurement. It records engineAndModelLoadSeconds, workerInternalLoadSeconds, conversionSeconds, totalSeconds, and the model package name and version. You can read these fields directly from the report after any conversion.
Short answers
What files are downloaded?
Three: tfjs-backend-wasm-simd.wasm (377,757 bytes), model.json (174,537 bytes), and group1-shard1of1.bin (742,392 bytes). Total: 1,294,686 bytes. All are public open-source packages on jsDelivr.
Is my audio uploaded?
No. In the run we measured, all 11 network requests were GET requests with no body. The audio was decoded locally in the browser. See our detailed upload test for the full network log.
What model is used?
Spotify Basic Pitch 1.0.1, an open-source audio-to-MIDI transcription model released under the Apache 2.0 licence. It runs on TensorFlow.js 3.21.0 using the WASM backend with SIMD.
How long does the download take?
In our run, the engine and model load stage (which includes all three downloads) took 2.882 seconds. On a second run with a cached browser, it dropped to 1.005 seconds. Your time depends on your network speed and browser cache.
Can I check this without converting a file?
Yes. Open the converter page with DevTools Network tab open. The three files download when the converter initialises, before you select any file. You will see the same three GETs to cdn.jsdelivr.net.