Logo di Midi Cleanup

Midi Cleanup

Organizzazione
glincker
midi-cleanup

Use when the user asks to humanize a MIDI part, fix voice leading, quantize notes, clean up timing, fix stuck/duplicate notes, or generally polish a MIDI clip they recorded or wrote. Examples - "humanize this hat", "voice these chords better", "the timing is too stiff", "fix the voice leading on the strings".

Panoramica

Autoreglincker
Repositoryableton-skills
Nome della skillmidi-cleanup
Stelle
48
Fork
8
File inclusi
Solo istruzioni
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da glincker su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Midi Cleanup in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/glincker/ableton-skills/tree/main/skills/midi-cleanup
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Nuova skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella nella cartella delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/glincker/ableton-skills.git /tmp/ableton-skills
mkdir -p .claude/skills
cp -r /tmp/ableton-skills/skills/midi-cleanup .claude/skills/midi-cleanup
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Midi Cleanup in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Midi Cleanup non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Midi Cleanup non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

MIDI Cleanup

You are polishing a MIDI clip the user wrote or recorded. Your job: make it feel human, voice-led, and rhythmically appropriate without rewriting their musical intent.

Workflow

1. Identify the target clip

User must specify which clip. If ambiguous, ask:

"Which clip — the lead on track 3 or the chords on track 5?"

Then read the clip with get_notes_from_clip (or equivalent). Note the note count, range, and rhythmic density.

2. Identify the cleanup type

Match the user's request to one of these operations:

A. Humanize velocity

For drums, hats, percussion, or any rhythmic part that feels stiff.

  • Default range: ±10-15 velocity for hats/percussion, ±8-12 for drums
  • Preserve accents: notes already at velocity >100 stay loud; notes <40 stay quiet
  • Add micro-timing offsets: ±5-15 ticks (5-15 ms at 120 BPM) with a slight forward bias on off-beats for groove
  • For shuffled feels: add 2-5% swing on 16th notes
B. Humanize timing

For piano, guitar, or string parts that sound MIDI-stiff.

  • ±8-20 ms timing variance, slightly more on off-beats
  • Chord notes: stagger attack 5-15 ms (top note slightly later) for "rolled" feel — only if the user wants that
  • Don't humanize the downbeat of bar 1 — it's the anchor
C. Voice leading fix

For chord progressions where each chord is in root position closed voicing (the "MIDI chord" sound).

Rules:

  • Keep the bass note in the bass voice
  • Move upper voices by smallest interval to the next chord — usually a step or stay-still
  • Maintain a max interval of an octave between adjacent voices (except bass-tenor which can be wider)
  • For string ensembles: respect ranges (Vln1: G3-G6, Vln2: G3-D6, Vla: C3-A5, Cello: C2-C5, Bass: E1-A3)
  • Avoid parallel fifths and octaves between outer voices (counterpoint baseline)

Apply by reading the current chord notes, computing the optimal voicing for each chord, and rewriting.

D. Quantize (intelligent)

Don't auto-quantize 100% — that destroys feel.

  • Default strength: 75% to 16th-note grid
  • For shuffled genres (hip-hop, lo-fi): 60-70% to a swing grid
  • For tight EDM/house: 90-100% on percussion only, looser on lead/chords
  • Preserve grace notes and intentional pickups (notes within 30 ms of another note ahead of grid)
E. Stuck/duplicate note fix
  • Find notes with duration < 5 ms → delete
  • Find overlapping notes with same pitch → merge or trim to non-overlap
  • Find sustained notes longer than 2 bars in fast parts → suspect, ask user

3. Preview the changes

Before writing, summarize:

"I'll humanize velocity ±12 on the 32 hat notes (preserving the 4 accent hits at velocity 110), and add ±8 ms timing variance with a slight late-bias on the off-beats. Apply?"

4. Apply

Use batch operations if the MCP server supports them (set_clip_notes with the full new note array is preferred over per-note edits — atomic, undoable in one Ctrl+Z).

5. Confirm result

  • State what changed
  • Suggest the user listen and tell you if they want more/less of the effect
  • Offer to revert with one command if it doesn't feel right

Don'ts

  • Don't change pitches unless doing voice leading — and even then, never the melody/lead voice.
  • Don't humanize beyond ±25 velocity or ±25 ms — that becomes noticeable as "bad timing" rather than "human."
  • Don't quantize at 100% unless explicitly requested. Loss of feel is the #1 complaint about MIDI.
  • Don't apply voice leading to a melody. Voice leading is for chords/pads/inner voices, not the lead line.
  • Don't touch the velocity 127 hits — those are intentional accents.
  • Don't merge a clip you just modified. Always leave undo on the table.

Example

User: "The hi-hat sounds too robotic, humanize it"

Steps:

  1. Read the hat clip — 32 16th notes, all velocity 100, perfectly on grid.
  2. Plan: ±12 velocity (preserve any accents), ±8 ms timing with off-beat late-bias of +3 ms, slight 4% swing.
  3. Preview: "32 notes, no existing accents detected. I'll spread velocity 88-112, add 8 ms timing variance, 4% swing on off-beats. Apply?"
  4. On confirm, rewrite the clip atomically.
  5. Report: "Done. Listen — if it's still too tight, say 'more humanize' and I'll go to ±18 velocity."

Domande frequenti

Cosa fa la skill IA Midi Cleanup?

Use when the user asks to humanize a MIDI part, fix voice leading, quantize notes, clean up timing, fix stuck/duplicate notes, or generally polish a MIDI clip they recorded or wrote. Examples - "humanize this hat", "voice these chords better", "the timing is too stiff", "fix the voice leading on the strings".

Perché usare Midi Cleanup su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Midi Cleanup è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Midi Cleanup in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/glincker/ableton-skills/tree/main/skills/midi-cleanup. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Midi Cleanup?

Qualsiasi modello che colleghi in TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Midi Cleanup?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Midi Cleanup: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Midi Cleanup è gratuita?

Sì. È pubblicata su GitHub da glincker con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, modelli o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇