[PD] "bit" object?

Tim Blechmann TimBlechmann at gmx.net
Tue Jul 8 13:45:43 CEST 2003


it's also possible to create an object that's using bitwise AND
operations:

such as:

inlet
|______________________..
|             |        ..
& N1          & N2     ..
|             |        ..
== N1         == N2    ..
|             |        ..
outlet        outlet

with Nx=1,2,4,8,16,32,64...

it should work similar to pix abstraction, but i suppose that's
cheaper ;-)

and it's easyer if you are only looking for a single bit...

btw, why isn't it allowed to create an expr like:
expr ( ( $f1 & (2^$f2) ) == 2^$f2)

 Tim                          mailto:TimBlechmann at gmx.net
                              ICQ: 96771783
                              http://www.nyds-exp-discogs.tk
--
The only people for me are the mad ones, the ones who are mad to live,
mad to talk, mad to be saved, desirous of everything at the same time,
the ones who never yawn or say a commonplace thing, but burn, burn,
burn, like fabulous yellow roman candles exploding like spiders across
the stars and in the middle you see the blue centerlight pop and
everybody goes "Awww!"
                                                          Jack Kerouac





More information about the Pd-list mailing list