Note Local

MP3 to MIDI keeps switching back to piano: check program changes

If your converted MIDI switches back to an unwanted instrument when playback starts, inspect Program Change messages before reconverting the MP3. A file can request a preset independently of its notes. Test that request on a copy; if it is not reaching or controlling the part, investigate the receiver and track settings instead of assuming another conversion will fix it.

Convert your audio · Check the reset · Inspect the actual files

Separate the sound request from the transcription

If converted MIDI keeps returning to an unwanted sound when playback restarts, inspect the imported file for Program Change messages before converting the audio again. Match the message channel to the part you are hearing and look at its position, not just the patch currently shown in the instrument window. On a copy, test a deliberate program replacement or removal while preserving every note’s pitch, start, end and velocity; then reimport or replay through the same receiver to check whether the unwanted switch still occurs. Stop blaming the file’s program message if the receiver ignores it, if no relevant message reaches that part, or if the switch persists with that route excluded. Check the track’s own program/bank requests, automation and other incoming MIDI separately. Do not strip all program messages from a multitimbral arrangement just to fix one part, and do not treat a different preset as proof that missing or wrong notes have been repaired.

A bounded test that does not redraw the notes

  1. Keep the original export and project. Identify whether the unwanted change happens on import, at playback start, or at a particular position. Those observations guide inspection; they do not prove a cause.
  2. Use an event list or parser to find Program Change messages and their channels and positions. Inspect the part's output channel too. A request on another channel is not automatically the request controlling the part you hear.
  3. On a comparison copy only, replace the relevant program with a receiver-supported value, or omit that request if you intend the receiver to retain your chosen patch. Check the receiver's documentation; a program number does not universally name the same sound.
  4. Verify that pitch, start/end positions and velocity did not change. Then test the same receiver and route again from the same playback position. Keep the edit only if it serves the intended arrangement.
  5. If the unwanted change remains, stop repeating the same file edit. Inspect track-level program or bank requests, automation and other MIDI inputs separately; this page has not measured their behavior in your project.

When not to remove program messages

Do not remove them indiscriminately from a multitimbral file or a live set: intentional changes may be part of the arrangement. Do not remove unrelated controller or note events while hunting for a patch request. Work on the intended part and keep the original so the trial is reversible.

Stop treating this as a preset problem if notes are missing, the wrong pitches are stored, or event timing is wrong. Changing a patch is not a note correction. Conversely, a different timbre alone does not justify rewriting an otherwise confirmed note. Removing a program request also does not select a replacement sound by itself; the receiver may keep its existing state or initialize another way.

What our fresh export actually contains

We explicitly reused our owned3.5-second four-note sine MP3 and ran the CLI converter afresh. The original export has4notes and one Program Change: rawchannel0 at tick0, program0. Rawchannel0 corresponds to conventional MIDI channel1. This is observed file content, not a claim that every player resets to piano.

We made two deliberate comparison copies: one replaces program0with73, the other omits the program message. Both independently preserve every note's pitch, start, end and velocity and all other non-program event positions. We did not import these copies into a DAW, measure the resulting sound, or test an actual reset. The controls demonstrate how to keep the note data intact while varying the request; the receiver test remains necessary.

Actual export program0, authored program73 control and authored no-program control retain the same four note events
Measured file events and byte sizes. Program values are raw numbers, not universal instrument labels.
FileProgram at tick0/rawchannel0BytesNote records versus fresh export
source.mid0110Identical4events
program73-control.mid73110Identical4events
no-program-control.midnone107Identical4events

Owned input MP3 · Actual fresh MIDI · Program73control · No-program control · Original conversion report · Independent event verification · Control script · Conversion adapter

Execution, event list and hashes

Fresh run2026-11-30T18:03:29.802Z to2026-11-30T18:03:32.589ZUTC,December1Beijing. BasicPitch1.0.1 / TensorFlow.jsWASM3.21.0, onset0.5/frame0.3/minimum11frames,22050Hz. CLI fallback with FFmpeg decoding instead of browser WebAudio; no online-browser run claimed. The reused input and deterministic matching output hash are disclosed. InputSHA256b9ea77f085ddc1d0a803857193d3be7176b6ab455e70d500be8e42693985d990; freshMIDI6aa1e28555e162c35e987863bc6eaab85d0c5d22525918b7be40cb764ac123b2; program73control080288d008adea9f57a5ff6acf4e7baff8eab634735d642c0168148fe8816ba3; no-programcontrol7f6b3d49c256bdb06ad66255554b4216898e8f11637808c233398e37ff831d3e. Raw event lists and both-parser checks are in the linked verification. Script uses midi-file and @tonejs/midi with public/examples/program-choice relative to the working directory.

Watch the program-message check

Watch this explanation on YouTube. Original diagrams and synthetic English narration; the file checks do not establish a measured receiver or DAW reset.

Credited background and scope

The MIDI Association message summary separates Program Change from Note On, Note Off and Control Change. A patch request and a note event are different messages. This distinction is public technical knowledge, not our discovery.

An English Steinberg community report describes an imported part changing back to piano and finding program events in the editor. Another discussion describes an unwanted preset returning and the need to inspect program messages. These are reported cases, not tests of every current DAW or proof of the cause in your project. Our proposed channel-scoped comparison and preserved-note files keep that uncertainty explicit.

Jukeblocks, Songscription and AI-MIDI describe editable MIDI and instrument/part workflows. Assigning a different instrument is shared guidance; it does not by itself diagnose why a preset selection changes again.

Reader questions

Should I reconvert because the MIDI plays piano?

Not solely for its playback sound. Check the receiver and any program requests first. Revisit transcription when the stored musical events themselves are wrong.

Does removing Program Change force the guitar sound I want?

No. It omits that request. You still need an appropriate instrument and receiver state; no universal replacement sound is guaranteed.

When should I stop this test?

When the request does not reach the affected part, the receiver ignores it, the switch persists without that route, or the musical problem is actually in the notes. Investigate the relevant layer rather than stripping more events blindly.