Does lowering MP3 volume lower MIDI velocity?
It did not in our three measured conversions. Lowering the source gain by 12 and 24 dB made the decoded MP3 input quieter, while the first exported MIDI note's velocity was 90, 95 and 99. All three outputs contained eight notes at pitch 60. Treat audio input level and exported MIDI velocity as separate measurements; these samples do not establish a general volume-response rule.
Convert your MP3 · Download the complete measured results
The same phrase at three input levels
On 12 November 2026 we used our previously authored six-second waveform of eight C4 notes as a source control. Its notes last 250 ms, with 350 ms gaps, beginning at 0.300 seconds. It is a synthetic harmonic tone rather than an acoustic instrument performance. This page tests a new input-level question; we ran three new production conversions instead of reusing the earlier conversion outputs.
Starting from the same 44,100 Hz mono source WAV, we applied FFmpeg's volume=0dB, volume=-12dB or volume=-24dB, then encoded each result with libmp3lame -b:a 128k -ac 1. We added no noise, denoising, compression filter or limiter. Every resulting MP3 is 97,009 bytes and decoded as 6.000 seconds in the browser.
The intended linear multipliers are 10^(gain_dB / 20): 1, 0.2511886432 and 0.0630957344. We also measured the encoded files after decoding them through FFmpeg to 44,100 Hz mono float32, so the input-level comparison does not rely only on the filter labels.
Measured input levels and actual MIDI exports
For each decoded six-second clip, we calculated RMS = sqrt(sum(sample²) / N) over all samples, including the gaps and trailing silence, then RMS dBFS = 20 × log10(RMS). These are offline FFmpeg decoder measurements, not readings of the browser's internal audio buffer, microphone loudness or a listening test.
| Applied gain | Decoded RMS dBFS | MIDI notes | Pitches | Velocity range | Downloads |
|---|---|---|---|---|---|
| 0 dB | -17.058086 | 8 | 60 | 90–92 | MP3 · MIDI · Report |
| -12 dB | -29.057862 | 8 | 60 | 94–96 | MP3 · MIDI · Report |
| -24 dB | -41.057175 | 8 | 60 | 96–100 | MP3 · MIDI · Report |
The decoded sample peaks were -8.003901, -19.983790, -31.990292 dBFS, in the same order. Both RMS and sample peak fell with the applied attenuation. The higher MIDI velocities therefore did not arise because these input files were actually louder by those measures. We have not isolated which processing step produced the velocity pattern.
Every raw velocity value
Each result has eight notes, all at pitch 60. We align them by chronological order in this controlled repeated-note sequence. The three sequences of raw note-on velocity bytes are:
| Note in time order | 0 dB input | −12 dB input | −24 dB input |
|---|---|---|---|
| 1 | 90 | 95 | 99 |
| 2 | 91 | 94 | 98 |
| 3 | 91 | 96 | 100 |
| 4 | 91 | 94 | 96 |
| 5 | 91 | 94 | 98 |
| 6 | 92 | 95 | 99 |
| 7 | 90 | 95 | 98 |
| 8 | 90 | 94 | 100 |
The first baseline velocity appears in the browser report as 0.7086614173228346. Multiplying by 127 and rounding gives 90. The corresponding reported values 0.7480314960629921 and 0.7795275590551181 give 95 and 99. We additionally parsed the actual MIDI note-on bytes with midi-file and checked the full eight-value sequences, rather than deriving the table only from rounded screen text.
Eight notes did not mean identical MIDI
The first note begins at 0.290625 seconds in all three exports. Its duration is 0.3135416666666666 seconds in the baseline and 0.30208333333333326 seconds in both quieter cases. Alongside the velocity differences, this is a concrete reason to compare the actual events after preprocessing rather than approving an output solely because its note count remains eight.
All three MIDI files are 150 bytes, but their full SHA-256 hashes differ. The hashes and complete event lists are in the downloadable results. Equal file size, equal pitch set and equal note count do not make those recorded event lists identical.
Settings and checks held fixed
We used the live Note Local browser converter with @spotify/basic-pitch 1.0.1, TensorFlow.js WASM 3.21.0, onsetThreshold 0.5, frameThreshold 0.3, minNoteFrames 11 and a model rate of 22,050 Hz. The browser reports a decoded input rate of 44,100 Hz. We selected each MP3, ran the conversion and downloaded its MIDI and original conversion report.
We independently reopened each MIDI with @tonejs/midi 2.0.28, compared every pitch, start, duration and normalized velocity against its browser report, and verified input and output hashes. A raw MIDI parser checked the note-on velocity bytes. Each input was converted once in this test; this is not a repeated-run stability study.
What the observations do not explain
We did not isolate internal gain handling, inspect intermediate model tensors or disable individual processing stages. We therefore do not attribute the velocity increase to automatic gain control, normalization, the MP3 encoder or any specific model mechanism. We also did not render the MIDI with an instrument, so these values are not measurements of perceived playback loudness.
This source has no added room noise, microphone noise or other instruments. Lowering its digital gain does not reproduce recording a quieter real instrument in a noisy room. The retained eight notes do not establish a minimum acceptable recording level, guarantee note retention on other files or justify turning every input down by 24 dB.
Credited public information
FFmpeg's volume-filter documentation describes scaling input samples; the gain formula and our measured decoded levels make that operation explicit here. The MIDI Association's message summary identifies velocity as a field of Note On messages. Spotify's Basic Pitch documentation describes its audio-to-note workflow and resampling. These are credited public references.
Our own contribution is the input-level measurement plus the actual three conversion outputs, raw velocity sequences and full event comparison. We have not tested a competitor's velocity response or converted these observations into an accuracy score.
A practical check before changing your MP3 level
- Keep the untouched audio and MIDI as a reference. Make a level-adjusted copy rather than overwriting the recording.
- Save the conversion report for each version. Compare pitches, onsets, durations and velocities, not only the number of notes.
- If you need different playback dynamics, inspect the exported velocity data in your editor. Do not assume a dB change in the source must appear as the same change in a MIDI velocity field.
- Test your actual recording before adopting a preprocessing step. This page offers a reproducible counterexample to a simple expectation, not an optimum gain recommendation.
Files and reproduction
Download all MP3s, MIDI files and browser reports from the table, plus input-reference.json, results.json, the input generation and RMS-measurement script and MIDI verification script. The source WAV is our owned 350 ms-gap fixture; its hash and the exact FFmpeg build are recorded in input-reference.json.
The generation script expects that WAV at public/examples/repeated-notes/gap-350ms.wav under its working directory. Run node generate-inputs.mjs PATH_TO_FFMPEG; it writes the three MP3s and their measurement record under public/examples/quiet-mp3/. Convert each in the browser and save both downloads. To verify our supplied exports, put results.json, the MP3s, MIDIs and original conversion reports beside verify-results.mjs, install @tonejs/midi 2.0.28 and midi-file 1.2.4 there and run node verify-results.mjs. A new conversion is a new observation to record, not a promise of byte-identical results.
Did quieter inputs lose notes here?
No. All three runs returned eight notes at pitch 60. The event velocities and some durations differed.
Does higher MIDI velocity prove the model normalized the input?
No. This test records input-level measurements and outputs. It does not isolate the internal cause.
Should I turn down my MP3 before converting?
This experiment does not establish a universal preprocessing recommendation. Compare actual exports from your own recording.