Calculates on this device. File exports run online.
MIDI Editor & Viewer
Choose a MIDI file to see its tracks, tempo and notes on a piano roll. Keep the tracks you want, transpose, quantize or set a new tempo, and download the new file. Your file is read in this browser.
Enter your values
Check these values
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose Read the file.
Your result
How it was worked out
How to view and edit a MIDI file
- Choose your MIDI file (.mid). It is read in this browser and not sent anywhere.
- To edit, type the tracks or channels to keep, a number of semitones to transpose, a grid to quantize to, or a new tempo. Leave them as they are to only view the file.
- Press Read the file. You see the tracks, the tempo map and every note, and a piano roll of the new file.
- Press Download the new MIDI file, or use the boxes below for sheet music, a sound file or a document of the notes.
What the edits do
- Tracks to keep: the other tracks are left out, but their tempo and time and key signatures stay, so the timing does not change. Channels to keep works the same way across all tracks.
- Transpose moves every note up or down by semitones (12 is an octave). Drums on channel 10 stay as they are, because their notes are drum sounds.
- Quantize moves the start and end of every note to the nearest step of the grid. A note that would have no length lasts one step.
- New tempo sets the tempo at the start; later tempo changes keep their proportions. A tempo is stored as whole microseconds per quarter note, so it is rounded to the nearest microsecond: 11 quarter notes per minute is not exact, 120 is (500,000 µs).
- Everything else stays as it is: controllers, program changes, pitch bends, lyrics and other text, and system exclusive messages.
Sheet music and sound
Sheet music needs written note values, so the notes are placed on the grid you choose under More options (sixteenth notes at first) when they are sent. Each track and channel becomes a part; notes that overlap in other ways go into another part (a voice), so each note keeps its place and length. Drums on channel 10 are left out of sheet music and sound. The sheet music has one tempo, time signature and key: those at the start. The sound is played from the same notes with General MIDI sounds (FluidSynth).
How the file is read
The page reads standard MIDI files of format 0 (one track) and 1 (several tracks) as described in the Standard MIDI Files 1.0 specification of the MIDI Manufacturers Association. A damaged or unusual file gets a plain message saying what is wrong, such as a track that says it is longer than the file.
Worked example (the example file): 120 quarter notes per minute, 4/4, 3 bars. The bass note C3 starts at beat 0 (bar 1, beat 1) and lasts 4 beats, 2 seconds.
Limits you should know
- Files up to 8 MB, 256 tracks and 500,000 events. Format 2 files and files that count time in SMPTE frames are not read.
- The table lists the first 5,000 notes; the new MIDI file has them all. The piano roll draws up to 20,000 notes.
- The new file is written anew with the same events: no running status, and at the same time note-offs come first. A note still on at the end of a track is ended there.
- This page does not cut a time range, change instruments or record. It does not supply MIDI files of songs.
Privacy
This browser reads, edits and writes MIDI locally. Online sheet-music and audio actions send the notes to Toolvito. Online document export sends the tables. Download the result within one hour after the job finishes. Choose Delete files now to request earlier removal. The hourly cleanup normally removes files within one to two hours after completion.