Open a MIDI file or start from scratch and edit it on a piano roll: draw, move and resize notes, shape velocities, set instruments and tempo for each track, quantize sloppy timing, listen with the built-in General MIDI synth and download a standard .mid file.
Last updated:
1.1.000
Velocity
Mouse and keyboard
Draw: click an empty spot to add a note, drag right to make it longer.
Move: drag a note (up/down changes pitch). Resize: drag its right edge.
Delete: double-click or right-click a note, or select and press Delete.
Select: Shift-click notes, or use the Select tool and drag a box. Ctrl+A selects the whole track.
↑↓ transpose selection (Shift = octave), ←→ move by grid.
Space play/stop, Ctrl+Z undo, Ctrl+Shift+Z redo, Ctrl+D duplicate, Q quantize, B / V draw / select tool.
Click the ruler to move the playhead; click the keyboard to hear a note.
Advertisement
Advertisement
How to use the Online MIDI Editor
Open or create: press Open .mid to load a file, or New for an empty song. A short demo tune is loaded so you can try editing straight away.
Pick a track in the Tracks list and choose its instrument. Notes of the other tracks stay visible in the background.
Draw notes with the Draw tool: click to add a note and drag right to lengthen it. Drag notes to move them and drag the right edge to resize.
Refine: Shift-click or box-select notes, then quantize, duplicate, transpose with the arrow keys or set velocities in the lane below.
Listen with Play (or Space). Click the ruler to start from another bar and tick Loop to repeat the song.
Save with Download MIDI to get a .mid file that opens in any DAW, notation program or keyboard.
Note lengths and the grid
The editor uses 480 ticks per quarter note (PPQ), a common resolution in DAWs. A note's length in seconds is ticks ÷ 480 × 60 ÷ BPM, so at 120 BPM a quarter note lasts 0.5 s.
Grid / length
Ticks
Per 4/4 bar
Duration at 120 BPM
Whole note (1 bar in 4/4)
1920
1
2.0 s
Half note
960
2
1.0 s
Quarter note (1/4)
480
4
0.5 s
Eighth note (1/8)
240
8
0.25 s
Eighth-note triplet
160
12
≈ 0.167 s
Sixteenth note (1/16)
120
16
0.125 s
Sixteenth-note triplet
80
24
≈ 0.083 s
Thirty-second note (1/32)
60
32
0.0625 s
General MIDI drum map (channel 10)
Note
Drum
Note
Drum
Note
Drum
35 (B1)
Acoustic bass drum
42 (F♯2)
Closed hi-hat
49 (C♯3)
Crash cymbal 1
36 (C2)
Bass drum (kick)
44 (G♯2)
Pedal hi-hat
51 (D♯3)
Ride cymbal 1
37 (C♯2)
Side stick
46 (A♯2)
Open hi-hat
53 (F3)
Ride bell
38 (D2)
Acoustic snare
41 / 43 (F2 / G2)
Low floor tom / high floor tom
54 (F♯3)
Tambourine
39 (D♯2)
Hand clap
45 / 47 (A2 / B2)
Low tom / low-mid tom
56 (G♯3)
Cowbell
40 (E2)
Electric snare
48 / 50 (C3 / D3)
Hi-mid tom / high tom
57 (A3)
Crash cymbal 2
Note names here use the convention where middle C (note 60) is C4, which is what the editor's keyboard shows.
Tips for programming realistic parts
Vary velocities: accent beats 1 and 3 and play off-beat hi-hats softer, as in the demo drum track.
Leave tiny gaps between repeated notes of the same pitch so each one is heard as a new attack.
Quantize to the smallest note value you actually used; quantizing triplets to a 1/16 grid will distort them.
Use Duplicate on a finished bar to build a full section quickly, then make small changes to keep it musical.
Frequently asked questions
What is a piano roll?
A piano roll shows time from left to right and pitch from bottom to top, with a keyboard at the left edge. Each note is a bar: its left edge is when it starts, its length is how long it lasts and its row is its pitch. It is the standard way DAWs display and edit MIDI.
Can I edit a MIDI file I already have?
Yes. Press Open .mid and choose a Standard MIDI File. Each channel used in each track becomes an editable track with its instrument. Files that change tempo during the song are opened with their first tempo, and the editor tells you when it does this.
What does quantize do?
Quantize moves note starts to the nearest grid line, for example the nearest 1/16 note, which tightens timing that was played slightly early or late. Tick + lengths to round note lengths to the grid too. With no notes selected the whole current track is quantized.
What is MIDI velocity?
Velocity is a number from 1 to 127 that tells an instrument how hard a note was played. Higher values usually sound louder and brighter. Drag the bars in the velocity lane, or select notes and press Set to give them the same velocity.
How do I make a drum track?
Choose Drum kit (channel 10) as the track's instrument. In General MIDI, drums always use channel 10 and each key is a different drum sound, for example 36 is the kick, 38 the snare and 42 the closed hi-hat. The keyboard shows the drum names.
Why does it sound different in my DAW?
A MIDI file stores notes, not sound. The editor plays it with a simple built-in synthesizer, while your DAW, keyboard or phone uses its own instrument sounds for the same General MIDI program numbers, so the notes stay the same but the tone changes.
Is my MIDI file uploaded?
No. Files are read and written entirely in your browser. Your current song is saved only in this browser's local storage so it is still there when you come back.
Are all the tools on FreeToolCabin tested for quality and accuracy?
Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.