Recording XY pad movement / playback
Hello Max heads!
I'm trying to create a XY pad movement recorder, but I'm not sure if I'm going about it the right way.
- I'm using a jsui object with the x+y values scaled between 0. and 1.
- When I hit record I'm using a [metro] set to 10ms and a [counter] packed along with the xy values going into a [coll].
- To playback I'm using another counter to recall the values from [coll].
I am trying to have 4 instances of this record/playback system, and my computer starts to chug with only 3 recording / playing back.
My question is: is there a better solution to do this? The example above seems quite clunky.
And if so, is there any optimisations that could be done to clean this up?
Or is there a magical object that I don't know that would do this?
Any insight would be a massive help!
Cheers,
Liam
Try [qmetro] for playback, maybe something is struggling with high priority bangs at 10ms rate.
Another optimisation could be to record only changes from the x-y pad with a time delta value. To prevent a lot of duplicated entries in the coll and to not use a fixed rate.
You can also use seq~, as you get a bunch of benefits out of that and it can record arbitrary messages. It needs a bit of plumbing around it, but once you've built that you can reuse it over and over.
Here's an old example I built that shows some basic functionality of a "gesture recorder":
https://rodrigoconstanzo.com/wp-content/uploads/2015/06/pattern-recorder.zip
mtr Object
Hey guys, cheers for the insight! never tried any of your suggestions, so I will be testing each of your suggestions out, thank you again!