quantizing bangs.

Aug 12, 2011 at 11:16am

quantizing bangs.

can i send a bang, or a number, or a message, but have it actually execute on the next available beat? say 1n or something? i’ve looked into a bit on certain patches that use quantization, mainly midi related, but wondered if there was a simple way to do it with with basic commands…


Aug 12, 2011 at 11:58am

You can use [delay] as a way of quantizing bangs I think. But there would be better ways too

Aug 12, 2011 at 1:00pm

try this, maybe it will help…

– Pasted Max Patch, click to expand. –
Aug 12, 2011 at 1:33pm

thanks for that, but really i only want to send a bang once quantized to a beat, rather than repetitively as it does here, or at least that what i think its going on. really i want to bang a number once but do it on the next down beat, or to a value of 1n etc… any thoughts?


Aug 12, 2011 at 1:48pm

See the timepoint object.

Aug 12, 2011 at 1:55pm


Aug 12, 2011 at 3:31pm

Have you checked out the onebang object?

– Pasted Max Patch, click to expand. –
Aug 12, 2011 at 6:43pm

BTW, don’t discount Terry’s suggestion about the delay object. “delay 0.0.0 @quantize 1n” will do what you asked for.

Aug 12, 2011 at 8:26pm

timepoint is cool and is news to me. thanks for the tip!

some other ideas:

– Pasted Max Patch, click to expand. –
Aug 13, 2011 at 2:58am

I can’t see what other ideas were just suggested (I’m writing from an iPad) but I’m wondering why one couldn’t just combine a gate with an = operator fed directly from the beat of that transport object such that whenever the beat is “1″, the gate would let a bang through.

Did I miss something ?

Aug 13, 2011 at 2:34pm

That would let a bang through any time it occurs during the whole first beat of a measure, rather than holding it and synchronizing it exactly on the instant of the first beat, as I think the original poster specified.

Aug 13, 2011 at 4:01pm

I didn’t realize that the transport didn’t actually send values out unless you explicitly requested them.

However, here’s a cleaner version that just uses route and sends a bang only each time the beat is ’1′ and only the first time it becomes ’1′

– Pasted Max Patch, click to expand. –

You must be logged in to reply to this topic.