Each pattern starts with a New pattern event (65), whose value is the pattern number. The 1999 document describes patterns as step-sequencer data: note-on events with a step position and a family of “dot” events for the settings of each step. Later files store notes as records in a single pattern notes event instead. When that change happened within this era is not recorded.
Pattern
| ID | Size class | Name | Holds |
|---|---|---|---|
| 0x01 (1) | Byte | Note on | A note on a step, with the step position as a byte. |
| 0x11 (17) | Byte | Pattern length | The length of a pattern in steps, such as 16 or 32. Later readers use this ID for the time signature. In files older than 1.4.0, FL Studio 5’s reader divides it by the block length (event 18). |
| 0x12 (18) | Byte | Block length | The steps in one block of a pattern, such as 4 or 8. Later readers use this ID for the time signature. From 1.4.0 to 3.6.2, FL Studio 5’s reader divides the pattern length by it; if the length is not a multiple, the block becomes 1. |
| 0x1A (26) | Byte | Pattern looped | Whether the pattern loops, from version 2.5. |
| 0x41 (65) | Word | New pattern | Starts a pattern. The value is its number; FL Studio 5’s reader keeps it to 999 at most (it has 1000 pattern records). |
| 0x43 (67) | Word | Current pattern | The pattern selected when the project was saved. |
| 0x44 (68) | Word | Pattern data | Not described. |
| 0x5B (91) | Word | Step | One step that plays. See Step data. |
| 0xC1 (193) | Text | Pattern name | The pattern’s name. |
| 0xDF (223) | Data | Pattern controllers | Controller changes, as controller records. Known from LMMS. |
| 0xE0 (224) | Data | Pattern notes | The notes, as 20-byte note records. In files older than 3.1.6, FL Studio 5’s reader sets byte 13 of every note record to 0x78. |
Step data
The 1999 document names the step events but does not describe them. This section comes from the files examined for this site, from 1.3.80 to 5.0.2. Step data sits inside each channel: after a channel’s own events comes a New pattern event, then the steps of that channel in that pattern, then perhaps another New pattern event. A pattern’s steps are therefore spread across the channels that play in it.
40 00 00 New channel 0
… the channel’s settings
41 01 00 New pattern 1
4D 00 33 5B 00 01 step 0: note 0x33, then Step
4D 02 3F 5B 02 01 step 2: note 0x3F, then Step
41 05 00 New pattern 5
40 01 00 New channel 1
Each step event is a word whose low byte is the step, counted from 0, and whose high byte is its value. A Step event (91) marks a step that plays; the settings of a step come just before it. In the files seen, the value of a Step event is usually 1, and sometimes another value such as 0x40 or 0x41. FL Studio 5’s reader stores a Step event as kind 7 of the same step array (volume 1, pan 0, cutoff 2, resonance 3, pitch 4, shift 5, note 6, Step 7), so its high byte is a setting like the others; what that setting is, is not known.
For every kind the reader takes the value as the step in the low byte and the setting in the high byte. It converts some values in older files: for resonance and cutoff (87 and 88) before 2.0.0 and up to 3.2.2, and for shift (92) before 2.1.0, where the value is scaled by 48 ÷ 255. The formulas for 87 and 88 were not recorded.
The value of a Step note event (77) is the key, with 60 as C5. A setting can be stored for a step that does not play.
Step settings
The 1999 document lists one event per setting a step can carry. All of them are laid out as above, a step and then a value.
| ID | Size class | Name |
|---|---|---|
| 0x48 (72) | Word | Step volume (kind 1) |
| 0x49 (73) | Word | Step pan (kind 0) |
| 0x4D (77) | Word | Step note (kind 6) |
| 0x4E (78) | Word | Step pitch (kind 4) |
| 0x4F (79) | Word | Step mix (the PM button’s mix wheel; FruityLoops 1.4 to 1.5, removed in 2.5.0; not read by FruityLoops 3 or FL Studio 5) |
| 0x57 (87) | Word | Step resonance (kind 3) |
| 0x58 (88) | Word | Step cutoff (kind 2) |
| 0x5C (92) | Word | Step shift (kind 5) |
Later readers treat IDs 72 and 73 as old forms of the channel volume and pan. In the files examined for this site they hold a step and a value, as the 1999 names say.
Other pattern events
These IDs are listed by public readers, but no source says what they hold or which versions write them:
| ID | Size class | Name | Holds |
|---|---|---|---|
| 0x60 (96) | Word | Step release old | PyFLP lists _DotRel, commented out: 1999-style step data. No file is known to use it. |
| 0x97 (151) | Dword | Pattern auto mode | DawVert’s list names it PatAutoMode. Valid, meaning unknown: FL Studio 5 reads it into the pattern record and writes it after the pattern colour (150), in project files only; the value is 0 in every real file seen (FL Studio 3.6.6 to 5.0.2). FruityLoops 3 and FL Studio 2026 skip it, and builds from 10.9 do not write it. |
| 0xDE (222) | Data | Note events | DawVert’s list names it NoteEvents. flpdiff calls it an older per-track data event, replaced by 238 and absent from FL Studio 25 saves. No source gives its layout. Invalid: skipped by FruityLoops 3, FL Studio 5 and FL Studio 2026 and never written by them; no file holds it. |