Sorry for the wait, I have a lot of work at the moment.
lectro wrote: ↑Wed Jul 30, 2025 9:30 am
Does this script enable you to work on the faders panning and sends when you expand drum racks?
I've tested it and I'm afraid the answer is no. In fact, I don't know if any control surface can do that: I see no obvious resources in the API to implement it, unfortunately. Edit – Correction: after a vigorous tussle with Live API,
the answer is now yes
Inghenio wrote: ↑Sat Aug 02, 2025 9:11 pm
I have changed the values from 70 to 101, and changed also the value of the JOG_SCRUB from 101 to 1010. But, when I save and turn on Ableton again my Xtouch One doesn't respond to any command send. Also, the display in the XTouch ONE says: No conected to Ableton. :S
I'm sorry, that 1010 value was a mistake. I just picked it randomly as an unused value to "disable" the variable JOG_SCRUB, but it turns out 1010 is out of bounds for a function that still uses it, which leads to an error. If you make it 113, it works without error, turning the SCRUB button into SHIFT. So, like this:
Code: Select all
SID_MOD_SHIFT = 101 # changed from 70
...
SID_JOG_SCRUB = 113 # changed from 101
Inghenio wrote: ↑Sat Aug 02, 2025 9:11 pm
By the way, I have been thinking that If we can use the buttons F1, F2 ... F6 to assign functions like: SHIFT, ALT, OPTION, CONTROL. And I was thinking also to being able to assign a F5 button for example, to assign the encoder to track send levels.
It would be amazing! But I'm not sure if it will be easier to change in consts.py.
Thank you very much
OK, instead of the mod with the SCRUB button, try this:
Code: Select all
SID_SOFTWARE_F1 = 113 # changed from 54
SID_SOFTWARE_F2 = 113 # changed from 55
SID_SOFTWARE_F3 = 113 # changed from 56
SID_SOFTWARE_F4 = 113 # changed from 57
...
SID_MOD_SHIFT = 54 # changed from 70
SID_MOD_OPTION = 55 # changed from 71
SID_MOD_CTRL = 56 # changed from 72
SID_MOD_ALT = 57 # changed from 73
That turns F1-4 into SHIFT, OPTION, CTRL and ALT. (The "# changed from" lines aren't necessary, they're just in case you want to undo the changes.)
Send is a little more complicated due to how the script works: by default, it shows the available sends for the current track side by side over multiple channel strips, and the X-Touch One only has one channel strip. However, with the
latest beta of the script, pressing SEND twice opens the new Single Send mode, where the same send channel is shown for every track.
You could try these mods to turn F5 into the SEND button, F6 and F7 into previous/next to flip between send channels, and F8 into PAN (to return to the normal panning assignment):
Code: Select all
SID_ASSIGNMENT_SENDS = 58 # changed from 41
SID_ASSIGNMENT_PAN = 61 # changed from 42
...
SID_ASSIGNMENT_EQ = 59 # changed from 44
SID_ASSIGNMENT_DYNAMIC = 60 # changed from 45
...
SID_SOFTWARE_F5 = 113 # changed from 58
SID_SOFTWARE_F6 = 113 # changed from 59
SID_SOFTWARE_F7 = 113 # changed from 60
SID_SOFTWARE_F8 = 113 # changed from 61
If it works, the only limitation would be that you need to press F5 twice to control sends.