[PD] connecting a samphold and a phasor together

Miller Puckette mpuckett at imusic1.ucsd.edu
Thu Apr 29 17:43:23 CEST 2010

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

More information about the Pd-list mailing list