You might want to look at the bitwise operators >>, <<, etc. I tried to play with them after some summer flirtation I had with the R&K C manual, but never got far with that concept. ~Kyle
On 3/16/07, David Powers cyborgk@gmail.com wrote:
Hello,
Is it possible to somehow convert back and forth between integer and binary in PD?
My idea, is to represent simple drum machine style rhythms as binary numbers. [101010001011]. Ok, so if this were a float, it would be trivial to do a common task and shift the rhythm left or right. I think, that other rhythmic variations would also be quite fast to implement using this system, you can do binary math instead of list operations which should be much faster, I assume.
~David
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list