[PD] even/odd conditional mod
João Miguel Pais
jmmmpais at googlemail.com
Wed Aug 2 14:52:56 CEST 2006
Hi,
I have a (variable) flow of ascending numbers triggered from until. I
wanted to separate them into even and odd ones, so that each becomes a
different treatment (eg. even get 0ed, odd get divided by 2). Is there a
modulo option in expr? With that and an [expr if] it should be easy. Or
does anyone has any other suggestions?
Thanks,
Joao
--
Lugostr. 14
79100 Freiburg i. Br.
Deutschland
+49 (0)761 7074997
jmmmpais at googlemail.com
http://www.puredata.org/Members/jmmmp
IBM Thinkpad R51, XP, Pd-Ext-0.39-2-t3
More information about the Pd-list
mailing list