Hi,
Following my efforts to make pure Pd versions of some of the zexy essentials, I found some time over the weekend to knock together a pack~ clone. See attached.
It seems to work OK, but like a_unpack~ posted recently it's horribly inefficient compared to the zexy original.
It uses some other niceties:
a_blocksize~ : reports the blocksize of the parent patch to its outlet a_pow2? : outputs 1 if the input is a power of two 0 otherwise
Further contributions and refactoring welcome!
Jamie
P.S. requires list-rev and list-lastx from list-abs.
hi
Jamie Bullock wrote:
a_pow2? : outputs 1 if the input is a power of two 0 otherwise
just a quick suggestion: using special characters (lke "?") in filenames is usually a bad idea. (you really defeat the portability of pure Pd abstractions)
a_isPow2 is way better :-)
fgasdr IOhannes
On Mon, 2008-12-22 at 11:49 +0100, IOhannes m zmoelnig wrote:
hi
Jamie Bullock wrote:
a_pow2? : outputs 1 if the input is a power of two 0 otherwise
just a quick suggestion: using special characters (lke "?") in filenames is usually a bad idea. (you really defeat the portability of pure Pd abstractions)
a_isPow2 is way better :-)
Good point! I'll change that.
Jamie