Channel properties
The following events can be used to access properties of channels by combining
them with the return value of channels.getRecEventId()
.
import channels
import general
import midi
# Create event ID to target channel 1's channel pitch
event_id = channels.getRecEventId(1) + midi.REC_Chan_Pitch
# Process the event to set the channel pitch to the minimum value (likely -200
# cents)
general.processRECEvent(event_id, 0, midi.REC_MIDIController)
REC_Chan_FCut
module-attribute
Event ID offset for channel filter cutoff.
REC_Chan_FRes
module-attribute
Event ID offset for channel filter resonance.
REC_Chan_Pitch
module-attribute
Event ID offset for channel pitch.
REC_Chan_FType
module-attribute
Event ID offset for channel filter type.
REC_Chan_PortaTime
module-attribute
Event ID offset for channel portamento time.
REC_Chan_FXTrack
module-attribute
Event ID offset for channel target FX track.
REC_Chan_GateTime
module-attribute
Event ID offset for channel gate time.
REC_Chan_Crossfade
module-attribute
Event ID offset for channel cross-fade.
REC_Chan_TimeOfs
module-attribute
Event ID offset for channel time offset.
REC_Chan_SwingMix
module-attribute
Event ID offset for channel swing mix.
REC_Chan_SmpOfs
module-attribute
Event ID offset for channel sample offset.
REC_Chan_StretchTime
module-attribute
Event ID offset for channel time stretch (time).
REC_Chan_OfsPan
module-attribute
Event ID offset for pan offset (in levels adjustment section of "Miscellaneous functions")
REC_Chan_OfsVol
module-attribute
Event ID offset for volume offset (in levels adjustment section of "Miscellaneous functions")
REC_Chan_OfsPitch
module-attribute
Event ID offset for pitch offset (in levels adjustment section of "Miscellaneous functions").
REC_Chan_OfsFCut
module-attribute
Event ID offset for modulation X offset (in levels adjustment section of "Miscellaneous functions").
REC_Chan_OfsFRes
module-attribute
Event ID offset for modulation Y offset (in levels adjustment section of "Miscellaneous functions").
REC_Chan_Delay_First
module-attribute
Start of event IDs for channel built-in delay.
REC_Chan_Delay_Last
module-attribute
End of event IDs for channel built-in delay.
REC_Chan_Delay_Time
module-attribute
Delay time for channel built-in delay.
REC_Chan_Arp_First
module-attribute
Start of event IDs for channel built-in arpeggiator.
REC_Chan_Arp_Last
module-attribute
End of event IDs for channel built-in arpeggiator.
REC_Chan_Arp_Chord
module-attribute
Chord type for channel built-in arpeggiator.
REC_Chan_Arp_Time
module-attribute
Arpeggio time for channel built-in arpeggiator.
REC_Chan_Arp_Gate
module-attribute
Gate for channel built-in arpeggiator.