MIDI tutorial
Start here: follow a note from a keyboard through three bytes to a synthesizer, then write your first MIDI program.
Learn how MIDI messages work, write a MIDI file, and turn code into audio you can hear in your browser.
Analyze a MIDI file → Generate chords as MIDI → Open the step sequencer →
Files you open stay on your device: every tool runs locally in the browser, with no uploads or accounts.
Start here: follow a note from a keyboard through three bytes to a synthesizer, then write your first MIDI program.
Decode every MIDI 1.0 message, from Note On to Pitch Bend and clock, with a tested parser.
Connect MIDI keyboards and synths to a web page, with permissions, timestamps, hot-plugging and a live monitor.
Chunks, delta times, tempo and meta events, with a small reader and writer you can copy.
Symptom, cause, check and fix for silence, stuck notes, wrong octaves, timing, loops and file imports.
Schedule notes on the audio clock with a look-ahead scheduler instead of trusting timers.
Ticks, tempo maps, note pairing, event ordering and quantization for sequencers and piano rolls.
Encode measures, chords, ties and accidentals, and convert MIDI ticks into MusicXML.
Compare browser and native audio and MIDI libraries, and pick one with a short checklist.
Convert MIDI note numbers into pitches and frequencies, then hear the result.
Build a one-bar melody, hear it, and export a .mid file.
Inspect the tracks, channels, tempo changes and raw events of any Standard MIDI File, locally in your browser.
Open a .mid file, watch its notes on a piano roll and hear a quick preview with per-channel mute and solo.
Shift every note in a .mid file up or down, keep drums in place and download the result.
Pick a key and Roman numerals, hear the chords and export them as a MIDI file.
Small .mid files with known contents for testing MIDI parsers and players.
Look up any of the 128 Control Change numbers, filter by group and copy the message bytes.
Delay times in ms, Hz and samples for any tempo, with dotted and triplet values.
Steady clicks with accents, subdivisions and tap tempo, scheduled on the audio clock.