Quantize only the selected notes?

cesipxynic's icon

I'm sure I'm missing something very simple, so apologies in advance.

I am trying to quantize notes as they are recorded. To that end I am sending

call quantize [desired-grid] 1

to the [live.object] representing the currently playing Clip.

Live automatically selects the freshly recorded notes in the Clip, so I assumed only those notes would be quantized, however it appears that it instead quantizes all the notes in the Clip, which of course is not the desired behavior. Are there further arguments to quantize that I'm missing, or am I approaching this from the wrong end?

cesipxynic's icon

Answering my own question:

The correct approach is to set the midi_recording_quantization property of live_set.