Session box rebuild.

0

Happy to share my insights about coding a Launchpad (clip states, clips launch, deleting clips) instead of built in Session box (that has no essential functionality).

My goal was to create a script that will indicate a clip state with rgb led.  Not a controller input dependant. Made for multi scripting and multi controllers setup. The concept is pretty simple:

black – no clip

blinking (tempo dependant) red – will record

red – recording

green – playing

green (tempo dependant) blinking – will play

yellow (tempo dependant) blinking – will stop

yellow – stopped

Controlled with a single button for fire/stop. Single tap – fire. Double tap for stop. Controlled with 2 buttons shift+tap will delete the clip.

So as there are no

.will_play

.will_stop

in ableton API, there is a need to have a bomeMidi scripting of states to count was a clip played, triggered then for will play, and triggered again for will stop. Also i used a m4l device that send out Start bar (signatures, tempo, quant dependant) with midi to Bome. So it considers to drop the counter at that point.

This is how a true and simple button clip launcher with led feedback was made. There can be an option to move bome midi calculations into CSS and move m4l device startbeat calculation into CSS also. Will be happy if CSS developers will spent some time some day to make their Session box work flawlessly.

No modifiers needed, time listener was used for blinking.

20 hours and a lot of coding were used.

Feel free to ask any questions)))

alby Answered question
0

Do you think this would work with the Xone K3 buttons, too? I am trying to write a script with the sessions box for that controller, but the LEDs do not update correctly all the time and no colour change unfortunately

Max B. Answered question
0

If Xone K3 meets my midi controllers manifest – it would.

Wish you luck!

Hellem Answered question
1

I’ve been trying to do something similar with my APC Mini mk2, and I have no coding skills, so it’s been pretty inconclusive so far.
My only goal that can’t be achieved inside CSS3 is to have a the shift delete clip function.

I have found a very recent unofficial “manual” that explains the logic behind the scripts
https://midiremotescripts.structure-void.com/
but having no python experience it’s pretty hard to actually put stuff into practice.

Do you have any suggestion on how to do that?
I wish I could ask a more focused question, but my ignorance in the matter gives me no other option.

alby Edited comment

Add a modifier
Inc it to 1 with shift pressed
Add a reaction for deleting a clip with certain button pressed, if modifier = 1.
For coding part – ask chatGPT. It is very easy nowadays.
Check LOM for correct address of desired clip, check simple tutorials for CSS structure.
I can spent some time helping you directly – share your contacts for that.

Yoo, thank you for directing me on the right path, you’re really saving my life here.
It would be amazing to have some direct help on this.
I live in Italy, it’s 2am right now, so tomorrow I’m gonna check out everything you listed in the comment, do as much work and studying that I can by myself and make the process smoother.

What kind of contact do you usually use? I’m guessing discord? My Italian spaghetti ass is not used to that app, i have no personal servers, is my handle enough? It’s allby_

I’ve looked into what your suggestions, I have a couple, perplexities.

Do I need to map every single button to the specific clip in order for the function to work? In which case, would that block me from having the session box move and the mappings follow it?
Or is there some function that can make it so, when i press a clip in the session box, the delete reaction gets triggered on that specific clip, no matter what state the clip was in in the first place?

0

This is what i came up with as of now

The modifier changes value when I press the button, but I’m not sure how to make sure it changes back when i release it, and the delete function is not working.

Hellem Posted new comment

Trigger = button moved
Condition = 127
Action = modifier=1

And in reverse.

Write here a code line for clip deletion.

0

Here is what I was able to do, all exported from Css3, there was no manual coding.
The triggering of modifier 1 is ok, now i just need to know how to have the Delete Clip functionality work on any specific clip slot I press on the controller.
I tried using AI for that, but it didn’t give me a viable option.
I tried removing the clip slot and track number that are set to 0 by default, but leaving the parenthesis empty made the whole script disappear from the ableton preferences.
Maybe there’s a way to make an alias? Like having “x” as a value instead of a number?

alby Edited comment

Well, now you are learning coding!
Use manual coding. It gives better results.
Use another modifier instead of x.
Also you can declare your own modifiers.

I’m glad you think I’m learning the good stuff hahahh.
I’m guessing I should do the coding i the py file, not the json one.
You’re saying I should name another modifier, let’s say I chose m2, and replace the track and clip numbers (both in the listener and the action) with that modifier?
Edit: I just tied that, and it’s not working, I’m kinda lost right now. I’m trying to reference the website I mentioned in the first comment, and I see the various functions that match the CSS3 menus, but I still can’t find the way to apply one of those function (delete clip) to the specific track I press