My thinking with this expression:
iif(time>n, time-n, time)
… was that for any time value below n the Time Stretcher would give you the same frames as the source, but that once it hit n it would give you the source time minus n.
But I made a mistake in my counting which means I’m out by a frame and it should have been this:
iif(time>n-1, time-n, time)
So if you merge that over the top of the original source you should get the same two frames on frame zero; frame one plus frame zero on frame one; and so on for each instance of the Time Stretcher/Merge operation.
In other words this:
iif(time>4, time-5, time)
… would give you the same frames as the original up until frame frame 5 (counting from zero), and on frame 5 itself would give you the original starting frame of the clip.
In other words, until the value of N is exceeded the result of the Time Stretcher will look identical to the source, but thereafter it will look like the source time minus n.
From what I have been able to understand that’s what you were trying to achieve. So on frame 6 for example, you would be seeing frames you would be seeing frame 1 plus frames 1 to 5 inclusive.
Here’s a sample composition that shows that in practice (with 8 instances of the Time Stretcher.)
I’m afraid I still can’t quite envisage the effect you are going for with your Merge operation so it may be that you want to effectively disable the output of the TimeStretcher operation until you get to the frame where you want the offset to kick in, in which case you’d need an expression on each Merge operation to get that to happen.
Does any of that start to make sense or help at all?
Simon Ubsdell
hawaiki