Arrangements#

class pyflp.arrangement.Arrangements[source]#

Iterator over arrangements in the project and some related properties.

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

Returns an arrangement based either on its index or name.

Parameters:

i – The index of the arrangement in which they occur or Arrangement.name of the arrangement to lookup for or a slice of indexes.

Raises:

ModelNotFound – An Arrangement with the specifed name or index isn’t found.

__iter__() Iterator[Arrangement][source]#

Yields Arrangement found in the project.

Raises:

NoModelsFound – When no arrangements are found.

__len__() int[source]#

The number of arrangements present in the project.

Raises:

NoModelsFound – When no arrangements are found.

property current: pyflp.arrangement.Arrangement | None#

Currently selected arrangement (via FL’s interface).

Raises:

ModelNotFound – When the underlying event value points to an invalid arrangement index.

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

Playlist loop start and end points,

property max_tracks: Literal[500, 199]#
time_signature: TimeSignature#

Project time signature (also used by playlist).

Options ‣ Project general settings ‣ Time settings

class pyflp.arrangement.ArrangementsID[source]#
TimeSigNum = 17#
TimeSigBeat = 18#
Current = 100#
LoopPos = 152#
https://img.shields.io/badge/FL%20Studio-1.3.8+-5f686d?labelColor=ff7629&style=for-the-badge