Track#

class pyflp.arrangement.Track[source]#

Represents a track in an arrangement on which playlist items are arranged.

__getitem__(index: int | slice | str)[source]#
__iter__() Iterator[PLItemBase][source]#

An iterator over items.

__len__() int[source]#
color: RGBA | None#

Defaults to #485156 (dark slate gray).

Note

Unlike Channel.color and Insert.color, values below 20 for any color component (i.e red, green or blue) are NOT ignored by FL Studio.

content_locked: bool | None#

Lock to content, defaults to False.

enabled: bool | None#

//bit.ly/3eGd91O)

Type:

![](https

grouped: bool | None#

Whether grouped with the track above (index - 1) or not.

Group with above track

height: str | None#

Track height in FLโ€™s interface. Linear. Size.

icon: int | None#

Returns 0 if not set, else an internal icon ID.

Change icon

iid: int | None#

An integer in the range of 1 to Arrangements.max_tracks.

locked: bool | None#

Whether the tracked is in a locked state.

motion: TrackMotion | None#

Performance settings, defaults to TrackMotion.Stay.

name: str | None#

Returns a string or None if not set.

position_sync: TrackSync | None#

Performance settings, defaults to TrackSync.Off.

press: TrackPress | None#

Performance settings, defaults to TrackPress.Retrigger.

queued: bool | None#

Performance settings, defaults to False.

tolerant: bool | None#

Performance settings, defaults to True.

trigger_sync: TrackSync | None#

Performance settings, defaults to TrackSync.FourBeats.

class pyflp.arrangement.TrackMotion[source]#
ExclusiveRandom = 6#
MarchStay = 3#
MarchStop = 4#
MarchWrap = 2#
OneShot = 1#
Random = 5#
Stay = 0#
../../_images/motion.png
class pyflp.arrangement.TrackPress[source]#
HoldMotion = 2#
HoldStop = 1#
Latch = 3#
Retrigger = 0#
../../_images/press.png
class pyflp.arrangement.TrackSync[source]#
Auto = 6#
Beat = 3#
FourBeats = 5#
HalfBeat = 2#
Off = 0#
QuarterBeat = 1#
TwoBeats = 4#
../../_images/sync.png
class pyflp.arrangement.TrackID[source]#
Name = 239#
Data = 238#