Thank you, I didn't knew about the one block delay. Problem solved very elegantly indeed!
Benef
De : Jack jack@rybn.org À : Benoît Fortier benoitfortier@yahoo.ca Cc : pd-list@iem.at Envoyé le : Mer 28 avril 2010, 11 h 26 min 41 s Objet : Re: [PD] connecting a samphold and a phasor together
I am not an expert in sound but with a [s~] (from [samphold~]) and a [r~] (into [phasor~]), you should avoid dsp loop. [r~] receive with one block delay. Don't know if there is better solution. ++
Jack
Le mercredi 28 avril 2010 à 08:03 -0700, Benoît Fortier a écrit :
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?
There is a thread in the archive that is adressing a dsp loop issue but the solution proposed dosen't seem to be adapted to my specific problem.
Thank you Benef
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list