What we tested
We generated two four-second, 22,050 Hz mono WAV files containing the same 261.626 Hz C4 tone. Both used the same 0.8-second held section. One faded out over 0.3 seconds; the other faded over 2.7 seconds to model a much longer audible release. No public recording or performer was used.
Both files went through the local converter with its default controls. Each exported a 67-byte MIDI file without browser console errors.
| Input | Observed C4 notes | Last note end | CC64 events |
|---|---|---|---|
| 0.3 s release | 0.767 s + 0.278 s | 1.068 s | 0 |
| 2.7 s release | 3.275 s + 0.174 s | 3.460 s | 0 |
What happened to the audible sustain
The converter followed the longer C4 energy by extending note duration. It did not encode the cause of that longer sound as a damper-pedal instruction. The two short fragments in each result also show why the export should be treated as a draft rather than a literal record of key presses.
MIDI sustain is normally represented by control change 64. A DAW can use that separate message to keep notes sounding after their Note Off events. Neither tested file contained any control-change events, so moving or shortening the notes later will not preserve an independent pedal gesture.
How to repair pedal behavior in a DAW
- Clean the note fragments first. Merge or remove retriggered pieces according to the performance you intended.
- Shorten notes to key-release points. Do this only when you know where the keys were released.
- Add CC64 automation. Draw pedal-down and pedal-up events in the controller lane.
- Listen for overlap and blur. Move pedal-up events earlier if adjacent harmonies smear together.
Can audio reveal the original pedal presses?
Not reliably from this test. Audio contains the resulting sound, not a direct record of the physical pedal position. Room reverb, instrument release, compression, and a real damper pedal can all lengthen a tail. This converter captured the audible duration as notes; it did not infer a separate pedal timeline.
What this test proves—and what it does not
It confirms the exact note durations, file sizes, and controller-event counts for two generated C4 release envelopes. It does not measure real-piano pedal accuracy, half-pedaling, repedaling, noisy rooms, or other converters.
For continuous pitch gestures, see the pitch-bend test. If the draft has short duplicates, use the extra-note cleanup guide. If playback uses the wrong sound, follow the instrument and playback guide.