LILA
Type-1 Multi-Track .MID · 480 PPQ · Zero Uploads

Convert Strudel Patterns to Multi-Track MIDI (.mid)

Extract exact cycles from Strudel code into FL Studio Piano Roll, Ableton Live, Logic Pro, or hardware synths as Type-1 multi-track .mid files with GM drums and CC automation.

100% Client-Side RenderZero Uploads · PrivateStrudel 1.3.0 + Aether HD
Loading LILA Strudel IDE & Offline Audio Engine…

Exporting from strudel.cc?

Copy any strudel.cc/#... share URL from your browser address bar and click Paste above (or drag and drop a .strudel / .js file onto the editor) to decode your pattern locally with zero server uploads.

100% Local Decode
Client-Side Workflow

How to Export Strudel Code as Standard MIDI (.mid)

1. Paste Code or strudel.cc/# URL

Paste your Strudel layers ($drums, $bass, $chords, stack(), arrange()) or any strudel.cc/# share URL into the live editor.

2. Inspect Notes, Piano Roll & MIDI Options

Toggle Type-1 multi-track vs per-layer ZIP, GM Channel 10 drum mapping, optional grid quantization, and .lpf/.pan/.room MIDI CC lanes.

3. Drop Straight into Your DAW Piano Roll

Download an SMF Type-1 .mid file at 480 PPQ with tempo track intact and drag it onto FL Studio, Ableton Live, Logic Pro, or Reaper.

Audio Specifications

Strudel MIDI Export Engine Specifications

Every hap (musical event) is evaluated deterministically across your exact bar range inside the sandboxed Strudel 1.3.0 runtime before encoding standard binary SMF bytes.

FeatureSpecificationDAW Benefit
SMF FormatType-1 Multi-Track (.mid) & Per-Layer .zipSeparates $drums, $bass, $chords into independent DAW lanes
Timing Resolution480 PPQ (Ticks Per Quarter Note)Preserves microtiming, Euclidean swing, and off-grid offsets
Drum MappingGeneral MIDI Channel 10 (bd->36, sd->38, hh->42, cp->39)Drives FL FPC, Ableton Drum Rack, and Logic Drum Kit Designer
Controller AutomationCC 74 (lpf), CC 10 (pan), CC 91 (room), Pitch BendTranslates Strudel continuous signal sweeps into editable DAW curves
Live PreviewInteractive Piano Roll + Cycle PlayheadInspect polyphony, note lengths, velocities, and chords before export

Built for FL Studio, Ableton Live, Logic & Hardware Sequencers

480 PPQ Precision

Capture Euclidean Rhythms & Micro-Swing

Unlike naive text parsers that flatten nested [ ] or (3,8) rhythms, LILA queries the live Strudel pattern engine cycle by cycle so tuplets and swing translate cleanly.

GM Ch 10 & CC Lanes

Drums & Modulation Ready Out of the Box

Drum sample names like bd, sd, hh, oh, cp, and rim map automatically to standard General MIDI percussion keys on Channel 10, alongside filter cutoff, pan, and reverb CC automation.

100% Client-Side

Instant Export & Optional Live Web MIDI Out

Standard MIDI bytes generate in milliseconds inside your browser. Want real-time hardware control? Open Live MIDI Out in LILA IDE to drive synths directly.

Supported Strudel 1.3.0 & LILA Synthesis Features

Read LILA Strudel Manual
Strudel 1.3.0Mini-Notation$: Multi-Layer Stackssetcps() / setCpm()arrange() Multi-SceneBuilt-in Drum SamplesAether HD Voicesslider() & presets()
Tempo & Export Length Calculator

Convert BPM to Strudel setcps() & Loop Size

Calculate exact cycle timing in Strudel and estimate uncompressed WAV, lossless FLAC, and 320 kbps MP3 output size before baking.

Beats per Bar / Cycle4/4 feel

4 beats = standard house, trap, techno & pop; 3 for waltz; 5 or 7 for odd-meter grooves.

1-loop render length: 15.7s

Exact Strudel Calls (0.5083 cps · 30.50 cpm)
setcps(122/60/4)setcpm(122/4)
Estimated 8-Bar Export Size (15.7s)

Stereo 2-channel output at full tempo lock

WAV 24b: ~4.3 MBFLAC 24b: ~2.4 MBMP3 320: ~615 KB

Strudel to MIDI Frequently Asked Questions

Can I populate FL Studio Piano Roll or Ableton clips from Strudel code?

Yes. Export a Type-1 Multi-Track .mid file (or Per-Layer MIDI ZIP) and drag it straight into FL Studio Channel Rack / Piano Roll or Ableton Live Arrangement View with tempo and separate tracks preserved.

How does Strudel drum notation map to MIDI notes?

With GM Drum Map enabled, kick (bd) maps to note 36 (C1), snare (sd) to 38, closed hat (hh) to 42, open hat (oh) to 46, and clap (cp) to 39 on MIDI Channel 10.

Are Strudel filter sweeps (.lpf) and panning (.pan) preserved in MIDI?

Yes. When CC Automation is enabled, LILA writes MIDI CC 74 (brightness/filter cutoff from .lpf), CC 10 (stereo pan from .pan), CC 91 (reverb depth from .room), and pitch bend offsets.

What is the difference between Type-1 Multi-Track MIDI and Per-Layer ZIP?

Type-1 Multi-Track puts all layers plus the tempo map inside one .mid file so most DAWs split tracks automatically on import. Per-Layer ZIP writes one standalone .mid file per layer.

Does exporting MIDI upload my Strudel script to any server?

No. Pattern evaluation and Standard MIDI binary serialization execute 100% locally in your browser with zero uploads and zero Spark cost.

Switch formats anytime or explore the full LILA live-coding workspace and documentation.

Booting Strudel Engine...

Strudel Evaluation Terminal (0)

Unknown

Unknown Artist