Store sequencer pattern in real time
Hi guys,
I have build a sequencer with the maxcontrl object and I am using a preset object to store my sequences. The preset is also controlled by a counter so I can move from one sequence to another in real time, like you would do with a drum machine. Whilst this system works and allows me to control a number of sequences just using one maxcntrl object, I am unable to make any changes in real time, as the preset object won't recall any changes unless you store them. I have tried sending a 'prepend' message followed by the counter number, and that in a way does the job. However, in that case any changes to one preset are stored constantly to all of them. Which is not what I'm looking for. Help please!! :)
Maybe take a look at [pattrstorage]
You can also post your patch here. We don't really see where is your counter. .
Cheers
Thanks I'll take a lot at that in the meantime here is the patch
You might be better off storing sequences in one of the saveable objects. I've done this successfully in various patches using coll, dict, buffer, and table for storage, and just making my own handlers to save the contents (and load) from disk.
Not sure exactly what you're asking, but you can use store $1 to [preset] to store the current setting without shift-clicking. Anytime the counter goes up 1 it will access the stored preset if there is one. I recommend storing blank matrixctrl patterns in all the preset slots (you can just scroll the int box over store $1 and be done in a couple seconds), then you can shift-click or set the int manually to store new ones. (Don't scroll the int then, it will overwrite!)
There's also an int which stores the currently-playing preset, you can click the button above it to store that one specifically.