Channel types
The channel type constants are returned by the
channels.getChannelType()
function, and describe the type of a
channel within the channel rack.
import channels, midi
channel_type = channels.getChannelType(0)
if channel_type == midi.CT_Sampler:
print("Channel is a sampler")
CT_Layer
module-attribute
Layer channel. For more information on layers, refer to the FL Studio manual.