Quantize functionality via drumpad button of AKAI LPD8 MK2

712 viewsCSS Questionslive 12
0

Dear All,

How and where can i automate “quantize” like with keyboard command combination “Control + U” in CSS?

I found “quantize” under reactions but i can not get it to work.

Can somebody give me some hints? Is there anybody who knows and have it working and show me their settings?

Thanks for the help, see below my settings,

Capture-1.PNG

Capture-2.PNG

Capture-3.PNG

End this seems to be the created Python code:

self.song().tracks[0].clip_slots[0].clip.quantize(Live.Song.RecordingQuantization.rec_q_sixtenth, None)

Wilfred Adegeest Answered question
0

Hello JohnC,

Thanks!

Yes quantize works however it seems to always quantize to 1/32, can i change the code line to another value? 1/16th?

self.song().view.detail_clip.quantize(self.song().view.detail_clip.view.grid_quantization, 1.0)

Is it the number 1.0 i have to modify?

Wilfred Adegeest Answered question
0

Got it working:

self.song().view.highlighted_clip_slot.clip.quantize(Live.Song.RecordingQuantization.rec_q_sixtenth, 1.0)

It was:

self.song().view.highlighted_clip_slot.clip.quantize(Live.Song.RecordingQuantization.rec_q_sixtenth, none)

I only changed none into 1.0

JohnC Posted new comment

The code I wrote should be quantizing to the current quantization grid setting