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