Forums > MaxMSP

Need to let through initial message but block subsequent messages.

June 7, 2010 | 3:19 am

Is there any object that will let through an initial message but then block all further messages. I will be using it to set buffer size in my live looper but don’t want each subsequent recording to keep setting the buffer size afterward. Can anyone help me out?

Rob


June 7, 2010 | 3:57 am

The solution I might use would involve onebang. It only deals with bangs, but you can whip up all sorts of solutions with it. There was a similar thread recently where there were several solutions presented. http://cycling74.com/forums/topic.php?id=26279


June 7, 2010 | 4:54 pm

I can’t get to a Max machine right now to create an example patch, but you can have a [trigger] object tied to the output of a [gate]. The [trigger] can pass through your info, then have second output to close the gate. You can use a [loadmess] or argument within [gate] so the patch opens with the desired [gate] outlet opened up. I do this often enough that I created a reusable patch for myself and called it something like "gate_autoclose".


June 7, 2010 | 7:04 pm


June 7, 2010 | 11:16 pm

Thanks for the information guys. Everything is working now.


Viewing 5 posts - 1 through 5 (of 5 total)