I try to create a patch with Wire to create some effects of slow motion of a live stream captured by camera.
I think the best way is to use a Ring Buffer. Of course, the slow motion effect can't be "eternal" otherwise the Ring Buffer should have an endless size of frames.
But if I use a 240 frame buffer (that means 4 seconds, also I don't why the Buffer works with 60 fps and not 30...), I could make 2 seconds at 0,5 speed and 2 other seconds at 1,5 speed, and the live stream will follow this alternation of 2 seconds slow motion, 2 seconds high speed.
I try to make it by modifying the index of the buffer. I could double the time of a frame in the index. I guess if I have 60 fps, I could add a "-1" in the index every 1/30 of seconds. Also, that should make that every frame is rode 2 times. I tried to command an Add node with a metronome at 30 hertz. But I can't command an Add node in that way.
Am I close to the solution, or am I in a total wrong way

Hope you find my project sexy enough to give me advices

Best regards
Jonathan