[PD] Re : connecting a samphold and a phasor together

Benoît Fortier benoitfortier at yahoo.ca
Thu Apr 29 20:40:34 CEST 2010

Thank you, I just tried the loop~ object and it works very well for what I'm doing (a looping sampler which allows to change the offset and the size of the repeated segment without transposing it... rather simple stuff I suppose but fun to work on when learning!). One more question came up to my mind when trying the loop~ object : it is recommended under certain circonstances to add 3 samples to an array to allow a "better playback" (or something like that) when building a sampler. Anyone can explain me why and when it is necessary to add those 3 samples?

I hope I'm not spaming this list with obvious, newbie questions! Thanks in advance.


De : Miller Puckette <mpuckett at imusic1.ucsd.edu>
À : Roman Haefeli <reduzierer at yahoo.de>
Cc : Beno?t Fortier <benoitfortier at yahoo.ca>; pd-list at iem.at
Envoyé le : Jeu 29 avril 2010, 11 h 43 min 23 s
Objet : Re: [PD] connecting a samphold and a phasor together

There's also the loop~ object (in pd/extra) which I had to write for exactly
this reason.  But I doubt it's general enough for every possible purpose :)


On Thu, Apr 29, 2010 at 04:26:13PM +0200, Roman Haefeli wrote:
> On Wed, 2010-04-28 at 08:03 -0700, Beno??t Fortier wrote:
> > First time on this mailing list, so hello everyone! I started using pd
> > a couple of month ago and I'm completely addicted.
> > 
> > Ok I have a simple problem for which I'm looking for the most elegant
> > solution.
> > 
> > I need a phasor (in a looping sampler) which frequency can be changed
> > only at the beginning of it's period (when it drops to zero). That's
> > usually the kind of problem a samphold can handle very well but when I
> > connect a phasor and a samphold directly together I get a "dsp loop
> > detected (some tilde objects not scheduled)" error. One solution could
> > be to "pipe" the new frequency to the phasor with a delay calculated
> > from the previous frequency but I have the feeling there must be a
> > more elegant solution to this problem. Anyone got a suggestion? 
> In order to avoid recursiveness, you could do it by using [metro] and
> [vline~]. Then you have the feature 'update the frequency only
> loop-start' for free.
> Roman
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20100429/888d2662/attachment.htm>

More information about the Pd-list mailing list