Automation#

class pyflp.channel.Automation[source]#

Bases: Channel, ModelCollection[AutomationPoint]

Represents an automation clip present in the channel rack.

Iterate to get the points inside the clip.

>>> repr([point for point in automation])
AutomationPoint(position=0.0, value=1.0, tension=0.5), ...
__getitem__(i: int | slice) AutomationPoint[source]#
__iter__() Iterator[AutomationPoint][source]#

Iterator over the automation points inside the automation clip.

lfo: AutomationLFO#
class pyflp.channel.AutomationLFO[source]#
amount: int | None#

Linear. Bipolar.

Type

Value

Representation

Min

-128

-100%

Max

128

100%

Default

64 or 0

50% or 0%

class pyflp.channel.AutomationPoint[source]#
__setitem__(prop: str, value: Any) None[source]#
position: int | None#

PPQ dependant. Position on X-axis.

This property cannot be set as of yet.

tension: float | None#

A value in the range of 0 to 1.0.

value: float | None#

Position on Y-axis in the range of 0 to 1.0.