MP3 to MIDI adding an octave? A 220/440 Hz test
Check whether the MIDI added an octave above the intended line, rather than simply moving the line up. In our owned 220/440 Hz example, the fundamental-strong input returned 8 × pitch 57; the second-harmonic-strong input returned 8 × pitch 57 + 8 × pitch 69. The lower pitch was retained in that second case. Inspect the actual pitches and overlapping events before transposing everything down.
Convert your MP3 · Download all parsed events
The sound we actually supplied
On 14 November 2026 we generated three new six-second mono sources and converted them with this site's production app and worker. Each contains eight 250 ms envelopes starting at 0.300 seconds and repeating every 600 ms, with 350 ms gaps. They are synthetic tones, not recordings of a singer, flute or bass. This is a harmonic-balance question, distinct from our earlier two-register mix test: the intended first two sources each represent one repeated 220 Hz tone with a second harmonic, not separately performed musical parts.
Within each envelope we generated 0.35 × envelope × (w220 × sin(2π × 220 × x) + w440 × sin(2π × 440 × x)) / (w220 + w440), where x is seconds since that envelope began. The envelope has a 5 ms linear attack and 20 ms release. The first two cases exchange weights 1 and 0.25. Their 440-to-220 amplitude ratios are therefore 0.25 and 4; these are source construction settings, not estimates of recorded instrument spectra.
The third input contains only 440 Hz, with no generated 220 Hz component. It is a higher-tone control, not a missing-fundamental reconstruction test. At equal temperament with A4 = 440 Hz, f = 440 × 2^((MIDI − 69) / 12): MIDI 57 is 220 Hz, MIDI 69 is 440 Hz, and their difference is 12 semitones.
We quantized each waveform to 44,100 Hz mono 16-bit WAV and separately encoded it with FFmpeg libmp3lame -b:a 128k. Each MP3 is 97,009 bytes and decoded as 6.000 seconds. Dividing by the sum of weights limits amplitude; it does not equalize RMS or actual peak. The pre-quantization sample peaks were 0.3082567413, 0.3305438128 and 0.3499999112. We did not isolate harmonic ratio independently of all level changes.
Actual MIDI pitch inventory
| Input | 220 : 440 weights | Events | Pitch inventory | MIDI bytes | Files |
|---|---|---|---|---|---|
| fundamental-strong | 1 : 0.25 | 8 | 8 × pitch 57 | 150 | MP3 · WAV · MIDI · Report |
| second-strong | 0.25 : 1 | 16 | 8 × pitch 57 + 8 × pitch 69 | 214 | MP3 · WAV · MIDI · Report |
| upper-only | 0 : 1 | 8 | 8 × pitch 69 | 150 | MP3 · WAV · MIDI · Report |
The second-strong input produced events at both 57 and 69. That observation does not establish that every upper event is musically wrong: the source really contains energy at 440 Hz. Our intended source model is one harmonic tone per envelope; the export contains an additional upper-register event for each envelope in this sample. Physical frequency components, intended notes and detected MIDI events are different descriptions. We did not identify which internal model operation produced the difference, sweep thresholds or test real instrument recordings.
Check the starts and ends as well
| Input | Pitch | Start tick | Length ticks | Start seconds | Length seconds |
|---|---|---|---|---|---|
| fundamental-strong | 57 | 290 | 290 | 0.302083333 | 0.302083333 |
| second-strong | 69 | 279 | 212 | 0.290625000 | 0.220833333 |
| second-strong | 57 | 301 | 223 | 0.313541667 | 0.232291667 |
| upper-only | 69 | 279 | 256 | 0.290625000 | 0.266666667 |
All supplied exports use 480 PPQ at 120 BPM, so seconds per tick = (60 / 120) / 480 = 1 / 960. In the second-strong export the first pitch-69 event starts at tick 279 and lasts 212 ticks: 279 / 960 = 0.290625 seconds and 212 / 960 = 0.220833333 seconds. Its first pitch-57 event starts at tick 301 and lasts 223 ticks: 301 / 960 = 0.313541667 and 223 / 960 = 0.232291667 seconds. They overlap; these are not sixteen consecutive repetitions of a single pitch.
The authored first envelope spans 0.300–0.550 seconds. That reference is the generated envelope boundary, not a perceptually verified onset after encoding. We publish every event, not only these first events, and make no accuracy percentage or general octave-error-rate claim.
A practical octave check before editing
Compare one short phrase against the source and the intended part. Look for events exactly 12 semitones apart and inspect whether they overlap. If the correct lower notes remain, transposing the entire clip also moves those notes and changes more than the extra layer. Removing an upper layer may be appropriate only after listening and checking the musical reference; a real recording can contain genuine octave doubling. This experiment does not establish a universal delete-high-notes rule or a preprocessing setting for every MP3.
Public advice, credited separately
Spotify's Basic Pitch demo recommends downloading MIDI to refine it in a DAW. CraftMusic's workflow and accuracy FAQ explicitly mentions adjusting octave, timing, velocity and note lengths. Jukeblocks' converter FAQ describes editable note data and source-dependent results. These pages were read on 14 November 2026; their general advice is public material, not our exclusive contribution or our tests of those services.
Our added material is this source formula and its files, fresh production exports, exact paired pitch/timing inventories, and independent hash/event verification. It does not rely on inferring what another converter can do internally.
Reproduce and verify the actual exports
Download the table's audio, MIDI and original conversion reports, plus input-reference.json, results.json, the input generator and verification script. Generate sources with node generate-inputs.mjs PATH_TO_FFMPEG from an empty working folder; outputs appear under public/examples/octave-harmonics/. The reference records the exact FFmpeg build and input hashes.
For our fresh runs we used a diagnostic sample loader because the remote browser could not use its native file picker. The loader passes each owned MP3 through the same file-input change event; the production app.js and worker.js remain unchanged. We clicked Convert and captured the actual MIDI export and the report produced by the original report-download handler. We repeated the fundamental control after an earlier transported MIDI failed its report's hash; that mismatched copy was discarded rather than repaired from note data. The retained files below all pass verification. This page does not claim that every attempted run was retained.
Place the supplied MP3s, MIDIs, reports, reference and results beside verify-results.mjs. Install @tonejs/midi version 2.0.28 and midi-file version 1.2.4, then run node verify-results.mjs. It checks input and output SHA256, independently parses the actual MIDI bytes and compares every note with the saved report and results. Reports preserve run timestamps, WASM loading requests and the unchanged thresholds: onset 0.5, frame 0.3, minimum 11 frames, model sample rate 22,050 Hz. A new run is a new observation, not a promise of identical bytes.
Watch the measured comparison
The narration summarizes these files and their limits; it is not an additional conversion run.
Did the whole phrase simply move one octave up?
No. In the second-strong sample the lower pitch remains and the output also contains upper events. Inspect the inventory rather than assuming a single transposition.
Does this prove a louder second harmonic always causes extra notes?
No. These are fixed synthetic cases. Level and spectrum differ, and no internal cause or general frequency of errors was established.
Can I delete every note an octave above a bass line?
No. Genuine octave doubling can be part of a performance. Compare the actual source and intended notes first.