Insert#

class pyflp.mixer.Insert[source]#

Represents a mixer track to which channel from the rack are routed to.

__getitem__(i: int | str) Slot[source]#

Returns an effect slot of the specified index or name.

Parameters:

i – An index in the range of 0 to Mixer.max_slots or the name of the Slot.

Raises:

ModelNotFound – An effect Slot with the specified index or name isn’t found.

__iter__() Iterator[Slot][source]#

Iterator over the effect empty and used slots.

__len__() int[source]#
bypassed: bool | None#

Whether all slots are bypassed.

channels_swapped: bool | None#

Whether the left and right channels are swapped.

color: RGBA | None#
https://img.shields.io/badge/FL%20Studio-4.0+-5f686d?labelColor=ff7629&style=for-the-badge

Defaults to #636C71 (granite gray) in FL Studio.

Values below 20 for any color component (R, G, B) are ignored by FL.

property dock: InsertDock | None#

The position (left, middle or right) where insert is docked in mixer.

Insert ‣ Layout ‣ Dock to

enabled: bool | None#

Whether an insert in the mixer is enabled or disabled.

property eq: InsertEQ#

3-band post EQ.

icon: int | None#

Internal ID of the icon shown beside name.

property iid: int#

-1 for “current” insert, 0 for master and upto Mixer.max_inserts.

input: int | None#

//bit.ly/3RO0ckC)

Type:

![](https

is_solo: bool | None#

Whether the insert is solo’d.

locked: bool | None#

Whether an insert in the mixer is in locked state.

name: str | None#
https://img.shields.io/badge/FL%20Studio-3.5.4+-5f686d?labelColor=ff7629&style=for-the-badge
output: int | None#

//bit.ly/3LjWjBD)

Type:

![](https

pan: int#

Linear.

Type

Value

Representation

Min

-6400

100% left

Max

6400

100% right

Default

0

Centred

polarity_reversed: bool | None#

Whether phase / polarity is reversed / inverted.

property routes: Iterator[int]#
https://img.shields.io/badge/FL%20Studio-4.0+-5f686d?labelColor=ff7629&style=for-the-badge

Send volumes to routed inserts.

separator_shown: bool | None#

Whether separator is shown before the insert.

Insert ‣ Group ‣ Separator

stereo_separation: int#

Linear.

Type

Value

Representation

Min

64

100% merged

Max

-64

100% separated

Default

0

No effect

volume: int#

Post volume fader. Logarithmic.

Type

Value

Representation

Min

0

0% / -INFdB / 0.00

Max

16000

125% / 5.6dB / 1.90

Default

12800

100% / 0.0dB / 1.00

class pyflp.mixer.InsertEQ[source]#

Post-effect Insert EQ with 3 adjustable bands.

See also

Insert.eq

high#

High shelf band. Default frequency - 55825 (8000 Hz).

low#

Low shelf band. Default frequency - 5777 (90 Hz).

mid#

Middle band. Default frequency - 33145 (1500 Hz).

property size: int#
class pyflp.mixer.InsertEQBand[source]#
freq#

Nonlinear. Default depends on band e.g. InsertEQ.low.

Type

Value

Representation

Min

0

10 Hz

Max

65536

16 kHz

gain#

Min

Max

Default

-1800

1800

0

reso#

Min

Max

Default

0

65536

17500

property size: int#

Enums#

class pyflp.mixer.InsertDock[source]#

See also

Insert.dock

Left = 1#
Middle = 2#
Right = 3#
../../_images/dock.png
class pyflp.mixer.InsertID[source]#
Icon = 95#
Output = 147#
Color = 149#
https://img.shields.io/badge/FL%20Studio-4.0+-5f686d?labelColor=ff7629&style=for-the-badge
Input = 154#
Name = 204#
https://img.shields.io/badge/FL%20Studio-3.5.4+-5f686d?labelColor=ff7629&style=for-the-badge
Routing = 235#
Flags = 236#