--- title: Multitrack MIDI Composer emoji: 🎹 colorFrom: purple colorTo: blue sdk: gradio sdk_version: 6.3.0 app_file: app.py pinned: false license: mit short_description: AI MIDI generation with two transformer models tags: - midi - music-generation - audio - cpu --- # Multitrack MIDI Composer AI-powered MIDI music generation with **two transformer models** to choose from. ## Models ### Multitrack Generator (Genre-based) - Genre-based multi-instrument composition - Uses `juancopi81/lmd-8bars-2048-epochs40_v4` transformer - Builds music instrument by instrument - Supports: ROCK, POP, JAZZ, ELECTRONIC, R&B/SOUL ### SkyTNT MIDI Model (Instrument-based) - Uses `skytnt/midi-model` via ONNX (CPU optimized) - Select specific instruments and drum kits - Event-based generation with fine-grained control - Supports all General MIDI instruments ## Features - Pure Python audio synthesis (py-meltysynth) - In-browser audio playback - MIDI file export - Piano roll visualization - CPU-only (no GPU needed) ## Requirements - CPU-only deployment - ~500MB model downloads on first use - ~6MB SoundFont file included ## Credits - Multitrack Generator: Dr. Tristan Behrens - SkyTNT Model: [skytnt/midi-model](https://github.com/SkyTNT/midi-model)