Looking into this and seen loop start end on a sample abstracts. Is there an obvious example I’ve missed for this?

So for a sample, “one two three”:
Holding a note could go one two two two two…
And note off could go three.

Thinking I need 2 delay reads to allow fade outs and ins to avoid gaps or clicks when looping which is just about timing things right. Just looking to avoid reinventing the wheel if I can.