tabosc4 has a length constraint so this is probably better for samplers etc.
https://patchstorage.com/no-click-phasor-looping-w-tabread-pd-vanilla/
-
wavetable-synth with phasor and tabread4 / no clicking
-
@willblackhurst If you look at the help file for [tabread4~] you will see that correct interpolation requires guard points added to the array so that interpolation is performed correctly as [phasor~] wraps around the end of the array.
Your patch doesn't glitch between the array copies, but it does as [phasor~] wraps at the end of the 3rd copy, or where you chop into the array adjusting the clip length percentage.
@lacuna made a handy patch to add guard points automatically.... https://forum.pdpatchrepo.info/topic/14301/add-delete-guard-points-of-an-array-for-4-point-interpolation-of-tabread4-ect
I suppose that if you want to adjust the playback length then you would need to copy a percentage of the array to a new array, and then add the guard points.
David. -
oh the phasor thinks the period is only the middle copy length. and it starts at the middle copy. so it should go backwards as well.