I’m building a performance tool in Max MSP in which I’m hoping to record my midi performance and have it play back and loop instantly. I’ve been through the tutorials and help files but didn’t find them particularily helpful. Does anyone know of any other tutorials on sequencing?
I am also hoping to quantize my performance at 1/16 in real time as I play. Does anybody know how to achieve this?
One fairly simple way is to set your global tempo, then divide it to the 16th note length or whatever you want. Then, before your notein gets into the seq, you *set* it. The master bang / tick comes in at a quantized rate and sends it through a change object (so only new notes get recorded). Then it gets recorded into seq or detonate.
There’s a bit more to it but it’s certainly doable. You can get fancier, of course, and I’m sure there are a number of other ways to achieve this, but this "set and hold until tick" works fine.