Hi list,
it should be possible to have readsf~ loop without a gap by using a soundfile that has no discontinuities in its audio signal at the end/start, and whose length is a multiple of Pd's block size (64 by default). Yet I do get clicks when I try this. In a conversation with the helpful and great IOhannes we looked at the logic and timing of readsf~ banging its right outlet. Can it be that it bangs one block too late in order to loop seemlessly?
See attached patch.
By the way, looping playback from a table via tabplay~ does also click when using its right outlet (which is undocumented in the helpfile I happen to see right now).
Thanks for all hints! Peter