running nonrepeating number series


    Feb 18 2011 | 9:55 pm
    I love [urn], but it has to be restarted when it runs out of numbers, and there is always a chance that you'll get 2 of the same number in a row after clearing it. I made a little patch that generates a running series instead. The range can be changed on the fly.
    MH

    • Feb 18 2011 | 10:03 pm
      also check out the abstraction urn-jb. It's in the Cycling74 examples.
    • Feb 18 2011 | 10:56 pm
      Thanks!
      I looked at that one a while ago and forgot about it. It makes sense to just throw out a double when [urn] rolls over instead of reinventing the whole concept of it.
      I am always amazed at what can be done with [zl] though. I think it is one of the most useful objects in Max.
      MH
    • Feb 19 2011 | 7:36 am
      Another solution:
    • Feb 19 2011 | 9:18 am
      grab always sounds like a hack, this is another one:
    • Feb 22 2011 | 5:02 pm
      I still have trouble grasping the grab object. stefantiedje, It never occurred to me to cross the outputs of a trigger object, then compare. I have often used a message box as a buffer instead. Your solution is more compact and elegant.
      MH