The Bol Processor can turn a MIDI file into a score written in its own notation (polymetric expressions). The score can then be played, changed by hand, or used as material for grammars. This works with MIDI files made from a score by a notation program or a sequencer, and with MIDI files recorded while a person was playing a keyboard.
This has been made possible, in November 2026, by training Claude Opus 5.5 using thousands of examples (read more at AI recognition of polymetric notation). However, the converter still works even if the AI agent has not been installed or is deactivated.
To import a score written in standard notation, use MusicXML instead: it keeps the measures, the voices and many signs of the score. A MIDI file contains only notes and their dates, which the Bol Processor has to interpret.
What you need
The converter is a program written in Python 3, installed with the Bol Processor. Python is often already on your computer. If it is not, the Bol Processor tells you when you try to import a file:
- MacOS and Windows: download and install Python from python.org.
- Linux: type
sudo apt install python3in a terminal (on Fedora:sudo dnf install python3).
The Python found for the dancing robot, if you have tried it, is used for this too. Nothing else is needed: no subscription, no Internet connection.
Importing a file, step by step

- Open a data page. The imported score is added on top of its content, so you may prefer to create a new, empty data project first (button CREATE NEW DATA FILE in a folder of your workspace).
- Click Import MIDI or MusicXML file and choose a file ending with
.midor.midi. - Check the box played by a person if the file was recorded from a live performance (see below). If you are not sure, leave it unchecked: the converter usually recognises a performance by itself.
- Click ← IMPORT and wait. A short piece takes a few seconds; a performance of 6 minutes takes about 2 minutes.
- The score appears at the top of the data, with a comment naming the MIDI file and the date. A box above it shows how faithful the result is (see Reading the report).
- Click SAVE, then PLAY to hear the result.
The lines naming settings, tonality or other files on top of the project stay on top. If the project has no settings file yet, create one with the CREATE button: the score sets its own tempo and doesn't need anything special in it.
Two kinds of MIDI files
All standard MIDI files can be imported, whatever their format: format 0 (a single track), format 1 (several tracks played together, the most common) and format 2 (independent sequences, rarely used), whose sequences are imported one after the other. Files timed in frames per second (SMPTE, used with video), rather than in beats, are accepted too.
The converter has two ways of working, depending on where the MIDI file comes from.
MIDI files made from a score
A MIDI file exported by a notation program (MuseScore, Finale, Sibelius…), a sequencer, or the Bol Processor itself places every note exactly on its beat. The converter then finds the beat and the tempo, separates the voices, groups the notes in bars, and writes chords, ties, dynamics (_vel()), legato and pedal changes. The result is close to the score the file was made from, although measures and time signatures are not stored in a MIDI file and have to be guessed.
MIDI files played by a person
When a musician plays a MIDI keyboard, the tempo changes all the time, the notes of a chord are slightly spread, and nothing falls exactly on a grid. The converter follows the musician: it finds the beats, then writes a group of two beats at a time, each with its own tempo (_tempo()), so that the score stays in step with the performance from beginning to end. Each note keeps the strength with which it was played.
The result reproduces the performance: it is not the score that the musician was reading. For example, the first lines of a koto piece played on a keyboard (208 notes, 28 seconds) are:
_mm(60) _tempo(8/3) {2, _vel(54) {1/4,A4} 1/8 _vel(75) {1/8,B4} 1/4 _vel(79) {1/12,B4} 7/6, 3/4 _vel(54) {3/8,A4} 13/24 {5/24,A4} 1/8}
_tempo(21/10) {2, _vel(75) {1/4,B4 -} _vel(79) {1/12,B4} _vel(54) {1/6,A4} 5/12 _vel(113) {1/3,C5} _vel(75) {1/12,B4} 1/6 _vel(79) {1/10,B4} _vel(54) {7/30,A4} {1/6,A4}}
Each line is a group of two beats ({2, …}) with its tempo; the fractions are durations in beats, and the numbers in _vel() are the strength of the notes. The score starts with _mm(60) (a metronome of 60 beats per minute), on which its tempos are based.
The converter tries several versions
For each file, the converter writes several versions of the score (for example with beats of different lengths), has the Bol Processor play each of them, compares what it hears with the original MIDI file, and keeps the most faithful version. You don't have to choose anything.
Reading the report
After the import, the page shows the versions tried and compares the chosen score, as played by the Bol Processor, with the original MIDI file. For the koto piece:
notes: 208 in the input, 206 in the replay, 2 not paired, 0 with another velocity
onsets within 30 ms: 99.0 % (largest difference 48 ms)
note ends within 30 ms: 89.3 % (largest difference 67 ms)
pedal changes: 0 in the input, 0 in the replay
- Notes not paired: notes of the MIDI file not found in the result, or the reverse. A few are normal in very fast repeated notes such as trills.
- Onsets within 30 ms: the share of notes starting at the same time as in the MIDI file (30 milliseconds can't be heard as a difference). This is the main figure: above 95 % the result is excellent, between 85 and 95 % it is good with a few passages displaced. Below 70 %, try again with the box "played by a person" checked if it wasn't, or unchecked if it was.
- Note ends: less important. Differences usually come from notes held by the pedal or cut by the next note of the same key.
- Velocity (strength of the notes) and pedal changes should be the same as in the MIDI file.
If the transcription fails, the page says why, for example that Python is missing, or shows the message of the Bol Processor.
What is not imported
- Instruments (program changes) and controllers other than the pedals are not transcribed. Notes stay on their MIDI channels (
_chan()). - Measures, key and time signature can't be recovered from a performance; for files made from a score, bars are chosen so as to cut as few notes as possible.
- In long pieces with many tempo changes, some notes may come up to a tenth of a second early or late; the notes themselves are all right.
With the AI agent
The import button doesn't need the AI agent. If you have installed it, you can also ask it, in your own words, to transcribe a MIDI file into a new project, to clean up the result (for instance to write it with a steady tempo), or to use it as material for a grammar. The agent can also transcribe a recording of piano music (an audio file) after installing the tools it needs, about 1 GB. See the AI agent.
