Replace [read $1 table17( with [read -resize $1 table17( and resize will do all the magic for you.
On Tue, 15 Aug 2006 22:50:27 +0100 (BST) Tas Pas tprotopgr@yahoo.gr wrote:
Hi list,
I've been searching for 2 days now, a way to loop a sample that is several seconds long using the [tabread4~] object.
Somewhere I found that the chunk size that is given in the B08.Sampler.Loop pd file in the documentation, has to be equal to the size of the loop in samples.
I'm getting the size of the loop via the [soundfiler] output and feed it to the input of the [*~ ] object tha controls the chunk size of the loop to be played but, I cannot have the result that I want, to make the sample I feed the soundfiler object sound exactly as you could hear it with the [tabplay~] object (pitch and duration wise) but looping.
I attached you a slightly modified version of the B08.Sampler.Loop pd file and a sample that I want to loop.
Any suggestion anyone?
Thanks
Regards, Tasos
______________ Yahoo! __________ __ __________ ____ ____ (spam); __ Yahoo! Mail ________ ___ ________ ______ _________ ____ ___ ___________ _________ http://login.yahoo.com/config/mail?.intl=gr