Channel Rack#
- class pyflp.channel.ChannelRack[source]#
Represents the channel rack, contains all
Channel
instances.- __getitem__(i: str | int | slice) → Channel[source]#
Gets a channel from the rack based on its IID or name.
- Parameters:
i β Compared with
Channel.iid
if an int or slice or with theChannel.display_name
.- Raises:
ChannelNotFound β A channel with the specified IID or name isnβt found.
- __len__() → int[source]#
Returns the number of channels found in the project.
- Raises:
NoModelsFound β No channels could be found in the project.
- property automations: Iterator[Automation]#
Yields automation clips in the project.
- property groups: Iterator[DisplayGroup]#
- property instruments: Iterator[Instrument]#
Yields native and 3rd-party synth channels in the project.