AUDIO TO MIDI / STORED AMPLITUDE PRECISION
Audio to MIDI for an 8-bit recording
The same note draft can come from different saved samples.
Measured answer. Our specified 8-bit version changed 47,276 decoded samples but produced exactly the same 101-byte MIDI as the retained 16-bit control. Both actual downloads contain the same six keys and note boundaries. This is one synthetic pair and one setting, not evidence that bit depth never matters or that MIDI restores the original sound.
One retained melody, one specified digital quantizer
We reuse the exact saved six-tone control from our earlier experiments. Its keys are 60, 62, 64, 65, 67 and 69, called C4, D4, E4, F4, G4 and A4 here. The programmed windows begin at 0, 0.5, 1, 1.5, 2 and 2.5 seconds; each lasts 0.36 seconds including the synthesized attack and release. They are source definitions, not measured performer boundaries.
The original is mono signed PCM16 at 22,050 samples per second, with 77,175 samples. Duration = 77,175 ÷ 22,050 = 3.5 seconds. We retain those exact integers, then encode each one as code8 = round(original ÷ 256) + 128, using ties away from zero. The decoded equivalent in the original integer scale is (code8 − 128) × 256. This deliberately defined operation changes amplitude precision while keeping sample count, sample rate and nominal source windows fixed.
The 16-bit WAV has 154,394 complete bytes: a 44-byte header and 154,350 data bytes. The 8-bit WAV has 77,220 bytes: its 44-byte header, 77,175 data bytes and one RIFF padding byte. That final pad byte is outside the data chunk and is not another audio sample. A smaller container here is a consequence of our encoding, not a measured upload or conversion speed advantage.
Listen to the saved originals
These players contain the input WAVs, not sound rendered from the returned MIDI. Playback begins when you choose play. We did not run a listener study or measure a speaker response; the numerical file check below is separate from an impression of similarity.
16-bit original
Six specified tones in the exact retained signed PCM16 source.
8-bit quantized
The same frame count and rate, encoded by our specified unsigned PCM8 quantizer.
Check every decoded sample, including the silence code
Changed saved samples
47,276Counted from all 77,175 decoded pairs, using decoded PCM8 minus original PCM16.
Largest absolute difference
128In the original signed integer scale, for this prescribed quantizer.
A separate saved-file reader verified the PCM8 header, RIFF length, data count and pad. It compared every decoded value against the original and found errors from −128 through 128. The half-step check is abs(decoded8 − original16) ≤ 256 ÷ 2 = 128. This is an integer quantization bound for our input construction, not a transcription timing error or a predicted converter threshold.
The original range is −8192 to 8192. The saved unsigned codes range from 96 to 160; decoding them returns the same outer range, but it does not restore intermediate original values. The finite error sum is −16,333 and the error-square sum is 250,054,215. The original-square sum is 1,390,862,185,543. These are raw saved-pair sums, retained for independent calculations rather than turned into a claim about listening quality.
The final 14,112 samples, from frame 63,063 through 77,174, are zero in the original and code 128 in the PCM8 file. Applying (128 − 128) × 256 gives zero. A stored unsigned value of 128 in this file is therefore not a positive DC offset. Duration of this tail = 14,112 ÷ 22,050 = 0.64 seconds. We check the decoded scale before comparing integer values from different encodings.
Two separate conversions, the same complete MIDI
On 23 November 2026 we selected the two actual WAVs separately in the production Chrome converter, with export BPM 120 and the clear-final-release estimate enabled. Selecting the second file cleared the previous result and download. We converted again, clicked each native Download .mid control and independently parsed the newly saved complete files.
Each export has 101 bytes and six keys: 60, 62, 64, 65, 67 and 69. We compared the full saved files, not just their sizes or rounded page labels, and all bytes match. Both are format-zero Standard MIDI Files with one track, 480 ticks per quarter note and one tempo event of 500,000 microseconds per quarter note. Every velocity is 88. Neither file contains controller or Pitch Bend events.
| Key | 16-bit start | 8-bit start | 16-bit end | 8-bit end |
|---|---|---|---|---|
| C4 | 0 | 0 | 357 | 357 |
| D4 | 379 | 379 | 847 | 847 |
| E4 | 869 | 869 | 1315 | 1315 |
| F4 | 1337 | 1337 | 1806 | 1806 |
| G4 | 1828 | 1828 | 2274 | 2274 |
| A4 | 2296 | 2296 | 2691 | 2691 |
For example, D4 begins at 379 ticks in both exports. Seconds = ticks ÷ 480 × 500,000 ÷ 1,000,000 = ticks ÷ 960, so its start is 379 ÷ 960 ≈ 0.394792 seconds. The programmed source D4 window starts at 0.5 seconds. Identical exports therefore do not establish that either one exactly reproduces the specified source timing.
Equal MIDI does not mean equal audio
The MIDI is a note estimate rather than a copy of the recording. Many original integer amplitudes can map to the same code under our quantizer; a matching note file does not contain the information needed to undo that mapping. We did not run audio restoration, dithering, noise shaping, a range of bit depths or a listening-quality evaluation.
We also did not capture decoder, resampling or detector intermediate frames. The saved input/output comparison does not isolate an internal stage as the reason the files match. Do not use the 128-unit construction bound as a recommended recording setting or assume that other instruments, levels or bit depths will yield this result.
Keep the original audio and compare event keys, starts and endings before arranging the draft. Our conversion tutorial covers selecting and saving a file. Reversing sample order and adding a constant baseline shift are different operations from the stored precision change tested here.
Download the exact WAVs and actual MIDI
16-bit files
16-bit original WAV Actual 16-bit MIDI8-bit files
8-bit original WAV Actual 8-bit MIDIRead every sample check, actual event, hash and calculation input.
Watch the original test explained
Watch the specified PCM8 quantizer and the two identical actual MIDI exports. Equal note instructions do not restore the changed original amplitudes.
Original English explanation and diagrams; narration synthesized with macOS Daniel voice. Watch this check on YouTube.
Questions before accepting a matching result
Does the same MIDI prove the 8-bit source kept the original audio?
Editorial question. No. We independently counted 47,276 different decoded sample values while both actual MIDI files matched byte for byte. Equal note instructions do not recover those original amplitudes.
Is value 128 in an unsigned 8-bit silent tail a DC offset?
Editorial question. Not for these checked files. The tail contains code 128, which decodes to zero under (code − 128) × 256. Compare decoded sample scales rather than treating unsigned codes as signed PCM16 values.
Inspect the two sample rates and actual native downloads.