[PD] Binary - integer conversion

Kyle Klipowicz kyleklip at gmail.com
Fri Mar 16 18:53:49 CET 2007


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 at 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 at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>


-- 

http://theradioproject.com
http://perhapsidid.blogspot.com

(((())))(()()((((((((()())))()(((((((())()()())())))
(())))))(()))))))))))))(((((((((((()()))))))))((())))
))(((((((((((())))())))))))))))))))__________
_____())))))(((((((((((((()))))))))))_______
((((((())))))))))))((((((((000)))oOOOOOO




More information about the Pd-list mailing list