I'm trying to build a patch to sample and loop live input. Basically I want to be able to punch into the loop and out and record continuously.

I tried  writing to a table using [start $1], which does record, but the problem is that it stops recording when it reaches the end of the table. Also I can only get the position using snapshot~, which is not very accurate, timing wise.

Can anyone suggest a workable approach? Or even better, point to an example patch?

Many thanks,

- martin