may as well post the patch i guess. actually it just gets the NEXT power of 2, not the nearest, but that is fine for my purpose - which is to decide how many slices to make in a sound file to cut it into individual beats.
nextpow2.pd
Description: application/extension-pd
_______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list