DevTools Logo

MIDI File Player

MIDI File Player

Play standard MIDI files with an on-device synth, a piano roll, track mutes and tempo control. Files stay local.

Runs in your browser

MIDI file & tracks

no file

Piano roll & transport

no track loaded

Load a MIDI file to see its piano roll

Examples

Audition an export

Input
Load demo MIDI → Play
Output
Piano roll with moving playhead and audible notes

A quick check before opening a file in a DAW.

Isolate a melody

Input
Solo track 1 → mute drums
Output
Only the audible track remains

Mute and solo combine so complex arrangements are easy to inspect.

Slow practice

Input
Playback speed 70%
Output
Same pitches at a slower tempo

Notes are rescheduled at the new rate, with no varispeed pitch shift.

About this tool

The MIDI File Player parses standard MIDI files directly in the browser: MThd and MTrk chunks, variable-length delta times, running status, note-on and note-off, program changes, sustain, pitch bend, tempo maps and time signatures. Format 0, 1 and 2 files and SMPTE divisions are supported.

A scrolling piano roll shows notes colored by track with a playhead and an eight-second window. Track rows provide mute, solo and volume; transport offers play/pause, stop, seek and a 25–200% speed control that reschedules notes instead of pitch-shifting them. A built-in two-track demo means you can try it without finding a file first.

Playback uses a small on-device oscillator synth grouped by General MIDI program family — piano-like keys, bass, strings, brass, winds, leads, pads and percussion. No soundfonts are downloaded and no files are uploaded.

What this tool does not do

  • The fallback synth approximates GM timbres; it is not a sampled soundfont player.
  • Pitch bend and some controller nuances are simplified in the fallback voices.
  • MIDI output to external devices is not supported in this version.
  • Only the local oscillator path is used; no audio files are downloaded.

How to use this tool

  1. Load a file

    Choose a .mid or .midi file, or click Load demo MIDI to see the player in action.

  2. Inspect the structure

    The info panel reports format, track count, PPQ or SMPTE base, note count and tempo changes.

  3. Mix tracks

    Mute or solo tracks and adjust per-track volume; the piano roll and audible notes update together.

  4. Play and seek

    Press Play, click the roll or drag the seek slider. Speed changes re-anchor the scheduler without transposing notes.

  5. Practice

    Lower playback speed for practice, then raise it back to 100% without reloading the file.

Use cases

Composer audition

Hear an exported MIDI without launching a full DAW.

Music practice

Slow down a practice piece while keeping the original pitch.

Legacy archive inspection

View note counts, tempo maps and track names of old .mid collections.

Supported MIDI features

FeatureHandling
FormatsSMF format 0 (one track), 1 (synchronized) and 2 (sequential songs)
TimingTicks-per-quarter or SMPTE fps + ticks/frame; tempo changes interpolated
Notes0x9n velocity >0 on, 0x8n or velocity 0 off; sustain extends releases
MetadataTrack names, time signatures (0x58) and tempo (0x51)
Other eventsProgram changes, CC values and 14-bit pitch bend parsed and displayed
AudioOscillator fallback with GM family mapping; no soundfont downloads

Notes without a note-off are closed at the end of their track and counted in the warning line.

Frequently asked questions

Which MIDI formats play?

Format 0 (a single track), format 1 (synchronized tracks) and format 2 (independent songs played in sequence) are parsed. Both ticks-per-quarter and SMPTE time bases are supported, including files with multiple tempo changes.

Do I need to download soundfonts?

No. Playback uses a lightweight oscillator synth that maps General MIDI program families to simple waveforms. It will work offline, though the timbres are approximations rather than sampled instruments.

What is the GM soundset?

General MIDI assigns 128 numbered programs, from acoustic piano at 0 through instruments and effects to gunshot at 127. The parser records program changes per channel and the fallback synth uses the program's family to choose a waveform.

Why do some files sound wrong?

The fallback synth simplifies velocity curves, pitch bend and controller nuance, and channel 10 percussion is mapped to generic hits. Files that depend on exotic samples or heavy controller automation will sound different from a DAW with a full soundfont.

Can I change the tempo?

Yes. The speed slider scales playback from 25% to 200% by rescheduling notes at the new rate, so the music slows down without changing pitch. Tempo changes already stored in the file are still honored underneath that scale.

Are my MIDI files uploaded?

No. Parsing, the piano roll and audio synthesis all happen in this browser tab. The only download is the demo file that the tool generates locally for you.