- Home
- Skills
- Game Development
- MIDI Maker Studio
Works with the AI Agents you already use
MIDI Maker Studio
Develop and extend a multitrack MIDI composition engine and Electron playback app.
$1
MIDI Maker Studio
Example session with this skill installed
Add a new 'Techno' genre to genres.ts. Use a four-on-the-floor drum pattern, a 130 BPM tempo, and a high-energy synth lead track.
- Read your context and instructions
- Compiled the midi maker studio
I have added the Techno genre to the engine. This includes the 130 BPM configuration, the four-on-the-floor kick pattern, and the synth lead track assignment.
Updated Genre Definition
// src/engine/genres.ts
export const TECHNO_GENRE: GenreProfile = {
id: 'techno',
name: 'Techno',
bpm: 130,
tracks: [
{
name: 'Kick & Percussion',
program: 0, // Standard Kit
channel: 9, // MIDI Channel 10
style: 'four-on-the-floor'
},
{
name: 'Sub Bass',
program: 38, // Synth Bass 1
channel: 1,
style: 'rolling-eighths'
},
{
name: 'Main Lead',
program: 81, // Lead 2 (Sawtooth)
channel: 2,
style: 'syncopated-stabs'
}
],
progression: ['Am', 'Am', 'F', 'G']
};
Next steps
- Run
npx vite-node scripts/check-styles.tsto verify the new Techno patterns stay on the beat grid. - Add the corresponding
rolling-eighthsbass logic tosrc/engine/drumPatterns.tsorcomposer.ts. - Verify the
Lead 2sample is available inpublic/samples/for playback.
Connects securely to your tools. The creator never sees your data.
About this skill
Writing MIDI generation logic by hand is prone to timing errors and rhythmic collapse. This skill manages the development of MIDI Maker Studio, a desktop application that procedurally composes multitrack MIDI files and plays them back using sampled General MIDI instruments. It ensures your genre definitions, instrument mappings, and rhythm patterns remain distinct and musically coherent.
What it does
- Genre composition handles the logic for writing tracks based on specific genre profiles in
src/engine/composer.ts. - Rhythmic patterning defines drum hits, basslines, and chord stabs using quarter-note beat timing.
- Instrument mapping links GM program numbers to specific audio samples for multi-instrument playback.
- Electron packaging provides specific build commands for Apple Silicon and resource path management.
- Style validation uses internal scripts to ensure rhythms stay on the grid and patterns do not overlap incorrectly.
How it works
- Define the genre by adding tempo, chord progressions, and style names to the
genres.tsengine. - Implement patterns for drums, bass, and melodies using beat-based offsets in the engine files.
- Map samples to the corresponding GM programs to ensure the playback engine loads the correct audio assets.
- Verify the build by running the style checker to prevent rhythmic collapse across tracks.
Frameworks & tools
Built with Node 22, Electron, and Vite. It utilizes a custom mms-sample:// protocol for loading assets in the packaged application and relies on vite-node for script execution.
Why this beats prompting it yourself
Writing MIDI engines requires strict adherence to beat grids and channel assignments that general models often hallucinate. This skill is grounded in the specific file structure and timing logic of the MIDI Maker Studio repository, preventing common errors like sending all tracks to a single synth or breaking the Electron asset paths.
Use cases
- Add a new musical genre like Synthwave or Bossa Nova with custom patterns.
- Debug instrument mapping issues where the wrong sample plays for a GM program.
- Fix timing drift in the composer or playback engines.
- Configure Electron build settings for unsigned Apple Silicon distribution.
Known limitations
Requires Node 22 for execution. The playback engine specifically expects quarter-note beat timing and maps drums exclusively to MIDI channel 10.
Requires Node 22. MIDI timing is strictly quarter-note beats. Drums are locked to MIDI channel 10. App packaging is configured specifically for Apple Silicon mac-arm64.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 5 days ago
Requires
Permissions
Allowed Hosts