I'm working on a looper type thing that I want to be able to change directions while recording, but have it wrap around to the highest point I've gone to, rather than the end of the buffer.
I'm using a rather large (30sec) buffer, and rarely use all of it. So if I start recording a loop, then 3 seconds in, go reverse for 2seconds, then forward one second, everything works fine, but if I reverse past 'zero' then it starts writing at the very end of the buffer, which is useless once I start playing back.
What I want is for the highest number I've gone to to act as the 'loop end' (even though I may go past it later on), so if I reverse past zero, it would jump to, and start writing from that loop end (which I can then go forward and write past that too).
I'm using minmax~ to keep track of my highest point (this also determines the maximum loop point for repetition). I can't figure out how to determine when I've gone from above 0. to 0.99
I've tried select, thresh~, and edge~ (something else which I forgot) and nothing reports the 0. to .99 change. Actually I don't want the 0.99 change to happen, so I want to know when I hit 0. so I can jump to whatever the highest point I was at.
Any suggestions on what object(s) to use?