Ubermap for Push 2 (VST/AU parameter remapping)

Discuss Push with other users.
baseinstinct
Posts: 927
Joined: Sun Feb 24, 2008 3:45 am

Re: Ubermap for Push 2 (VST/AU parameter remapping)

Post by baseinstinct » Fri Apr 15, 2022 11:46 am

many thanks for the list, the differences are worthwhile indeed.

Holgo
Posts: 3
Joined: Mon May 02, 2022 7:58 pm

Re: Ubermap for Push 2 (VST/AU parameter remapping)

Post by Holgo » Mon May 02, 2022 9:12 pm

Ubermap sounds like a fantastic way to use VSTs with the Push2. But I cannot get it to work on Live 11.1.1 on a Windows11 PC.

Once I rename the __init__.pyc and put the __init__.py in the push2-remote script folder, Live is starting, the push2 is not working any more. Going back to the original __init__.pyc the Push2 is ok again, but obviously ubermap is not doing anything.

[EDIT] This seems to be a problem with the __init__.py. I commented out the two added lines that start the ubermap script. It still does not work. Decompiling with uncompyle6 and also decompyle3 results in the same __init__.py (of course without the two ubermap-lines).

In the log.txt I get the following:

Code: Select all

2022-05-05T23:36:08.127872: info: RemoteScriptError:   File "C:\ProgramData\Ableton\Live 11 Suite\Resources\MIDI Remote Scripts\Push2\__init__.py", line 22, in create_instance
2022-05-05T23:36:08.128066: info: RemoteScriptError:     
2022-05-05T23:36:08.128114: info: RemoteScriptError: root = Root(sender=Sender(message_sink=(c_instance.send_model_update),
2022-05-05T23:36:08.128154: info: RemoteScriptError: 
2022-05-05T23:36:08.128197: info: RemoteScriptError: AttributeError
2022-05-05T23:36:08.128236: info: RemoteScriptError: : 
2022-05-05T23:36:08.128276: info: RemoteScriptError: 'MidiRemoteScript' object has no attribute 'send_model_update'
Does anybody have an idea how I can fix it or where to look for further information?

Thanks!

vokinpirks
Posts: 44
Joined: Tue Jun 30, 2020 9:37 am
Location: Russian Federation

Re: Ubermap for Push 2 (VST/AU parameter remapping)

Post by vokinpirks » Sat May 07, 2022 9:01 am

Holgo wrote:
Mon May 02, 2022 9:12 pm
Decompiling with uncompyle6 and also decompyle3 results in the same __init__.py (of course without the two ubermap-lines).
Probably something has changed in Live internals. Could you provide the original __init__.pyc decompiled? I'm on different Live version, so I can't decompile it myself to look for differences.
An obsessive knob twiddler

Holgo
Posts: 3
Joined: Mon May 02, 2022 7:58 pm

Re: Ubermap for Push 2 (VST/AU parameter remapping)

Post by Holgo » Sun May 08, 2022 7:53 pm

Here you go, the decompiled __init__.pyc. Please notice, that when I put the decompiles __init__.py in the push2-folder (and rename the corresponding pyc-file), the push2 does not start properly (it display stays on logo / black). So something with the decompiled script seems to be wrong.

Code: Select all

# decompyle3 version 3.8.0
# Python bytecode 3.7.0 (3394)
# Decompiled from: Python 3.7.12 | packaged by conda-forge | (default, Oct 26 2021, 05:35:01) [MSC v.1916 64 bit (AMD64)]
# Embedded file name: ..\..\..\output\Live\win_64_static\Release\python-bundle\MIDI Remote Scripts\Push2\__init__.py
# Compiled at: 2021-06-23 12:01:34
# Size of source mod 2**32: 1286 bytes
from __future__ import absolute_import, print_function, unicode_literals

def get_capabilities():
    import ableton.v2.control_surface as caps
    return {caps.CONTROLLER_ID_KEY: caps.controller_id(vendor_id=10626,
                               product_ids=[6503],
                               model_name='Ableton Push 2'),

     caps.PORTS_KEY: [
                      caps.inport(props=[caps.HIDDEN, caps.NOTES_CC, caps.SCRIPT]),
                      caps.inport(props=[]),
                      caps.outport(props=[caps.HIDDEN, caps.NOTES_CC, caps.SYNC, caps.SCRIPT]),
                      caps.outport(props=[])],

     caps.TYPE_KEY: 'push2',
     caps.AUTO_LOAD_KEY: True}


def create_instance(c_instance):
    from .push2 import Push2
    from .push2_model import Root, Sender
    root = Root(sender=Sender(message_sink=(c_instance.send_model_update),
      process_connected=(c_instance.process_connected)))
    return Push2(c_instance=c_instance,
      model=root,
      decoupled_parameter_list_change_notifications=True)
# okay decompiling __init__.pyc

burtz
Posts: 10
Joined: Sun Apr 10, 2022 8:23 am

Re: Ubermap for Push 2 (VST/AU parameter remapping)

Post by burtz » Mon May 09, 2022 11:13 am

Holgo wrote:
Mon May 02, 2022 9:12 pm
Ubermap sounds like a fantastic way to use VSTs with the Push2. But I cannot get it to work on Live 11.1.1 on a Windows11 PC.

Once I rename the __init__.pyc and put the __init__.py in the push2-remote script folder, Live is starting, the push2 is not working any more. Going back to the original __init__.pyc the Push2 is ok again, but obviously ubermap is not doing anything.

[EDIT] This seems to be a problem with the __init__.py. I commented out the two added lines that start the ubermap script. It still does not work. Decompiling with uncompyle6 and also decompyle3 results in the same __init__.py (of course without the two ubermap-lines).

In the log.txt I get the following:

Code: Select all

2022-05-05T23:36:08.127872: info: RemoteScriptError:   File "C:\ProgramData\Ableton\Live 11 Suite\Resources\MIDI Remote Scripts\Push2\__init__.py", line 22, in create_instance
2022-05-05T23:36:08.128066: info: RemoteScriptError:     
2022-05-05T23:36:08.128114: info: RemoteScriptError: root = Root(sender=Sender(message_sink=(c_instance.send_model_update),
2022-05-05T23:36:08.128154: info: RemoteScriptError: 
2022-05-05T23:36:08.128197: info: RemoteScriptError: AttributeError
2022-05-05T23:36:08.128236: info: RemoteScriptError: : 
2022-05-05T23:36:08.128276: info: RemoteScriptError: 'MidiRemoteScript' object has no attribute 'send_model_update'
Does anybody have an idea how I can fix it or where to look for further information?

Thanks!
Yes it doesnt work on Apple M1 Ableton 11.1.1 either. Hopefully it can get fixed, as I have no clue about scripting.

vokinpirks
Posts: 44
Joined: Tue Jun 30, 2020 9:37 am
Location: Russian Federation

Re: Ubermap for Push 2 (VST/AU parameter remapping)

Post by vokinpirks » Tue May 10, 2022 6:45 pm

Holgo wrote:
Sun May 08, 2022 7:53 pm
Please notice, that when I put the decompiles __init__.py in the push2-folder (and rename the corresponding pyc-file), the push2 does not start properly (it display stays on logo / black).
Does the error message differ from what you have posted before in this case?
An obsessive knob twiddler

vokinpirks
Posts: 44
Joined: Tue Jun 30, 2020 9:37 am
Location: Russian Federation

Re: Ubermap for Push 2 (VST/AU parameter remapping)

Post by vokinpirks » Tue May 10, 2022 7:56 pm

Dowloaded and tested with 11.1.1 on WIndows (I had installed only the Live beta before). Everything works except that I had to re-define Serum parameters in the Configure mode. Other plugins seem to work properly.
I would like to help you but I simply cannot as I am not even able to reproduce the error myself. Sorry.
An obsessive knob twiddler

Holgo
Posts: 3
Joined: Mon May 02, 2022 7:58 pm

Re: Ubermap for Push 2 (VST/AU parameter remapping)

Post by Holgo » Wed May 11, 2022 5:11 pm

Well, thank you anyway for your help.

This has nothing to do with ubermap, but with the decompiled __init__.py from the Push2 (apparently in combination with my laptop/configuration).

I checked the decompiled __init__py. It is identical to the one from structure-void.com (Github repository).

My Live11 does not like this line:

Code: Select all

root = Root(sender=Sender(message_sink=(c_instance.send_model_update),
      process_connected=(c_instance.process_connected)))
as in the log-file the following error is thrown:
RemoteScriptError: AttributeError: 'MidiRemoteScript' object has no attribute 'send_model_update'

But I have no clue why that is.

gruvsyco
Posts: 23
Joined: Fri Apr 01, 2011 3:54 pm

Re: Ubermap for Push 2 (VST/AU parameter remapping)

Post by gruvsyco » Wed Jun 08, 2022 6:20 pm

I remember trying to get this to work some time ago without success. I decided to give it a shot again, feeling frustrated with VST integration with Push (or any other controller for that matter). It works and works great (once you get everything configured). I don't know why something like this is not implemented by default in Live.

I appreciate you keeping this updated. It's nice to be able to label banks and parameters as you like.

burtz
Posts: 10
Joined: Sun Apr 10, 2022 8:23 am

Re: Ubermap for Push 2 (VST/AU parameter remapping)

Post by burtz » Mon Jun 13, 2022 11:55 am

For those interested. Theres a thread to request better PUSH2 mapping feature to be implemented into Ableton.

https://ableton.centercode.com/project/ ... tefollow=1

I dont expect it to go anyway, but it definitley wont if other don't give it a thumbs up.

Suggested they take note from Bitwigs implementation, pics included on how easy it is to setup with push and what it looks like. I guess Ableton would make it look a bit sexier.

vokinpirks
Posts: 44
Joined: Tue Jun 30, 2020 9:37 am
Location: Russian Federation

Re: Ubermap for Push 2 (VST/AU parameter remapping)

Post by vokinpirks » Fri Jun 17, 2022 4:31 pm

Guys, I just wanted to let you know that I'm switching to another DAW, where I even don't need Ubermap as that DAW allows to configure VST parameters right in its UI as we all dreamed of and its Push integration provides way more features. So most likely I won't be able to support Ubermap further.
An obsessive knob twiddler

Post Reply