Trigger, record, reset logic; I'm doing something wrong...
This is my first attempt to really design an interface/use logic within max, so apologies if this is overly simple.
Having a lot of trouble getting this right.
Objective of this patcher: one tap = trigger playback. Two tap = record into multislider. Three tap = clear multislider.
So first tap will activate the playback of the info in the multislider (not done yet)
Second tap will trigger the metro keyed to the globalTransport at 32n, take in the currently selected value (1-16), and records to the appropriate slot on the multislider.
Third tap will reset it all.
Further, the taps autoreset by setting all the bucket points to 0 by way of delay.
Here's my muddled through patch right now. It's outright not working, but hopefully you guys can make out what I'm generally trying to do. I'm going to keep working at it, but I'm debating cheating and writing a quick java patch... Thanks a lot for your help!
have a look at this. maybe it will be helpful. the patch will detect number of bangs:
edit: to fine-tune the timing play with the delay setting!!!
That's exactly what I was trying to do with the right part of the patch. I suspect I can figure out the rest from here, I'll post the results when I'm done.
Thanks a lot for your help.