Ableton Live 9 : How to write midi remote scripts

  Рет қаралды 11,838

Chris Joseph

Chris Joseph

6 жыл бұрын

This video is about writing a custom remote script for my Akai MPK25 midi keyboard for Ableton Live, but of course you can use any controller you own.
Here I go over how I added session (redbox) control, transport control and device control including macros.
I didn't have enough time or the expertise to go in depth in Python and explain every line, but hopefully the code is self explanatory enough.
As promised here is a link to the github repo where you can download the code used in this video.
github.com/chriszaw/MPK_CZ
Enjoy!

Пікірлер: 46
@liorsilverstein9802
@liorsilverstein9802 Жыл бұрын
finally something good
@mhediseltana
@mhediseltana 3 жыл бұрын
Great work man, you save my day..
@ChrisJosephYT
@ChrisJosephYT 5 жыл бұрын
Hey sorry for not being on top of these comments. I sort of made this video and forgot about it, definitely gonna make more videos.
@finionio91
@finionio91 5 жыл бұрын
awesome video, so many thanks!
@kontikonsumi2028
@kontikonsumi2028 3 жыл бұрын
Would like to see more, thank you!
@xnamahx8713
@xnamahx8713 6 жыл бұрын
Awesome! will try to improve my APC 40 MKII. Thanks
@ChrisJosephYT
@ChrisJosephYT 5 жыл бұрын
Let me know how it goes! Cheers, MG
@xnamahx8713
@xnamahx8713 5 жыл бұрын
Well I made a lot of progress since, but it was much harder than how it looks on this video. Using the default script source from Julien Bayle I managed to add copy/paste and select clips, sequencer and melodic pad, moved the metronome and fixed some deprecations. The source has much more abstraction and layers that are dificult to understand. Right now im wondering how to assign the same knob to diferent functions depending on the "mode" selected. I will make a video if can get rid of all the bugs. Saludos
@ChrisJosephYT
@ChrisJosephYT 5 жыл бұрын
Please post a video when you do! I've been trying to figure out how to code in controller modes. I suggest you look at the APC40 control scripts, as they somehow managed to do different banks of knobs all in software (see the User, Mixer and Device knob banks on the controller), however I've been stuck on the same problem as you for quite some time. Finally settling on just using the different midi channels on my controller for different control banks. MG
@antoinedumont65
@antoinedumont65 4 жыл бұрын
Thanks for the video man, I learned so much from you. Using your code, with some modifications I was able to do a "box" and the control surface for my Alesis Vi61. It worked great
@denizertugrul
@denizertugrul 2 жыл бұрын
Hey I'm currently trying to do the same with my Vİ61 but I couldn't figure it out. Do you still have the script that you modified, I would be so happy if you could send it .
@emiluz3425
@emiluz3425 Жыл бұрын
Would love to see an update of this video for using your code with Live 11. Thank you so much for sharing!
@angeloskatselis1158
@angeloskatselis1158 4 жыл бұрын
Can I map functions such as track enable/arm/solo etc for ANY selected track to ONLY ONE button on my device? For example, having a global mapping for arming any track in case of a 20-track project for live looping
@finionio91
@finionio91 5 жыл бұрын
does the userconfiguration.txt still figures on the consts.py ?
@bobifin-gn3kw
@bobifin-gn3kw Жыл бұрын
Thanks for the video. I have a question. any idea where to find the python control surface script for a given device... Unfortuanutely inside ableton folders there is only the compiled version ... do you have an idea ?
@francochiabudini995
@francochiabudini995 11 ай бұрын
Great tutorial! Is it possible to add clip deletion functionality? Or would it be difficult coding?
@ChrisJosephYT
@ChrisJosephYT 10 ай бұрын
Hey not difficult at all. I have an example script on my GitHub here: github.com/CJmusic/APCJ40_MKII/blob/master/APCJ40_MKII.py Line 179 sets the delete button to shift + nudge on an APC40MkII.
@joaosequeira297
@joaosequeira297 6 жыл бұрын
im trying to update my apc40 mk1 remote scrip for ableton live 9.7.5 , i know nothing about code can you help me ??? i can get it to work and its an awsome remote script its the APC_64_40_9-master with lv monotiring ,set sequencer and pads to play melodies or drums plus the normal apc 40 stuff
@patrickwright1723
@patrickwright1723 5 жыл бұрын
When trying to modify the "red box" grid size to anything besides 4x4 I receive a couple of log errors, Line 103: List Index out of Range, Line 97: clip_slot = scene.clip_slot(column). Do you have any idea why this is happening?
@finionio91
@finionio91 5 жыл бұрын
such a good question, i was thinking of changing to a 4x2
@ninjaxhayabusa
@ninjaxhayabusa 8 ай бұрын
This is a really specific question but are you ever actually using set_session_highlight? I'm having trouble getting rid of the highlight around the sends, as well as having buttons move the red box properly.
@marvinsumega1097
@marvinsumega1097 4 жыл бұрын
Hey man. Does it work with touchOSC?
@therockbrigade
@therockbrigade 5 жыл бұрын
how do i write a remote script for the AXIOM 25 classic midi keyboard ??? Ableton live 9
@ChrisJosephYT
@ChrisJosephYT 5 жыл бұрын
Hey, you should be able to follow the video with MIDI monitor and my code, use midi monitor to figure out what each of your pads/knobs are sending and modify the consts file.
@robsongama864
@robsongama864 6 жыл бұрын
Hi Martiin, i need aaaa lot a help in a specific script for Behringer cmd LC1, u can help me?
@ChrisJosephYT
@ChrisJosephYT 5 жыл бұрын
sorry man, probably can't dedicate too much. My advice is to start with small simple programs. See if you can get my script working and just change the midi assignments on the LC1?
@kenwafu5783
@kenwafu5783 5 жыл бұрын
Hi Can we use Logic scripts with Ableton Live?
@ChrisJosephYT
@ChrisJosephYT 5 жыл бұрын
Not that I'm aware of. If there is scripting available for logic it'll use a completely different API so unfortunately this video doesn't apply.
@reinderdorman2169
@reinderdorman2169 2 жыл бұрын
hey man, are you still working with this kinda stuff? I've been trying to get an Oxygen pro to work with ableton 9, and from what i see in your video everything seems to check out, but it's not compiling. Been checking your code as well, which works perfectly on my Ableton, and I don't really see why the Oxygen code isn't recognized. I'd think if the __init__ is good, it's at least recognized by Ableton (maybe not working if the rest of the code is wrong, but it would still show up / it would still be compiled on startup)
@ChrisJosephYT
@ChrisJosephYT 2 жыл бұрын
Are you in Live 9 or 11? This video is pretty out of date however I am planning on updating it in the near future. So far there no guarantees the code above will work in anything except Live 9. Have you checked your log file? That’s where the errors for your script will be printed. So if it’s not showing up in the Live preferences that’s where I’d start.
@reinderdorman2169
@reinderdorman2169 2 жыл бұрын
@@ChrisJosephYT I'm in ableton live 9 still (yeah all my plugins don't work in 11. I know I have to switch sometimes but I think getting it all to work again in ableton 11 is more work) Thanks for the tip on the log, I allready see some "RemoteScriptError" there, so i'm gonna dig in there and see what turns up
@reinderdorman2169
@reinderdorman2169 2 жыл бұрын
@@ChrisJosephYT hm, oddly enough when I use your MPK_CZ scripts and mess something up, I get a clear error. But no error for the Oxygen scripts. However, seeing as the .py scripts don't get compiled, I've got the feeling they are just not read at all. If there is a fault in one of the scripts I'd expect an error to show up, but there are none. I'm just gonna double check for dumb typos, again I would expect errors, but often it's the case a dumb typo makes a seemingly complex problem. and maybe it's just a scripts thats working without error but wrong stuff inside that just doesn't work with live 9. However, I would stil expect it to recognize the scripts, compile them, put the folder's name in the preferences, or throw an error.
@reinderdorman2169
@reinderdorman2169 2 жыл бұрын
The more I fool around, the more I notice things that a probably version errors (problems with importing from __future__ and header problems in ableton.v2.base.__init__ I think i'mma try the other way around and see if I can just adjust your code with the signals coming from my keyboard. Sounds like a lot of work but probably less than trying to get a newer version script running on old python
@pastuh
@pastuh 3 жыл бұрын
So yesterday got Keylab mk2 And noticed epic fail... They don't have function switch from tracks to effects and control specific device parameters.. How is that possible.. I hope in this video to see some basic programming, and maybe i will find solution to solve my mentioned problem.. Also i hope to see more such videos. THANKS Edit: Looks like everything is much simpler.. Found in github: KeyLab_Essential_Hacks And looks like MKii inherits functioons from KeyLabEssential. Tested pans controls and works like expected :D Now is time to dig API..
@NikTackett
@NikTackett 3 жыл бұрын
Where is the best place to learn how to make a remote script?
@johnhargens4980
@johnhargens4980 5 жыл бұрын
Do you know if this would also apply to ableton 10
@johnhargens4980
@johnhargens4980 5 жыл бұрын
I'm trying to get this to work with an mpd226 and ableton 10 but can't seem to get the red box to show up
@johnhargens4980
@johnhargens4980 5 жыл бұрын
Got it to work, but I'm having issues resizing the red box. If I try to rewrite anything in the consts Python file of your MPD26 script besides changing names to MPD226 then the red box disappears. Do you know of any fixes for this or am I missing something? trying to make a 2x3 so the rest of my pads can be used for navigation. Also I'm finding when switching between tracks the device doesn't always link to the macros so I have to turn off the device and/or lock it to that track for it to work. I've tried editing your script and add stuff from some others as well but I must be writing it wrong because when i try that they no longer show up in ableton's midi remote scripts.
@ChrisJosephYT
@ChrisJosephYT 5 жыл бұрын
@@johnhargens4980 Hi John, great you got it to work. I'll try to take a look. My code might take a bit of tweaking so I'll see about updating it tonight
@johnhargens4980
@johnhargens4980 5 жыл бұрын
@@ChrisJosephYT thank you so much! was also wondering if there was a way to navigate the red box in increments of one rather than four scenes at a time. thanks again!
@ChrisJosephYT
@ChrisJosephYT 5 жыл бұрын
@@johnhargens4980 Hey so I took a look at the code (it's been a while I'm debating rewriting it), on line 78 and 79 you'll see two lines that are line "session.set_***_bank_buttons", uncomment those lines out by deleting the hashtag. Then comment out the 2 lines below it that start with session_zoom. It'll set the grid to move one scene/track at a time rather than paging through. Let me know if this works for you
@IceOnDaMix
@IceOnDaMix 4 жыл бұрын
clicking subscribe
@DonAlcohol
@DonAlcohol 3 жыл бұрын
also i found out that if u use uncompyle6 , the python scripts in live 10.1 are compiled with python version 2.7. (so not with 3) and there is no import live anymore. (you can just run uncompyle6 -r to uncompile all pyc files in the midi remote scripts directory
@pastuh
@pastuh 3 жыл бұрын
Decompiled too, and only after that found this page: structure-void.com/ableton-live-midi-remote-scripts/ A lot of useful information :)
@DonAlcohol
@DonAlcohol 3 жыл бұрын
@@pastuh i recognise thelogo, never heard of structurevoid but is spend allot of time on the site of julian structure-void.com/AbletonLiveRemoteScripts_Docs//_Framework/ , -realizing only now that the site julienbayle.studio/ is now called stucture void ... :) does anyone know wheter ableton 11 still uses pyton 2.7? or did the finally switch
@IceOnDaMix
@IceOnDaMix 4 жыл бұрын
Writing scripts is difficult & tedious. Maybe if i took a class on it id know the basics
Interacting with Live's API: M4L vs Control Surface Scripts
16:33
How to save midi mappings to your instrument racks in Ableton !
11:03
ИРИНА КАЙРАТОВНА - АЙДАХАР (БЕКА) [MV]
02:51
ГОСТ ENTERTAINMENT
Рет қаралды 14 МЛН
Smart Sigma Kid #funny #sigma #comedy
00:25
CRAZY GREAPA
Рет қаралды 16 МЛН
Can You Draw A PERFECTLY Dotted Line?
00:55
Stokes Twins
Рет қаралды 102 МЛН
Recreating a Hammond Organ in Ableton Live 10
12:23
Chris Joseph
Рет қаралды 17 М.
How to set up LOOPER within Ableton Live SUPER FAST
9:48
Oliver Gearing
Рет қаралды 12 М.
Crossfire - Ableton Live Control Surface Script for the AKAI FIRE
19:03
Isotonik Studios
Рет қаралды 16 М.
CoffeBeats #63 - Akai mini play and Loopy Pro MEGA Tutorial
15:37
Ableton Live. Что такое User Remote Scripts.
10:47
#Logic#Ableton
Рет қаралды 251
Unlock the POWER of Ableton with Bome MIDI Translator Pro
13:44
Oliver Gearing
Рет қаралды 5 М.
Setting up a Control Surface for Live
9:12
Stray411
Рет қаралды 21 М.
Iliyas Kabdyray ft. Amre - Армандадым
2:41
Amre Official
Рет қаралды 704 М.
akimmmich (feat. Turar) - UMYTTYŃ BA?| official lyric video
2:54
Erkesh Khasen -  Bir qyz bar M|V
2:43
Еркеш Хасен
Рет қаралды 159 М.
Zattybek & ESKARA ЖАҢА ХИТ 2024
2:03
Ескара Бейбітов
Рет қаралды 205 М.
Ozoda - JAVOHIR ( Official Music Video )
6:37
Ozoda
Рет қаралды 11 МЛН