haha, that works perfectly! thanks so much! cool solution. > On 31 Oct 2016, at 15:13, Miller Puckette <[email protected]> wrote: > > Here's one wy (in vanilla) - > > Narrow the pulse to one sample wide (by clipping it and subtracting > a one-sample-delayed copy). Multiply by something huge and clip~ it > so that te pulse is exactly (sample rate)/2 high. > Feed this to a phasor~. The output will then toggle between 0 and > 0.5. > > Differentiate and clip~ again to pick off the rising edges of the > resulting square wave. > > cheers > Miller > > On Mon, Oct 31, 2016 at 03:09:17PM +0100, Simon Iten wrote: >> >>> On 31 Oct 2016, at 14:20, fjkraan <[email protected]> wrote: >>> >>> On 2016-10-31 13:05, Simon Iten wrote: >>>> hi list, >>>> in the “real” circuit world it is really easy to divide a pulse by 2 >>>> with a flip flop circuit. >>>> is there a flip flop implementation for puredata somewhere? >>> >>> There might be one in the mrpeach cmos package. Otherwise you can build one >>> using the basic AND, OR and NOT gates :-). >> this would be in mrpeach as well? i would prefer a vanilla solution but will >> give it a try! >>>> i would like to divide an incoming audio pulse by 2 without much delay >>>> (avoiding fiddle~ and the like) >>>> the pw of the original wave does not have to be preserved, square >>>> output is ok. (as in real world) >>>> cheers >>>> simon >>> >>> Greetings, >>> >>> Fred Jan >> cheers >>>> _______________________________________________ >>>> [email protected] mailing list >>>> UNSUBSCRIBE and account-management -> >>>> https://lists.puredata.info/listinfo/pd-list >>> >> >> >> _______________________________________________ >> [email protected] mailing list >> UNSUBSCRIBE and account-management -> >> https://lists.puredata.info/listinfo/pd-list
_______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
