markusschloesser / MackieC4_P3

A Mackie C4 Midi Remote Script for Ableton 11
20 stars 2 forks source link

Framework: use the Ableton frameworks to replace hand built functionality #58

Open markusschloesser opened 3 years ago

markusschloesser commented 3 years ago
  1. this is a good example for devices https://github.com/markusschloesser/AbletonRemoteScriptsPY/blob/main/_Generic/Devices.py
  2. another one is to use subject slots for replacement of listeners, see https://docs.google.com/document/d/1-r0w2E3IJiEtCIoQ9j-vnXadDUHAbiswE_HJ5iOh0Yk/edit
BilldarBagdar commented 3 years ago

my invitation to that 1 repository has expired... :) But I can navigate into everything in my own copy of _Generic/Devices.py

Is 1 a "good example" of functionality to replace, or a good example of using the frameworks?

Do you also have an AFL_BANK3 line in Devices.py? AFL_BANK3 = (u'', u'', u'', u'', u'', u'S/C On', u'S/C Mix', u'S/C Gain')

Are those first 5 strings also empty for you?

markusschloesser commented 3 years ago

my invitation to that 1 repository has expired... :)

I just sent a new one. It is the Live11 scripts and LOM

Is 1 a "good example" of functionality to replace, or a good example of using the frameworks?

the device module basically handles lots device shit, so the first

Do you also have an AFL_BANK3 line in Devices.py? AFL_BANK3 = (u'', u'', u'', u'', u'', u'S/C On', u'S/C Mix', u'S/C Gain') Are those first 5 strings also empty for you?

I'm gonna reply in the new issue for that :-)

markusschloesser commented 3 years ago
markusschloesser commented 2 years ago

song.song.tracks:

    @property
    def tracks(self):
        """
        Const access to a list of all Player Tracks in the Live Song, exluding the return and Master Track (see also Song.send_tracks and Song.master_track).At least one MIDI or Audio Track is always available.
        """
        pass

track.track.devices:

    @property
    def devices(self):
        """
        Return const access to all available Devices that are present in the TracksDevicechain. This tuple will also include the 'mixer_device' that every Trackalways has.
        """
        pass

so no need to keep index