Audio to MIDI for a Muffled Melody

Convert the clearest copy you have and then check its note timing. A 180 Hz low-pass made the higher notes quieter in our test. The original WAV and the filtered WAV produced identical MIDI files. This measurement covers one synthetic melody and one filter setting.

How much did the filter change each note?

We kept the same programmed A3, D4 and E4, with both WAVs set to 22050 samples per second. We ran a one-pole low-pass over a copy of the original. Its pole is about 0.950002. The output at each sample combines the current input with the previous filter output. We rounded only when saving the filtered PCM16 samples. Reading the pair independently confirmed that 24178 saved samples differ.

For each note, we measured a window from 80 to 280 milliseconds after its programmed start. RMS here is the square root of the average squared sample value. The level change in dB is 20 times the base-ten log of filtered RMS divided by original RMS. Under this setting E4 lost about 6.4 dB and A3 lost about 4.0 dB.

RMS in PCM16 units and relative level in dB
NoteOriginalFilteredChange dB
A357933669-4.0
D457903025-5.6
E457912777-6.4
Measured losses for A3, D4 and E4 were about 4.0, 5.6 and 6.4 decibels.
Both recordings use the same note windows. Each bar compares the filtered level with the original level inside that note.

Both exported files had the same timing

We selected each WAV in Chrome, with MIDI export set to 120 BPM and final-release estimation enabled. Each file was 74 bytes. Independent decoding found A3, D4 and E4 with the same note-on and note-off events. The files match byte for byte.

D4 begins at tick 379 in both files. At 480 ticks per quarter note and two quarter notes per second, that is 379 ÷ 960 seconds, or about 0.395 seconds. The programmed cue is 0.500 seconds. The resulting note starts about 105 ms early in both takes. Use the source audio to check the starts before you edit.

Both MIDI downloads have A3, D4 and E4 with matching starts and ends.
Programmed lead windows above the events read from both MIDI downloads.

Listen and download

Download exact note events, levels and file hashes

Watch the test

Hear the same WAV before and after the low-pass, then follow the sound levels and MIDI note events.

Watch the test on YouTube

Questions about converting a muffled recording

Should I brighten a muffled file before converting?

Editorial question. Try the original first. If its note list is incomplete, make a separate edited copy and compare the same excerpt at the same export tempo. Check the note count, starts and ends against the recording.

Will MIDI preserve the muffled sound?

Editorial question. MIDI stores note instructions. To reproduce the sound of the filtered recording, keep the WAV or apply a filter to the instrument you use to play the MIDI.