Python Script for Maschine Mk3 with Ableton Live 11

Options
Mark Schultz
Mark Schultz Member Posts: 2 Member
edited May 2022 in Maschine

Hi, I have installed and have functioning the remote control scripts for Ableton 11 from the Maschine mk3. I have the cheatsheet too. From where can I source the original python scripts? I am a python developer and would love to try to add a 'track recording arm/disarm' feature, if one hasn't already been implemented (in a version I don't have). Otherwise, Native Instruments, consider this a feature request.

Thanks,

Mark

Best Answers

  • Jeremy_NI
    Jeremy_NI Customer Care Posts: 10,314 mod
    edited May 2022 Answer ✓
    Options

    Hey Mark, I don't have any knowledge in the programming Python area, but this is what I got from one of our developers: "He could find the .pyc script we ship, decompile it, try to understand the script and have a look at the unofficial live midi script api." Some parts of the script might not be available (this would be a request to Ableton).

    You could also check this script from @Cakean, maybe he can also help you out and share some of his knowledge: https://community.native-instruments.com/discussion/64/v1-6-0-maschine-plus-mk3-mikro-mk3-ableton-live-11-midi-remote-script#latest

    I doubt there will be improvements regarding our script in the near future.

  • D-One
    D-One Moderator Posts: 2,981 mod
    edited May 2022 Answer ✓
    Options

    @Mark Schultz You can use uncompyle6 to very easily decompile any Ableton python script.

    Just head over to the folder you want and run:

    for f in *.pyc; do uncompyle6 -o . $f; done
    

    It will decompile all files.

    This is why all default scripts are available in GitHub repos. You can also find the unofficial documentation on Lives API here: https://nsuspray.github.io/Live_API_Doc/

Answers

  • Jeremy_NI
    Jeremy_NI Customer Care Posts: 10,314 mod
    edited May 2022 Answer ✓
    Options

    Hey Mark, I don't have any knowledge in the programming Python area, but this is what I got from one of our developers: "He could find the .pyc script we ship, decompile it, try to understand the script and have a look at the unofficial live midi script api." Some parts of the script might not be available (this would be a request to Ableton).

    You could also check this script from @Cakean, maybe he can also help you out and share some of his knowledge: https://community.native-instruments.com/discussion/64/v1-6-0-maschine-plus-mk3-mikro-mk3-ableton-live-11-midi-remote-script#latest

    I doubt there will be improvements regarding our script in the near future.

  • D-One
    D-One Moderator Posts: 2,981 mod
    edited May 2022 Answer ✓
    Options

    @Mark Schultz You can use uncompyle6 to very easily decompile any Ableton python script.

    Just head over to the folder you want and run:

    for f in *.pyc; do uncompyle6 -o . $f; done
    

    It will decompile all files.

    This is why all default scripts are available in GitHub repos. You can also find the unofficial documentation on Lives API here: https://nsuspray.github.io/Live_API_Doc/

  • Mark Schultz
    Mark Schultz Member Posts: 2 Member
    Options

    THANKS @Jeremy_NI and @D-One . Great answers and exactly what I was looking for.

Back To Top