🎼 MidiCreator
MidiCreator writes music with MIDI-generation models. It continues the music you already have, composes something new inside a frame you set, or gives selected notes new pitches. Every run returns several variants, so you listen, compare and keep the one you like.
What it is, and where to find it
MidiPilot is a language model that edits your file with tools. The models behind MidiCreator are of a different kind: they are trained on MIDI files and write the notes themselves. They read no text - you steer them with the music you give them and with the settings on the panel.
💡 Find it in: the tab MidiCreator of the MidiPilot dock, next to MidiPilot, Song Plan, Transcribe and Monitor. Three right-click entries lead there with the position already set: Continue from Here with MidiCreator… on the ruler, and Continue Selection with MidiCreator… and Re-pitch Selection with Orpheus… on selected notes.
The panel has three modes:
| Mode | What the model gets | What you get |
|---|---|---|
| Continue | A stretch of your music - the selected notes or the bars before the cursor | Variants that carry on after it, in its key, meter, tempo and instruments |
| Compose new | A frame: instruments, drum kit, tempo, meter and key | Variants of a new piece inside that frame |
| Re-pitch | The selected notes and the music around them | The same notes with new pitches - rhythm, lengths, velocities and instruments stay |
Choosing a model
The Model list holds everything MidiCreator can run:
- midi-composer (skytnt) on its Hugging Face Space - 8 variants per run. It takes tempo, meter, key, instruments and a drum kit directly, and a seed makes a run repeatable. Fine-tuned variants for J-pop and Touhou game music are in the same list.
- Orpheus Music Transformer (Project Los Angeles) on its Space - 10 variants per run. It reads a longer stretch of the song and is the strongest choice for continuing one. It works in milliseconds, not beats; its notes are put on the song's own grid - sixteenths when the song keeps to sixteenths.
- Models on this PC - every entry ending in (native) runs inside the editor. Nothing is sent anywhere and no quota is spent. Models… next to the list downloads them; see Models on This PC.
Check asks the Space whether it is running and reads its current models. Whether the models on this PC run on the processor or the graphics card is set in Settings → MIDI Models; the line at the bottom of the tab names it. With a model on this PC chosen, the tab does not contact the Space on its own - only Check does.
The model chosen here counts the moment it is chosen: MidiPilot's Creator mode and the generator tools of MidiPilot and MCP clients run it whenever they name no model of their own. While a run works, the status line names the model and where it runs - this PC, or the Space or server it goes to - and the result says the same.
Continue
In Continue the music itself is the prompt. The model hears it and goes on, keeping key, meter, tempo, instruments, rhythm and density.
- Selection - the selected notes are the prompt; the model continues after the last of them. The selection is read when you click Generate.
- Bars before the cursor - the given number of bars before the cursor are the prompt. Move the cursor, or right-click the ruler and choose Continue from Here with MidiCreator….
The line under the options says what will be sent, for example Cursor in bar 17: the 8 bars before it are the prompt. A prompt that is longer than the model can read is shortened from the front by whole bars, and the status line says by how many. On the processor the Orpheus models read about a third of what they read on a graphics card, so more bars are left out there.
Compose new
Compose new starts from nothing but a frame:
| Setting | What it sets |
|---|---|
| Instruments | The instruments of the piece, up to 15. Their number is the number of voices. Filter instruments… narrows the list, From document checks the instruments the open document uses, Clear unchecks all. With none checked the model chooses. |
| Drums | The drum kit, or None |
| Tempo | The tempo the model is asked for. All the way down is auto: the model chooses. |
| Meter | The time signature, or auto |
| Key | The key, or auto |
The lists are part of the editor: the 128 General MIDI instruments, and the drum kits, meters and keys the models were trained with. They are there offline and with a model on this PC, and each instrument reaches the model as its General MIDI program. A run on a Space checks the frame against that Space's own lists and says what it does not accept.
Re-pitch
Re-pitch keeps a passage and changes only its notes' pitches. Select the notes, choose a native Orpheus model, and click Generate: Orpheus hears the bars before the selection and everything that plays along with it, and proposes new pitches for exactly the selected notes. Rhythm, lengths, velocities and instruments stay as they are. The right-click entry Re-pitch Selection with Orpheus… on selected notes opens the tab with Re-pitch and the selection already set.
Bars before the selection the model hears sets how much of the music leading up to the passage Orpheus listens to. Each variant in the list says how many of the pitches it changed.
When another model was chosen, Re-pitch switches to the first native Orpheus model and the status line says which one is the chosen model now. When the selection is longer than one run can read, the bars at its front are left out: the status line says how many of the selected notes reach the model, and the others keep their pitches.
Generation settings
| Knob | What it does |
|---|---|
| Length | The number of MIDI events to generate. More events give a longer result and take longer. |
| Temperature | How freely the model chooses: lower stays closer to the prompt and the style, higher takes more chances. |
| Top-p | Only the most likely next events that together reach this share are considered. |
| Top-k | Only this many of the most likely next events are considered. |
| Seed | random gives new variants every time. With a fixed seed the same settings and the same prompt give the same variants again - change one knob and compare. |
Generate starts the run, Cancel stops waiting for it. The status line reports the job, the number of variants, the time it took and the seed that was used. When a Space or server answers with an error, the status line says what it means and what to do - for example that the address is not found, that the token was refused, or that a Space is busy or still starting and the run can be tried again shortly.
Variants
A finished run of this tab fills the Variants list - one line per variant with its number of new notes and the bars it covers. The list keeps its variants while other runs come and go: a run that fails or is cancelled leaves them, and so does a run MidiPilot, an MCP client or the Song Plan starts. The box above the list names every run that is kept - this tab's, MidiPilot's, each MCP client's, the Song Plan's and MidiPilot Creator's - with the one the list shows selected; choose another one to see its variants. A run of MidiPilot or an MCP client fills the list by itself only when it is empty.
- Play plays the selected variant on its own, with the instruments the model gave it. A Continue variant starts with the bars it continued from, so you hear how it carries on. Play New Part plays only what is new - from where the source ended, or from the first new note when the model began a little earlier. Stop ends it. Nothing is added to a document for this.
- Open as tab (or a double-click) opens the variant as a new untitled document to listen to. The tab is named with the model that wrote it, for example MidiCreator #7 v1.orpheus-medium-4bit.mid, and Save suggests that name.
- Insert into source adds the new notes of a Continue variant to the document the prompt came from, into the tracks that play those channels in the prompt's bars - the same way the Song Plan and MidiPilot's Creator mode write. With As new tracks ticked, each channel's new notes go into a new track instead, named after the track they continue. A new note is left out where a note of the same key already starts, and a note still sounding where a new one of its pitch starts ends there. The status line says when the new part begins before the bar where the prompt ended. It is one undo step: Ctrl+Z removes the variant again.
- Apply to source gives the notes the Re-pitch run was made for - the ones selected when it started, whatever is selected now - the pitches of a Re-pitch variant. A new pitch that another note of the chord already has stays out. It is one undo step: Ctrl+Z restores the old pitches.
Insert and Apply are off for the runs of the Song Plan and of MidiPilot's Creator mode: those placed their variant themselves, and inserting it again would put it in twice. Open such a variant as a tab to look at it.
To grow a piece, insert a variant and continue again from its end: each step goes into the same tracks.
While the Song Plan builds a song, the generator belongs to the build until it is done or stopped - also while it waits for you to pick a variant - so Generate answers that a song is being built. Runs on a Space and a transcription can run side by side; only a model on this PC and a transcription wait for each other, because both use this PC's processor or graphics card.
To describe bars in words instead of setting the knobs, use MidiPilot's Creator mode: it uses the model chosen here, places every variant in the document for listening, and lets you keep one.
Right-click the ruler at the end of the music, generate, listen to the new part of two variants and insert one - the piece carries on.
Connection and account
What you set once lives in Settings → MIDI Models, so the tab keeps only what you choose for a run. One line at the bottom of the tab shows it:
- Servers - where the Space models run: the public Hugging Face Spaces, or the server of a
local copy you entered. The address of a Space's page on Hugging Face (huggingface.co/spaces/...) can
be entered as well; it is turned into the Space's own address. A local copy of an older Gradio
version, which serves its functions without the
/gradio_apipart of the address, works too. - Account - whose Hugging Face token the runs on a Space carry: the provider profile chosen in the settings, or anonymous. Without a token the runs count against the small anonymous GPU quota; with one they count against your own account.
- AI tools - whether MidiPilot and MCP clients may use the generator and the transcriber.
- Models on this PC - whether they run on the processor or the graphics card.
Settings… at the end of the line opens that settings page. A change there shows in the line at once; a generation that is already running keeps its server and its token, the next one uses the new ones.
With a Space model, the prompt material - the selection or the bars - is sent to that server. With a model on this PC nothing leaves the machine.
Letting MidiPilot and MCP clients generate
The box Let MidiPilot and MCP clients use the generator and the transcriber in Settings → MIDI Models hands the generator to the AI: MidiPilot's Agent mode and connected MCP clients get tools to start a generation, look at the variants, apply one, build a whole song from a plan, and transcribe a recording - together with a guide on how to steer the models. See Generator and transcription tools.
A request like "continue the song by eight bars and pick the variant that keeps the bass line" then runs in the chat: the AI generates, reads the variants, and inserts the one that fits.
See also
- Song Plan - a whole song from a description, built section by section with these models.
- Models on This PC - downloading the models that run inside the editor.
- Transcribe - turning a recording into MIDI.
- Monitor - what the local models use of the processor, memory and graphics card.
- MIDI Models settings - servers, Hugging Face account, AI tools and device.
- MidiPilot Settings and Providers - where the Hugging Face profile and its token live.
