generating bit lists based on positional values?

    Jul 09 2013 | 7:23 am
    I need to convert pitch class sets to bit lists and I am having trouble getting my head around the conversion of positional values to bits. Given a set of list positions how do I get 1's in each named position and 0's in all of the unnamed positions using standard Max objects?

    • Jul 09 2013 | 7:29 am
      This seems to work:
    • Jul 09 2013 | 7:41 am
      God damn that is beautiful.
    • Jul 09 2013 | 9:08 am
      ...Just found a zero bug in that solution. This should take care of it..
    • Jul 09 2013 | 12:18 pm
      ah yeah, didn't really take the time to check it through hehe. Whoops.