clip_slot.will_record_on_start override

306 viewsCSS Questionsclip on_start Record
0

With a session box – i have created a button that will trigger a clip.

With shift (modifier) pressed i need same button to do next:

  • delete clip if there is any – done
  • do not record on start, if clip slot was triggered but start beat have not happened yet.

How to achieve that?

I see that the only option is – track.stop_all_clips()

But in this case it will stop all clips of the track. But i need to stop only a specific clip slot that was triggered.

tracks[x].clip_slots[x].stop() do not work in this case, it wil still record on start beat…

Any ideas?

Hellem Answered question

There’s no way to stop a specific clip / clip slot, only to stop any playing clips on a track

Is there a way to set or override from true to false:
Will record on start
Will play on start
?

I think you can set clip.is_playing to true or false.
true will make a clip play or record depending on the current track/clip status (i.e. if track is armed)
False will stop the clip

I will try that..
But you are talking about clip.
And I am talking about talking about clip slot.
And I am talking about .will_record_on_start and .will_play_on_start and not about the current state.

Imagine you have empty clip slot. Then you triggering it. So it will record on start. So I need to cancel this behavior before it starts. And a start point is the first beat point.

So triggering a clip slot adds a code like .will_do_on_start and as I see there is no option to override it. Only by stopping all clips… But I don’t need to stop all clips…. I need to cancel a future action that was set to a certain clip slot.

And for not empty clip:
If clip slot is triggered -> it will play on start. How to cancel this?
Deleting the clip will record a new one on start. Stopping a clip – will stop it. But I need simply to cancel an action that is scheduled on a start.

Ableton support said that they will guide this issue to the developers.
But as I see, the developers just has not realized to add such code.

Am I right?

clipslot > is triggered is the only thing I can think of similar to this but it can only be observed.
Its value cannot be changed via the Live Object Model.

Yes, and this is disappointing.
Have contacted Ableton developers with this issue.
Hope you will do the same.

0
  • I think you can set clip.is_playing to true or false.

Imporsible.

Python ann ableton allows that – no error. But nothing happens. It is read only.

Hellem Answered question
You are viewing 1 out of 1 answers, click here to view all answers.