September 21, 2021, 01:12:53 pm
Welcome, Guest. Please login or register.
Did you miss your activation email
News:

Arturia Forums



Author Topic: MiniLab Mk2 Ableton Mode modified functionality  (Read 3444 times)

codekiln

  • Apprentice
  • *
  • Posts: 4
  • Karma: 0
Re: MiniLab Mk2 Ableton Mode modified functionality
« Reply #15 on: May 26, 2021, 03:49:42 am »
What version of Ableton were you using when developing this? When I try to install, I get the following error:

Code: [Select]
[tt]$ cat /Users/Myer/Library/Preferences/Ableton/Live\ 9.7.7/Log.txt | grep RemoteScriptError
2437 ms. RemoteScriptError: Traceback (most recent call last):
2437 ms. RemoteScriptError:   File "<string>", line 1, in <module>
2438 ms. RemoteScriptError:   File "/Applications/Ableton Live 9 Lite.app/Contents/App-Resources/MIDI Remote Scripts/AAminilab_mk2_custom_script/__init__.py", line 2, in <module>
2438 ms. RemoteScriptError:     
2438 ms. RemoteScriptError: from .test import test   # you import your main program during the initialisation of your script
2438 ms. RemoteScriptError:   File "/Applications/Ableton Live 9 Lite.app/Contents/App-Resources/MIDI Remote Scripts/AAminilab_mk2_custom_script/test.py", line 29, in <module>
2438 ms. RemoteScriptError:     
2439 ms. RemoteScriptError: from .HardwareSettingsComponent import HardwareSettingsComponent
2439 ms. RemoteScriptError:   File "/Applications/Ableton Live 9 Lite.app/Contents/App-Resources/MIDI Remote Scripts/AAminilab_mk2_custom_script/HardwareSettingsComponent.py", line 12, in <module>
2439 ms. RemoteScriptError:     
2439 ms. RemoteScriptError: class HardwareSettingsComponent(ControlSurfaceComponent):
2439 ms. RemoteScriptError:   File "/Users/versonator/Jenkins/live/output/mac_64_static/Release/python-bundle/MIDI Remote Scripts/_Framework/SubjectSlot.py", line 99, in __new__
2439 ms. RemoteScriptError:   File "/Users/versonator/Jenkins/live/output/mac_64_static/Release/python-bundle/MIDI Remote Scripts/_Framework/SubjectSlot.py", line 85, in setup_subject
2439 ms. RemoteScriptError:   File "/Users/versonator/Jenkins/live/output/mac_64_static/Release/python-bundle/MIDI Remote Scripts/_Framework/SubjectSlot.py", line 38, in subject_add_event
2440 ms. RemoteScriptError: AttributeError
2440 ms. RemoteScriptError: :
2440 ms. RemoteScriptError: 'unicode' object has no attribute 'signal'
2440 ms. RemoteScriptError: [/tt]

Paco

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Re: MiniLab Mk2 Ableton Mode modified functionality
« Reply #16 on: June 29, 2021, 05:50:02 pm »
Hello LilSmeag, I would like to share my script here, since although it differs a lot from yours, it is inspired and (especially at the beginning) it was very useful for learning. As my intention is to improve the uses of the MiniLab, I contribute my grain of sand so that whoever wants to improve the performances of the MIDI keyboard.
No offense, if you think this post is inappropriate send me an MD and I'll delete it.

https://github.com/soneu03/Ableton_Minilab_project

P.D. google translated! My language is Spanish, so there are many annotations in spanglish

LilSmeag

  • Apprentice
  • *
  • Posts: 18
  • Karma: 0
Re: MiniLab Mk2 Ableton Mode modified functionality
« Reply #17 on: July 10, 2021, 10:21:13 pm »
Ok guys I'm back and paying attention again. Sorry for the absence, I had to focus on my own things.
@codekiln your ideas are great and I will consider them as I try to improve the project. I will create the repo and rework the main post to accommodate the changes. Should be a lot cleaner. Feel free to post any suggestions or questions once I have setup the system. I want the repo on my account since it's my project and I don't mind not being anonymous.
EDIT: almost forgot, I used Live 10 to develop the script, since that's what the controller came with. The Lite version, but later had the chance to test without the 8 track limitation. The error is probably due to some change in the API that offered some more attributes to play with in the newer version. I have literally no idea what I wrote 1 year ago so I'll check what the error is about and write back after I can explain something.
----STOP EDIT-----
@Paco I don't mind you sharing your project, in fact I'll add the link on the main post. The only problem is that people who don't speak Spanish will have a hard time understanding your work.
If we can gather scripts for all the major (and perhaps not-so-popular) DAWs it would be great for people to select things they like for their own work, regardless of the program they use.
It's a lot of work, but some do benefit from it so it's worth it.


Now, I'd like to emphasize that our scripts mostly help beginners or those with budget controllers. Since they are small or cheaper than others, they lack buttons, knobs or other features and don't get as much attention as the premium counterparts do. Most people who are serious about music probably invest in higher-end controllers and don't care about scripts like these. And that's ok. Our work is for those who want to get the most out of a small package and are unhappy with the stock experience the software brings to the table.

Ok, I'll get to work and some changes will happen in the coming days. Thanks to everyone for the interest in the project. Your input motivates me.
« Last Edit: July 10, 2021, 10:24:28 pm by LilSmeag »

LilSmeag

  • Apprentice
  • *
  • Posts: 18
  • Karma: 0
Re: MiniLab Mk2 Ableton Mode modified functionality
« Reply #18 on: July 29, 2021, 09:42:23 pm »
@codekiln I managed to take a look at that error and check on the _Framework folder inside the MIDI scripts root folder of Ableton. Inside the file SubjectSlot.pyc, when transformed so as to make it possible for a human to read it, there are references to a signal attribute, which your error mentions as nonexistent. I used Live 10, and I can see from your error you have Live 9.
There is a tool called uncompyle6, available as a library for Python if I recall correctly. You can check whether that attribute is referenced in your version. If it's not, that's the issue.

 

Carbonate design by Bloc
SMF 2.0.17 | SMF © 2019, Simple Machines