When does a strong second harmonic create an octave error?
In Noteline’s 17-file WAV test, A3 still exported as MIDI 57 at +10.5 dB. At +11 dB the export jumped to MIDI 69, an octave higher. The dB values compare second-harmonic amplitude with fundamental amplitude.
What did the test change?
Each input starts with a 220 Hz A3 and adds a 440 Hz sine at the same starting phase. We change the second sine’s amplitude relative to the first, then scale the whole waveform to a peak of about 0.5. Every source is a 44.1 kHz, 16-bit mono WAV. All seventeen files use a 12 ms rise, an 18 ms release and the same 250–1,050 ms sounding window.
We measured the two components in the decoded 16-bit PCM as a separate input check. A half-second window from 400 to 900 ms contains 110 cycles at 220 Hz and 220 cycles at 440 Hz. Projecting its samples onto the two sine waves gives the amplitude readings in the CSV. Taking 20 times the base-ten logarithm of their ratio recovers each programmed dB setting to about one ten-thousandth of a decibel in the saved data.
At +10.5 dB the measured component amplitudes were approximately 0.122716 for 220 Hz and 0.411052 for 440 Hz, relative to full scale. At +11 dB the readings were 0.117041 and 0.415277. The 220 Hz component is present on both sides of the observed flip. Those readings describe the PCM input, independently of the note number in the exported file.

Where does the export jump an octave?
At 0 dB the input has nearly equal amplitudes at 220 and 440 Hz and the converter returns A3. The tested +3, +6 and +9 dB inputs also return A3. At +9 dB the second harmonic is already about 2.82 times the fundamental’s amplitude. A lower component can still set the exported pitch in these samples, even with a much taller second peak.
In the refined test, the +9.5, +10 and +10.5 dB inputs all exported note 57. The +11 and +11.5 dB inputs exported note 69, as did every measured setting from +12 through +24 dB. The finest tested bracket for this input is therefore +10.5 to +11 dB. The five intermediate half-decibel points narrowed the bracket from the original +9 to +12 dB sweep.
Every file yielded one event with velocity 120. The wrong-octave group comprises seven of the seventeen inputs, each with a 12-semitone error against A3. The other ten preserve note number 57. Checking event count or velocity alone would have marked all seventeen files identically. The CSV lets you verify the pitch result separately from those two output fields.

How can you check an octave error yourself?
On the Noteline audio upload page, try the +10.5 and +11 dB WAVs one at a time. Save the MIDI from each conversion and open both in the same editor. Check the integer pitch labels, especially if your editor names octaves differently. One file should show 57 and the other 69 when you reproduce this build and fixture.
At +11 dB the resulting MIDI begins at 275.000 ms and ends at 1,025.000 ms, which is 25 ms inward from each scheduled source edge. The +11.5 dB result spans 255.208 to 1,044.792 ms. The +12 dB result spans 244.792 to 1,055.208 ms. This shows a timing change at the transition even among three exports with the same octave error.
All ten exports that kept A3 began at 244.792 ms and ended at 1,055.208 ms. Five of the seven A4 exports also had those same endpoints. In the narrowest early A4 example at +11 dB, the playable note lasts 750.000 ms. An editor check that only compares the note name misses this difference in duration.
The tested converter searches for a repeating period in short windows, and a strong local minimum can end the search before a longer candidate period. A 440 Hz cycle is about 2.273 ms, while the A3 fundamental cycle is about 4.545 ms. The saved MIDI demonstrates the assigned note. It does not record which candidate minimum won, so the reason for an individual frame is an interpretation of the code and the output.
For a recording of your own, check the input’s sustained region in a spectrum editor, then compare the exported pitch on the same attack. Use this MIDI pitch check for a one-octave jump before deciding whether a single event or the complete track needs an octave edit. A correct note count can coexist with an audible register error.

Where does the observed boundary apply?
The comparison uses two phase-aligned sine components with the same timing and fixed waveform peak. It isolates the second-to-fundamental amplitude ratio. An instrument recording can have more harmonics, a different register or a changing envelope. The +10.5 to +11 dB bracket describes these synthetic inputs in this converter. It does not supply a cutoff that can be applied to every bass or voice track.
A pitch tracker’s decision on a mixture can differ from the note a listener hears, especially near the transition. Keep a copy of your raw result and the original audio before editing. If the whole passage seems high, compare more than one event before transposing. The amplitude ratio test can help you recognize an octave error and check it against the source.
Can you download the entire sweep?
The harmonic sweep CSV preserves the decoded component amplitudes, dB ratios, note counts and downloaded MIDI timings. Download the paired files below to repeat each setting.
| Ratio | Files | MIDI note |
|---|---|---|
| -24 dB | WAV MIDI | 57 |
| -12 dB | WAV MIDI | 57 |
| -6 dB | WAV MIDI | 57 |
| 0 dB | WAV MIDI | 57 |
| +3 dB | WAV MIDI | 57 |
| +6 dB | WAV MIDI | 57 |
| +9 dB | WAV MIDI | 57 |
| +9.5 dB | WAV MIDI | 57 |
| +10 dB | WAV MIDI | 57 |
| +10.5 dB | WAV MIDI | 57 |
| +11 dB | WAV MIDI | 69 |
| +11.5 dB | WAV MIDI | 69 |
| +12 dB | WAV MIDI | 69 |
| +15 dB | WAV MIDI | 69 |
| +18 dB | WAV MIDI | 69 |
| +21 dB | WAV MIDI | 69 |
| +24 dB | WAV MIDI | 69 |