The mixer is a row of inserts, each with a set of effect slots. Inserts have no New event: their events appear insert by insert, in mixer order. A slot’s plugin is described by its plugin events, and the slot index event then closes the slot. See The order of an insert.
PyFLP counts 127 insert slots in files from version 12.9 on: 125 numbered inserts, the master and a “current” insert, each with 10 effect slots. No source records a change in FL Studio 21.
Mixer
| ID | Size class | Name | Holds |
|---|---|---|---|
| 0x1D (29) | Byte | Plugin delay compensation | Whether automatic plugin delay compensation is on. |
| 0xE1 (225) | Data | Mixer parameters | Mixer settings, as a block of binary data. |
Inserts
| ID | Size class | Name | Holds |
|---|---|---|---|
| 0x5F (95) | Word | Insert icon | The insert’s icon. |
| 0x93 (147) | Dword | Insert output | The insert’s audio output. |
| 0x95 (149) | Dword | Insert colour | The insert’s colour, from FL Studio 4. |
| 0x9A (154) | Dword | Insert input | The insert’s audio input. |
| 0xCC (204) | Text | Insert name | The insert’s name, from FL Studio 3.5.4. |
| 0xEB (235) | Data | Insert routing | Which inserts this one sends to, as a block of binary data. |
| 0xEC (236) | Data | Insert flags | The insert’s switches, as a block of binary data. |
Slots
| ID | Size class | Name | Holds |
|---|---|---|---|
| 0x62 (98) | Word | Slot index | Closes the effect slot with this number; the plugin events before it fill the slot. |
Other mixer events in these versions
| ID | Size class | Name | Holds |
|---|---|---|---|
| 0x2A (42) | Byte | Mixer slot byte | A byte written for each insert, before its flags (236), after its colour; first seen in 20.99.3000.3213. FL Studio 2026’s writer emits it in the loop that writes the mixer parameters (225); FL’s own name is not known. |
| 0xA5, 0xA6 (165, 166) | Dword | Record dwords | Two dwords written for every insert between the routing (235) and the input (154), first seen in 20.9.0.2734. FL’s own names are not known. |
The order of an insert
The 15 projects from 20.99 to 21.2 among the real files checked write an insert’s events in this order: colour (149), the mixer byte 42 (first seen in 20.99.3000.3213), icon (95) and name (204), each only if set; flags (236); ten slots; routing (235); the two dwords 165 and 166; input (154); output (147), which ends the insert. The first insert, the master, starts with 42 and has no name. DawVert and flpkit agree on the first event, flpdiff and PyFLP on the last. Inserts count from 0 in file order; flpkit found FL Studio’s own wrappers agree with that count on all but 1 of 3,545 slot plugins. PyFLP numbers them one lower, from −1, for a “current” insert first.
How slots are stored
A slot’s plugin events come first, and its slot index event (98) closes it: the value is the slot’s number, 0 to 9. An empty slot is just the index event. The slot’s plugin is 201, 212, 203 (only if renamed), 155, 128, the plugin switch 41 (first seen in 20.99.3000.3213) and 213 in that order. DawVert, flpkit and flpdiff all read it this way, and the plugin wrapper (212) repeats the slot number.
Insert properties (event 27)
A byte. LMMS’s importer reads bit 3 (value 8): set means the insert is on, clear means
it is muted. DawVert’s list calls the event FXProps. Bit 3 of the flags
word of event 236 has the same meaning, so this is probably its earlier form.
Insert flags (event 236)
| Offset | Size | Type | Name | Description |
|---|---|---|---|---|
| 0 | 4 | f32 | latency | DawVert’s reading; PyFLP and flpdiff leave these bytes unknown. |
| 4 | 4 | u32 | flags | See below. |
| 8 | 4 | bytes | unknown | Unknown; DawVert writes zeroes, and the dword is zero in all 8,147 events of this 12-byte form checked. |
| Bit | Meaning |
|---|---|
| 0 | Polarity reversed |
| 1 | Swap left and right |
| 2 | Effects on |
| 3 | Enabled |
| 4 | Threaded processing off |
| 6 | Docked in the middle |
| 7 | Docked on the right; neither bit means left |
| 10 | Separator shown |
| 11 | Locked |
| 12 | Solo |
| 15 | Audio track |
| 5, 8, 9, 13, 14 | Unknown |
Insert routing (event 235)
One byte for each insert in the mixer, in order: non-zero means this insert sends audio to that one. The send levels are the mixer parameters 64 to 191 below. The event is 127 bytes long in every real file checked from 20.99 to 21.2.
Mixer parameters (event 225)
A run of 12-byte records. Each sets one parameter of an insert or slot; a parameter left out has its default.
| Offset | Size | Type | Name | Description |
|---|---|---|---|---|
| 0 | 4 | bytes | reserved | Unused by every reader. |
| 4 | 1 | u8 | id | The parameter. See below. |
| 5 | 1 | u8 | control_high | LMMS and DawVert read this and id as one 16-bit control; LMMS matches volume as 0x1FC0. PyFLP leaves it unknown. |
| 6 | 2 | u16 | location | Insert in bits 6 to 12, slot in bits 0 to 5. |
| 8 | 4 | i32 | value | In the units below. |
| ID | Parameter | Values |
|---|---|---|
| 0 | Slot enabled | 0 or 1, in the slot given by the location |
| 1 | Slot mix | 0 to 12,800 for 0 to 100%; 12,800 is the default |
| 64 to 191 | Send level to insert (ID − 64) | 0 to 12800 is 0 to 100% |
| 192 | Volume | 0 to 16000, default 12800 (100%), not linear |
| 193 | Pan | −6400 to 6400, default 0 |
| 194 | Stereo separation | 64 merged to −64 separated, default 0 |
| 208, 209, 210 | Low, mid and high gain | −1800 to 1800, default 0 |
| 216, 217, 218 | Low, mid and high frequency | 0 to 65536 is 10 Hz to 16 kHz, not linear; defaults 5777, 33145, 55825 |
| 224, 225, 226 | Low, mid and high Q | 0 to 65536, default 17500 |
No source maps every number in between; IDs not listed are unknown.
Control locations
Mixer parameters, remote controls and start values name what they change with a 16-bit control word and a 16-bit group word; DawVert reads them this way, and flpdiff’s remote link reading agrees. The group’s top three bits say what is addressed:
- 0, a channel: the channel is the group’s low 12 bits. The control’s high byte picks a set and its low byte the parameter: set 0 (0 volume, 1 pan, 2 mod X, 3 mod Y, 4 pitch, 5 filter type, 6 portamento slide, 7 mute, 8 mixer track, 9 time gate, 11 time shift, 12 swing, 13 start offset, 14 stretch time, 16 to 20 volume, pan, mod X and mod Y offsets); set 2 echo (0 feedback, 1 pan, 2 pitch, 3 echoes, 4 time, 5 mod Y, 6 mod X); set 3 arpeggiator (0 type, 1 range, 2 chord, 3 time, 4 gate, 5 repeat); set 5 tracking (0 to 2 volume to pan, mod X, mod Y; 16 to 18 key to pan, mod X, mod Y); sets 17 to 20 the volume, mod X, mod Y and pitch envelopes (2 delay, 3 attack, 4 hold, 5 decay, 6 sustain, 7 release, 8 amount, 9 LFO predelay, 10 LFO attack, 11 LFO amount, 12 LFO speed, 14 to 16 attack, decay and release tension). Control words of 0x8000 and over are plugin parameters.
- 1, a mixer insert or slot: bits 6 to 12 the insert, bits 0 to 5 the slot. The control’s low 6 bits are as the mixer parameters above; bit 15 set means a plugin parameter.
- 2, the project: 0 volume, 1 swing, 2 pitch, 5 tempo.