I've been puzzling over this for a bit this evening, can't seem to work it out. Basically, I record a loop, then replace segments of that loop with new audio wherever/whenever I want.
But, I want to be able to get rid of the little clicks that inevitably happen at the start/end of each replaced segment. I've got to a place where I thought it should work, but am having no luck.
The patch needs the CNMAT accumulate~ object, it is included in the zip file.
hmm....I actually just noticed a big problem with my method. If you replace a long segment, and then replace segments within the replaced segment (if that makes sense) there is no way to detect the (2nd layer) smaller segments.
Does anyone have any suggestions on how I could record a very short (lets say a vector-length) spike into the window buffer~ (ie a spike at the beginning of each new segment, and another at the end) instead of a block of signal? That way the above problem wouldn't exist. I want to stay away from click~ as it isn't controlled at audio rate.
Also.....there is occasional glitching when replacing, I've got no idea why it occurs, and why only sometimes.
Sorry for the lengthy post, I'm very grateful for suggestions.