Decompiled APC40 remote scripts for 8.3
Decompiled APC40 remote scripts for 8.3
I really hope someone can point me to some decompiled remote scripts for the APC40 in 8.3. I need to make a minor adjustment to the original APC40 mapping and the scripts I found (8.2.2) are not compatible with 8.3.4.
Anyone?!?
I need to have the pan global controls reflect the track volume settings instead... It's not enough to just midi map then because I need the leds to update if the volume changes.
Anyone?!?
I need to have the pan global controls reflect the track volume settings instead... It's not enough to just midi map then because I need the leds to update if the volume changes.
Last edited by 0x80 on Mon Jan 21, 2013 11:15 pm, edited 1 time in total.
-
- Posts: 3236
- Joined: Sun Jul 15, 2007 8:21 am
- Location: Shreveport LA, sometimes Dallas/Ft Worth TX
Re: Decompiled APC40 remote scripts for 8.3
if you find them, please say so in this thread.
THANKS!
THANKS!
Re: Decompiled APC40 remote scripts for 8.3
depython charges $50 for decompiling the APC40 scripts. Unless more people are interested and willing to share the costs I think I'll try to look for a different solution.
Re: Decompiled APC40 remote scripts for 8.3
Hah found a nice free solution here for decompiling python 2.5 - 2.7:
https://github.com/wibiti/uncompyle2
Seems to be working. I'll post the APC40 files tonight
https://github.com/wibiti/uncompyle2
Seems to be working. I'll post the APC40 files tonight

-
- Posts: 3236
- Joined: Sun Jul 15, 2007 8:21 am
- Location: Shreveport LA, sometimes Dallas/Ft Worth TX
Re: Decompiled APC40 remote scripts for 8.3
I was going to try to get some guys I work with to help today.
I let you know.
I let you know.
Re: Decompiled APC40 remote scripts for 8.3
Here they are. I don't have my APC here so I can't test but I've checked the logs from Live and they compile fine without errors.
https://dl.dropbox.com/u/8165817/APC40_834.zip
Tonight I'll apply a mod to have the pan encoders reflect the track volumes. I'll let you know how that works out, in case anyone's interested.
The reason I need this is because I need to make jumps in a composition which has volume automation to match certain cues. For this the regular faders are not suitable because they don't move and thus I have no way to correct them after making a jump.
I bought a BCF2000 for just this, but it's bulky and noisy and I figured this would be a much nicer solution.
https://dl.dropbox.com/u/8165817/APC40_834.zip
Tonight I'll apply a mod to have the pan encoders reflect the track volumes. I'll let you know how that works out, in case anyone's interested.
The reason I need this is because I need to make jumps in a composition which has volume automation to match certain cues. For this the regular faders are not suitable because they don't move and thus I have no way to correct them after making a jump.
I bought a BCF2000 for just this, but it's bulky and noisy and I figured this would be a much nicer solution.
-
- Posts: 3236
- Joined: Sun Jul 15, 2007 8:21 am
- Location: Shreveport LA, sometimes Dallas/Ft Worth TX
Re: Decompiled APC40 remote scripts for 8.3
AWESOME thanks.
I'm at work, so I dont have my APC40 either, but I am very interested in learning these ways.
I'm at work, so I dont have my APC40 either, but I am very interested in learning these ways.
Re: Decompiled APC40 remote scripts for 8.3
Yep it works like a charm!
I have made changes to the EncModeSelectorComponent.py file, replacing all occurrences of set_pan_control with set_volume_control. Now all the global pan encoders instead reflect the track volumes. You can scroll horizontally through your tracks and the encoders will move with the focus. Just like you're used to for pan and sends.
I've uploaded the mod including the modified py file here:
https://dl.dropbox.com/u/8165817/APC40_volmod.zip
You can just drop the folder in the remote scripts directory and choose APC40_volmod as your control surface. Bam!
Just to be clear. If Live finds the py files in the remote script folder, it automatically compiles them to pyc on startup, since Live contains its own Python compiler. I'm not sure but you probably have to remove the pyc files if you want Live to trigger a recompile on you py sources after you altered them.
Enjoy!

I have made changes to the EncModeSelectorComponent.py file, replacing all occurrences of set_pan_control with set_volume_control. Now all the global pan encoders instead reflect the track volumes. You can scroll horizontally through your tracks and the encoders will move with the focus. Just like you're used to for pan and sends.
I've uploaded the mod including the modified py file here:
https://dl.dropbox.com/u/8165817/APC40_volmod.zip
You can just drop the folder in the remote scripts directory and choose APC40_volmod as your control surface. Bam!
Just to be clear. If Live finds the py files in the remote script folder, it automatically compiles them to pyc on startup, since Live contains its own Python compiler. I'm not sure but you probably have to remove the pyc files if you want Live to trigger a recompile on you py sources after you altered them.
Enjoy!

-
- Posts: 3236
- Joined: Sun Jul 15, 2007 8:21 am
- Location: Shreveport LA, sometimes Dallas/Ft Worth TX
Re: Decompiled APC40 remote scripts for 8.3
BOOM, you rock!!!
So what if I wanted to change them to Device 3 parameter 1 for tracks 1-8?
So what if I wanted to change them to Device 3 parameter 1 for tracks 1-8?
Re: Decompiled APC40 remote scripts for 8.3
I can only tell you that it will be quite a bit more complicated. If you don't have experience with programming than I'm afraid this is probably way over your head. I don't have the time or motivation to get deeper into this right now, but if you are willing to learn then I think this would be a good start:
http://remotescripts.blogspot.nl/2010/0 ... asses.html
http://remotescripts.blogspot.nl/2010/0 ... asses.html
-
- Posts: 3236
- Joined: Sun Jul 15, 2007 8:21 am
- Location: Shreveport LA, sometimes Dallas/Ft Worth TX
Re: Decompiled APC40 remote scripts for 8.3
oh yeah, I've read all of that, a bunch.
I am assuming Hanz did it by getting the device names.
I ditched efforts to keep pursuing M4L, I think now I am wanting to get back to learning remote script customization.
Your decomiled script is a good place to start so THANKS!
I am assuming Hanz did it by getting the device names.
I ditched efforts to keep pursuing M4L, I think now I am wanting to get back to learning remote script customization.
Your decomiled script is a good place to start so THANKS!
Re: Decompiled APC40 remote scripts for 8.3
Good luck to you if you're going to give it a try. And once you figure it out I'd love to hear about it.
If I dive into this myself at some point I'll report back.
If I dive into this myself at some point I'll report back.
-
- Posts: 108
- Joined: Fri Apr 25, 2008 3:32 pm
Re: Decompiled APC40 remote scripts for 8.3
Hi,
Has anyone done the same mod for the APC40mk2?
Thanks.
Has anyone done the same mod for the APC40mk2?
Thanks.