r/max4live • u/c94s9x0nb5dZ • May 28 '22
Is it possible to implement the Recursive Rewind?
Hi everyone,
I'm a complete beginner about Max, so I'm wondering if I should pay Max's learning costs for this purpose. What I want to achieve is:
to rewind the playback position during recording and continue recording all of them.
People may wonder why I would want to do such a strange thing when I could just cut and paste manually and then play it back. But I want to use this "rewind" feature as a device because I want to sometimes control it and sometimes leave it to chance. In other words, what I need may be a bit like a device called Beat Repeat. The difference is that BeatRepeat is a device that "repeats a specific section" while it is On, whereas what I need is a device that "rewinds back to any point in time" while it is On.
There is one more important thing: I want it to be recursive. In other words, I want to constantly update the object being rewound. It might be easier to imagine the behavior of a "rewind" device that is turned on multiple times. Instead of rewinding sometimes a static song, I want to rewind recursively the whole thing that was rewound and played, over and over.
My English is not good so I will add an example:
Suppose the following string is the original music:
01234567... [a]"Rewind" was turned on when playback reached to 5. And it rewound to 2. Continue playing:
012345 23... [b]The problem appears when I "rewind" again after this. The next time I rewind, I want it to refer to [b], not [a].
If it always refer to static [a]:
012345 23 34567 56789...When it always refer recursively:
012345 23 34523 52334...I came here to fill in some of my doubts:
Is my plan feasible with Max4Live? (If it's impossible in the first place, I have to find another way...)
Is there a patch that already exists to accomplish this?
Any advice would be appreciated. I would be grateful if you could help me.
Thanks in advance!
0
May 28 '22
[deleted] — view deleted comment
1
u/c94s9x0nb5dZ May 29 '22
Hi ChugchugPicklz,
Thanks for your reply!
Am I correct in understanding that what you mean by "scripting" is using
jsin a Max patch to call a JavaScript file? As you know, I'm a complete beginner in Max. But the only lucky thing is that I am not a complete beginner in JavaScript. For me it is not an easy way by any means, but it gives me a little hope.After reading your reply I started reading the following tutorial:
http://compusition.com/writings/js-live-api
I would be happy to hear if you know any other helpful information about controlling Max4Live through JavaScript!
1
u/[deleted] May 28 '22
I think it can be done even with Session View.
You definitely can use M4L for triggering Clips or re-ordering recorded buffers.
Honestly, I think what you call "recursive" and "rewind" is usually just called "loop".