Instrument#

class pyflp.channel.Instrument[source]#

Bases: _SamplerInstrument

Represents a native or a 3rd party plugin loaded in a channel.

arp#

Miscellaneous functions -> Arpeggiator

cut_group#

Cut group in the form of (Cut self, cut by).

Miscellaneous functions ‣ Group

Hint

To cut itself when retriggered, set the same value for both.

delay#

Miscellaneous functions -> Echo delay / fat mode

insert#

The index of the Insert the channel is routed to according to FL.

“Current” insert = -1, Master = 0 and so on… till Mixer.max_inserts.

level_adjusts#

Miscellaneous functions -> Level adjustments

property pitch_shift: int | None#

-4800 to +4800 (cents).

Raises:

PropertyCannotBeSet – When a ChannelID.Levels event is not found.

plugin#

The plugin loaded into the channel.

polyphony#

Miscellaneous functions -> Polyphony

time#

Miscellaneous functions -> Time

property tracking: dict[str, pyflp.channel.Tracking] | None#

A Tracking each for Volume & Keyboard.

Miscellaneous functions -> Tracking