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

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

You are viewing 1 out of 5 answers, click here to view all answers.