[PD] Sampler loop strategies

Frank Barknecht fbar at footils.org
Thu Feb 15 14:08:05 CET 2007


Hallo,
Roman Haefeli hat gesagt: // Roman Haefeli wrote:

> this leads me to question, that is coming up to my mind again and again,
> but i still didn't come to a satisfying conclusion. there is another
> method of getting clickfree loops, that hasn't been discussed yet:
> detect zerocrosses and loop only from zero-cross to a zero-cross. but
> how are such things implemented in pd? the only way i can imagine to
> detect zero-crosses is to convert each audio-block to list of floats
> using [pack~] from zexy. this approach actually means, doing all the
> detection stuff in the 'message-domain', which is very cpu-consuming.
> how does one overcome this problem? this problem arises always, when an
> event (message) should be triggered on certain conditions in an
> audio-stream. i know a lot of such cases and it's always difficult, when
> not impossible to do it in pd. it can be quite frustrating to know the
> solution for certain problem, but at the same time being unable to
> implement it. i have the feeling, that these kinds of tasks are often
> delegated to externals, which is a pitty, since pd is an
> AUDIO-programming language. 

There is an external that detects zero-crossings. ;) 

Now seriously: I think, one building block that is missing is Pd is
the opposite of [vline~], that is and object that could schedule a
message with sample-accuracy according to incoming samples, and not
only with the accuracy of a block.

Ciao
-- 
 Frank Barknecht                 _ ______footils.org_ __goto10.org__




More information about the Pd-list mailing list