Track

class pyableton.Track.AudioTrack(track_node)
class pyableton.Track.Automation(root: Element)

Automation Class

Represents automation settings in Ableton Live.

Attributes

eventslist[EnumEvent]

List of enumeration events representing the automation events.

# automation_transform_view_state: AutomationTransformViewState

(Commented out) Automation transform view state.

class pyableton.Track.AutomationEnvelope(root: Element)

AutomationEnvelope Class

Represents an automation envelope in Ableton Live.

Attributes

idint

Unique identifier for the automation envelope.

# envelope_target:

(Commented out) Envelope target.

automationAutomation

Automation settings associated with the envelope.

class pyableton.Track.AutomationEnvelopes(root: Element)

AutomationEnvelopes Class

Represents a collection of automation envelopes in Ableton Live.

Attributes

envelopeslist[AutomationEnvelope]

List of automation envelopes.

class pyableton.Track.EnumEvent(root: Element)

EnumEvent Class

Represents an enumeration event in Ableton Live.

Attributes

idint

Unique identifier for the enumeration event.

timeint

Time value for the enumeration event.

valueint

Value for the enumeration event.

class pyableton.Track.MasterTrack(root: Element)

MasterTrack Class

Represents the master track in Ableton Live.

Attributes

lom_idint

LOM (Live Object Model) identifier for the master track.

lom_id_viewint

LOM identifier for the view of the master track.

is_content_selected_in_documentbool

Flag indicating whether the master track’s content is selected in the document.

preferred_content_view_modeint

Preferred content view mode for the master track.

track_delayTrackDelay

Track delay settings for the master track.

nameMidiName

Name settings for the master track.

colorint

Color code for the master track.

automation_envelopesAutomationEnvelopes

Collection of automation envelopes associated with the master track.

track_group_idint

Identifier for the track group to which the master track belongs.

track_unfoldedbool

Flag indicating whether the master track is unfolded.

# devices_list_wrapper: lom_id

(Commented out) Wrapper for the list of devices associated with the master track.

# clip_slots_list_wrapper

(Commented out) Wrapper for the list of clip slots associated with the master track.

view_datadict

Dictionary containing view-related data for the master track.

# take_lanes:

(Commented out) List of take lanes associated with the master track.

linked_track_group_idint

Identifier for the linked track group.

device_chainMasterTrackDeviceChain

Device chain settings for the master track.

class pyableton.Track.MasterTrackDeviceChain(root: Element)

MasterTrackDeviceChain Class

Represents the device chain settings for the master track in Ableton Live.

Attributes

mixerMasterTrackMixer

Master track mixer settings for the device chain.

class pyableton.Track.MasterTrackMixer(root: Element)

MasterTrackMixer Class

Represents the mixer settings for the master track in Ableton Live.

Attributes

lom_idint

LOM identifier for the master track mixer settings.

lom_id_viewint

LOM identifier for the view of the master track mixer.

is_expandedbool

Flag indicating whether the master track mixer is expanded.

modulation_source_countint

Count of modulation sources for the master track mixer.

parameters_list_wrapperint

Wrapper for the list of parameters associated with the master track mixer.

pointeeint

Pointee value for the master track mixer.

last_selected_timeable_indexint

Index of the last selected timeable item in the master track mixer.

last_selected_clip_envelope_indexint

Index of the last selected clip envelope in the master track mixer.

is_foldedbool

Flag indicating whether the master track mixer is folded.

should_show_preset_namebool

Flag indicating whether the preset name should be shown for the master track mixer.

user_namestr

User name for the master track mixer.

annotationstr

Annotation for the master track mixer.

solo_sinkbool

Flag indicating whether the solo sink is enabled.

pan_modeint

Pan mode for the master track mixer.

view_state_sesstion_track_widthint

View state session track width for the master track mixer.

sends_list_wrapperint

Wrapper for the list of sends associated with the master track mixer.

tempoTempo

Tempo settings for the master track mixer.

tempo_automation_view_bottomint

Bottom view position for tempo automation in the master track mixer.

tempo_automation_view_topint

Top view position for tempo automation in the master track mixer.

class pyableton.Track.MidiTrack(track_node)

MidiTrack Class

Represents a MIDI track in Ableton Live.

Attributes

idint

Unique identifier for the MIDI track.

lom_idint

LOM (Live Object Model) identifier for the MIDI track.

lom_id_viewint

LOM identifier for the view of the MIDI track.

is_content_selected_in_documentbool

Flag indicating whether the MIDI track’s content is selected in the document.

preferred_content_view_modeint

Preferred content view mode for the MIDI track.

track_delayTrackDelay

Track delay settings for the MIDI track.

nameMidiName

Name settings for the MIDI track.

colorint

Color code for the MIDI track.

track_group_idint

Identifier for the track group to which the MIDI track belongs.

track_unfoldedbool

Flag indicating whether the MIDI track is unfolded.

devices_list_wrapperint

Wrapper for the list of devices associated with the MIDI track.

clip_slots_list_wrapperint

Wrapper for the list of clip slots associated with the MIDI track.

view_datadict

Dictionary containing view-related data for the MIDI track.

linked_track_group_idint

Identifier for the linked track group.

saved_playing_slotint

Identifier for the saved playing slot.

saved_playing_offsetint

Offset value for the saved playing slot.

freezebool

Flag indicating whether the MIDI track is frozen.

velocity_detailint

Detail level for velocity settings.

need_arranger_refreezebool

Flag indicating whether refreezing is needed in the arranger.

post_process_freeze_clipsint

Number of clips to post-process during freezing.

device_chainDeviceChain

Device chain settings for the MIDI track.

re_wire_slave_midi_target_idint

Identifier for the ReWire slave MIDI target.

pitchbend_rangeint

Pitchbend range value for the MIDI track.

class pyableton.Track.PreHearTrack(root: Element)

PreHearTrack Class

Represents a pre-hear track in Ableton Live.

class pyableton.Track.ReturnTrack(track_node)

ReturnTrack Class

Represents a return track in Ableton Live.

Attributes

idint

Unique identifier for the return track.

lom_idint

LOM (Live Object Model) identifier for the return track.

lom_id_viewint

LOM identifier for the view of the return track.

is_content_selected_in_documentbool

Flag indicating whether the return track’s content is selected in the document.

preferred_content_view_modeint

Preferred content view mode for the return track.

colorint

Color code for the return track.

track_group_idint

Identifier for the track group to which the return track belongs.

track_unfoldedbool

Flag indicating whether the return track is unfolded.

devices_list_wrapperint

Wrapper for the list of devices associated with the return track.

clip_slots_list_wrapperint

Wrapper for the list of clip slots associated with the return track.

view_datadict

Dictionary containing view-related data for the return track.

linked_track_group_idint

Identifier for the linked track group.

device_chainDeviceChain

Device chain settings for the return track.

class pyableton.Track.Tempo(root: Element)

Tempo Class

Represents tempo settings in Ableton Live.

Attributes

lom_idint

LOM identifier for the tempo settings.

manualint

Manual setting for the tempo.

Methods

None

class pyableton.Track.Track(track_node)

Track Class

Represents a track in Ableton Live.

Attributes

(Specific attributes for MidiTrack and ReturnTrack subclasses)

Methods

__new__(cls, track_node: ElementTree.Element)

Factory method to create either a MidiTrack or ReturnTrack instance based on the XML node.

class pyableton.Track.TrackDelay(root: Element)

TrackDelay Class

Represents track delay settings in Ableton Live.

Attributes

valueint

The delay value.

is_value_sample_basedbool

Flag indicating whether the delay value is sample-based.

class pyableton.Track.TracksListWrapper(root: Element)

TracksListWrapper Class

Wrapper for a list of tracks in Ableton Live.

Attributes

None

class pyableton.Track.VisibleTracksListWrapper(root: Element)

VisibleTracksListWrapper Class

Wrapper for a list of visible tracks in Ableton Live.