Every clip placed in an arrangement’s playlist is one playlist item. An arrangement’s playlist items event (233) holds them all, as fixed-size records with nothing between them. FL Studio 21 lengthened each record from 32 bytes to 60, so the number of items is the event’s size divided by 60. See Record size.
Record
Every number is little-endian. Positions and lengths are in ticks.
| Offset | Size | Type | Name | Description |
|---|---|---|---|---|
| 0 | 4 | u32 | position | Where the item starts in the playlist, in ticks. |
| 4 | 2 | u16 | pattern_base | Always 20480. See What an item plays. |
| 6 | 2 | u16 | item_index | What the item plays: a pattern or a channel. |
| 8 | 4 | u32 | length | The item’s length, in ticks. |
| 12 | 2 | u16 | track | The track the item sits on, counted backwards. See Track numbers. |
| 14 | 2 | u16 | group | The item group: 0 for none, otherwise a number shared by the clips in a group. |
| 16 | 2 | bytes | note_fine_pitch | Always 78 00. FL Studio 2026’s new-clip code sets 0x78 here: the default fine pitch (120) of a note, copied into the clip; no clip meaning. |
| 18 | 2 | u16 | item_flags | Usually 64 (40 00). Bit 13 (0x2000) is muted (FL Studio 2026’s mute step sets it; FLParser is right, DawVert’s 0x1000 is wrong). Bit 15 (0x8000) is selected. Bit 6 (0x40) is the default low byte of every new clip; no behaviour was found for it. |
| 20 | 4 | bytes | note_defaults | Always 40 64 80 80: the default note pan, velocity, mod X and mod Y that FL Studio 2026 copies into every new clip; no clip meaning. |
| 24 | 4 | u32 or f32 | start_offset | Start offset within the item: whole ticks for a pattern clip, a 32-bit float for an audio clip. DawVert and FLParser read it this way; PyFLP reads a float for both. −1.0 or FF FF FF FF is none. FLParser reads the float in beats (it multiplies by the PPQ); DawVert divides an audio clip’s by 4 and by the clip’s stretch rate, and an automation clip’s by 0.008, before multiplying by the PPQ, so the unit is not settled. The viewer shows FLParser’s beats. |
| 28 | 4 | u32 or f32 | end_offset | End offset within the item, read as above. |
| 32 | 28 | bytes | clip | Added in FL Studio 21. See Clip fades and gain. |
Record size
This is the change that sets these files apart from FL Studio 20. The first 32 bytes keep the old layout, and 28 bytes follow them, so every record is 60 bytes long. A reader that still takes 32-byte records reads every item after the first from the wrong place.
PyFLP reads the 28 extra bytes as one unknown field, marked “New in FL 21”. The change came in the FL Studio 21 betas, which were numbered 20.99: Image-Line’s changelog for 20.99 beta 3 says “Added fade in, fade out and gain to audio clips”.
The explorer accepts the event only when its size is a whole number of 60-byte records. Some sizes are a whole number of both 32-byte and 60-byte records, such as 480, so the version string in the project events decides. A further check is that every record has 20480 at offset 4.
Clip fades and gain
DawVert, a converter between DAW formats, reads bytes 32 to 59 for files of version 20.99 and later as below. This is DawVert’s reading; Image-Line has not documented these bytes, and PyFLP leaves them unknown. The field names are this site’s. It fits the changelog entry above, but the units of the fade lengths and the meaning of each flag are not known.
| Offset | Size | Type | Name | Description |
|---|---|---|---|---|
| 32 | 4 | u32 | clip_id | Clip ID. |
| 36 | 4 | f32 | fade_in | Fade-in length. |
| 40 | 4 | f32 | fade_in_tension | Fade-in tension, the shape of the fade-in curve. |
| 44 | 4 | f32 | fade_out | Fade-out length. |
| 48 | 4 | f32 | fade_out_tension | Fade-out tension, the shape of the fade-out curve. |
| 52 | 4 | f32 | volume | The clip’s volume (gain). |
| 56 | 4 | bytes | fade_flags | Fade flags. |
What an item plays
An item plays either a pattern or a channel’s clip, such as an audio or automation
clip. The item_index tells them apart by comparing it with
pattern_base, which is always 20480:
- Greater than 20480: a pattern. The pattern index is
item_indexminus 20480. - 20480 or less: a channel. The value is the channel index.
Track numbers
The track field counts down from the last track, as in FL Studio 20. An
arrangement has 500 tracks, so subtract the field from 499 to get the track:
track index = 499 − track
So the first track, index 0, is stored as 499. PyFLP reads every version from 12.9.1 on this way. The viewer shows the track number as FL Studio does, one more than the index.