[PD] Building a counter problem

Frank Barknecht fbar at footils.org
Sat Nov 5 22:29:46 CET 2005

Brad Kligerman hat gesagt: // Brad Kligerman wrote:

> I just want to count : 0,1,2,3,4,0,1,2,3,4,0,1,2... by continuously hitting
> a bang.
> Can somebody tell me why this isn't working?

Yes, see here:

You should use the float outlet for counting, and you can build a
restricted counter using [mod] (it's also called a "modulo-n-counter".

 Frank Barknecht                 _ ______footils.org_ __goto10.org__

More information about the Pd-list mailing list