Files from this era store the playlist in one of two ways. Older files give every placed pattern its own small event (129). Files from FL 3.6 to 5.0 gather the items into one playlist items event (233) of 28-byte records, in two forms. A reader should handle both events. The version that made the change is not recorded.
One event per item
Event 129 is a dword, one per placed pattern: a 16-bit position followed by a 16-bit pattern number.
| Offset | Size | Type | Name | Description |
|---|---|---|---|---|
| 0 | 2 | u16 | Pos | Where the pattern is placed. LMMS reads it in bars. |
| 2 | 2 | u16 | PatNum | The pattern number. LMMS subtracts one to get the pattern. |
Many items in one event
Event 233 holds a run of 28-byte records, seen in files from FL 3.6 to 5.0. LMMS’s
old importer and node-flp read the same size. FL Studio 5’s code settles the boundary:
its list of items has an item size of 28 bytes and the writer writes count × 28, and
its reader treats the event of a file older than 3.6.6 as 20-byte records (the first 20
bytes of the layout below, without the two offsets at 20 and 24), which it copies into
the first 20 bytes of each 28-byte item. The viewer does the same. There are two forms, a channel clip and
a pattern clip, and they are told apart by where the constant 20480
(00 50) sits: at offset 4 in a channel clip, and at offset 6 in a pattern
clip, which has 0 at offset 4. All numbers are little-endian, and positions and
lengths are in ticks. Fields marked “probably” are inferred from the values seen, not
documented.
Channel clip
A clip that plays a channel, such as an audio clip or an automation clip. The constant at offset 4 sits where the later 32-byte records have it.
| Offset | Size | Type | Name | Description |
|---|---|---|---|---|
| 0 | 4 | u32 | position | Where the clip starts in the playlist. |
| 4 | 2 | u16 | Always 20480 (00 50). | |
| 6 | 2 | u16 | channel | The channel the clip plays. |
| 8 | 4 | u32 | length | How long the clip lasts. |
| 12 | 1 | u8 | track | Probably the playlist track, counted backwards. |
| 13 | 1 | u8 | 120 (78 hex) in the files seen: the default fine pitch of a note. FL Studio 2026’s converter for old files moves it to byte 16 of its 32-byte item and sets bytes 17 and 18 to 0. | |
| 14 | 2 | u16 | flags | FL Studio 2026’s converter takes byte 14 as the high byte of the track (the track is byte 12 plus byte 14 times 256), so this is not a flags word as earlier notes had it. Later records’ muted bit is 0x2000 and their selected bit 0x8000 in a separate field. |
| 16 | 4 | Unknown. 40 64 80 80 in the files seen. | ||
| 20 | 4 | f32 | start | Start offset. −1.0 for none. FLParser reads such floats in later records as beats; DawVert scales them differently, so the unit is not settled. The viewer shows beats. |
| 24 | 4 | f32 | end | End offset. −1.0 for none. |
Pattern clip
A clip that places a pattern.
| Offset | Size | Type | Name | Description |
|---|---|---|---|---|
| 0 | 4 | u32 | position | Where the clip starts in the playlist. |
| 4 | 2 | u16 | Always 0. | |
| 6 | 2 | u16 | Always 20480 (00 50). | |
| 8 | 4 | u32 | length | How long the clip lasts. |
| 12 | 4 | u32 | pattern | A pattern code. LMMS and node-flp take the pattern as 2278 minus the low 12 bits. |
| 16 | 4 | Unknown. 40 64 80 80 in the files seen. | ||
| 20 | 4 | start | FF FF FF FF in FL 3 and 4 files, the float −1.0 in FL 5 files. | |
| 24 | 4 | end | FF FF FF 7F in FL 3 and 4 files, the float −1.0 in FL 5 files. |
For example, a pattern code of e4 78 03 00 has 0x8E4 in its
low 12 bits, and 2278 − 0x8E4 gives pattern 2.
How many playlist tracks these versions have is not documented.