Quantize help
Hi,
I'm writing a vj app for the monome and i need to work out a way of quantizing button presses (received via OSC) to say 1/32, 1/16, 1/8 etc beats.
I've only been using max for about 1.5 months now so im not very advanced so a nice example would help me no end.
Thanks a lot guys, if you need more info let me know.
Thanks again.
This might work for you. Just replace the quantized MIDI data with your own messages. I've attached a slightly modified version of the global transport patch that comes with Max5.
best,
Zachary
This looks great thanks! Im guessing i could modify the sync_metro patcher to sync to a midi clock/send out midi clock?
Also it won't work with lists. The button data is, far example,
1 4 0
But i'm pretty sure i could think of a way using gates and packing/unpacking.
I haven't actually tried to put it in my patch and i find it hard to work stuff out unless its infront of me!
I'll be back soon with my outcome.
Thanks again!
If you want lists to work with this patch, just send them through a [tosymbol] object before going into the [mxj list.Group], and then after the iter object, add a [fromsymbol]. Let me know if this makes sense.
best,
Zachary
You can also simply use pipe now. Here is a patch that Andrew Pask posted on another thread about quantization.
Here is a link to that thread-https://cycling74.com/forums/index.php?t=msg&rid=2723&S=e32a343792ed21f2c00b419130be0a10&th=34991&goto=149287#msg_149287
Thanks Nick and Andrew, this is much better. Forgot about the new pipe functionality. Simple.
best,
Zachary
Looks great. This is probably a stupid question:
How is the transport and metro cnnected to the pipe?
Do i have to change both the pipe value and the metro value to change the quatize amount?
Thanks guyys
The transport/metro thing is just there as an example. The toggle button is turning both transport and metro on at the same time.
All of the objects are 'connected' behind the scenes using the (new to Max 5) metrical timing. Take a look at Max Tutorial 19 for an overview.
If you want to change the quantize value of the pipe object, use the 'quantize' message.
Here is the same patch with a umenu to change the quantize value-