laolei-llm-midi for Openclaw

A professional AI music assistant that transforms natural language descriptions into multi-track, standard MIDI files for production and performance.

lrjxgl
v1.0.0
Mar 20, 2026
0
825
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install laolei-llm-midi

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install laolei-llm-midi using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is laolei-llm-midi?

laolei-llm-midi is a sophisticated music generation tool designed to bridge the gap between creative intent and technical execution. By leveraging large language models within the Openclaw Skills ecosystem, it allows users to specify instruments, styles, tempos, and keys using plain English or Chinese to produce high-quality MIDI data.

The tool is ideal for composers, hobbyists, and developers who need rapid prototyping of musical ideas. Whether you are looking for a simple piano melody or a complex jazz arrangement with drums and bass, this skill automates the technical MIDI encoding process, delivering files ready for use in professional DAWs or web-based players.

laolei-llm-midi Use Cases

  • Rapidly prototyping song ideas by describing genres and instrumentations.
  • Generating backing tracks for practice sessions (e.g., rock guitar accompaniment or jazz rhythm sections).
  • Creating MIDI building blocks for further editing in professional DAWs like Logic Pro or Ableton Live.
  • Automated generation of musical assets for games or apps using Openclaw Skills.

How laolei-llm-midi Works

  1. The user provides a natural language prompt specifying musical parameters such as instrument (GM number), key, BPM, and length.
  2. The AI interprets the request and maps it to musical structures, including Note On/Off events, velocity, and pitch bends.
  3. The skill generates a Standard MIDI File (Type 1) containing multi-track data.
  4. The output is saved as a .mid file which can be downloaded, played in a browser, or imported into digital audio workstations.

laolei-llm-midi Setup

To integrate this skill into your environment, ensure you have the Openclaw Skills framework configured. Use the following command to initiate the MIDI assistant:

# Example of triggering the midi generation within a compatible CLI environment
openclaw run laolei-llm-midi --prompt "Create a 4/4 piano piece in C major, 120 BPM, 32 bars"

Generated files are typically stored in the project's output directory as standard MIDI assets.

laolei-llm-midi Data Schema & Taxonomy

The skill utilizes the General MIDI (GM) standard for instrument mapping and adheres to the SMF Type 1 specification. Data is organized as follows:

Attribute Description Values/Examples
Instrument ID MIDI Program Change number 0 (Piano), 25 (Acoustic Guitar), 32 (Bass)
Channel 9 Dedicated Percussion Channel Used exclusively for drum kits and rhythm tracks
Tempo Beats Per Minute (BPM) Integer values (e.g., 60, 120, 140)
Time Sig Rhythmic signature 4/4, 3/4, 6/8
Events MIDI Message data Note On/Off, Velocity, Control Change (CC)

laolei-llm-midi Advanced Features

  • Multi-track support allowing for distinct instrument parts (Melody, Bass, Rhythm) within a single file.
  • Full support for Pitch Bend and Control Change messages for more expressive AI-generated performances.
  • Seamless compatibility with web-based DAWs for immediate previewing and playback of Openclaw Skills outputs.
  • Precise control over musical duration via bar/measure count specifications (e.g., 8, 16, 32, or 64 bars).

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*