Im new to PD and Im having a bit of trouble. I have this patch that plays a sound clip from a table when the microphone detects amplitude input. The clips are however limited to 400000 elements, so after the patch finishes playing through the clip (roughly 3-4 seconds) it just loops. Is there a way to play an entire song all the way through? could I do this using multiple tables or is there a more efficient way?

Ive attached my patch for reference. Note, the left side of the patch is a video mixer, disregard that. the right side of the patch is where my concerns are.

http://www.pdpatchrepo.info/hurleur/theremin:vocoderpatch.pd