i'm trying to use the functions "call quantize" and "call get_notes" on a live.object to manipulate midinotes in a clip.
My problems are the parameters:
"quantization_grid [int] and amount [double]" for quantize
and "from_time [double] , from_pitch [double] ,time_span [double] ,pitch_span [double] " for get_notes
I'm not able to find the right format for this messages, i've tried many variations of numbers after "calll quantize" but the max-window always says "invalid arguments. 'quantize...' ,
for example "call quantize 1 100" for quantization grid 1n at 100% amount doesn't work...
Also with "get_notes" i have no luck... is it necessary to to use all arguments or can i just use the time related when the pitch doesnt matter? My purpose is to select all notes in the loop-range of a clip.
I've searched the Max-documentations but didn't find out which mistake(s) i've done...
Can someone give me an example for this??
many thanks in advance!!!!