Drunken repeats


    Mar 16 2006 | 11:57 am
    Hi guys,
    im trying to create a drunken walk through, however i don't want the same
    number outputted to repeat twice after itself...anyone know how to do this?
    cheers,
    dave

    • Mar 16 2006 | 12:11 pm
      just put a change object after drunk...
    • Mar 16 2006 | 12:21 pm
      if I remember well, negative steps size remove step size of 0. Is it
      what you want ?
      hth
      Julien.
    • Mar 16 2006 | 12:35 pm
      nice one,
      -2 seems to do the trick.
      cheers buddy.
    • Mar 16 2006 | 5:52 pm
      A caveat...
      Although I intended to make my Dronk object behave exactly like drunk, it
      does not respond correctly to negative steps. I'll try to fix this ASAP but
      I can't guarantee when I can get to it. I have a couple of ideas for a work
      around that I'll post in a sample patch soon.
      Cheers,
      Gary Lee Nelson
      TIMARA Department
      Oberlin College
      www.timara.oberlin.edu/GaryLeeNelson
    • Mar 16 2006 | 6:03 pm
      Dronk workaround to avoid immediate repetitions. The del 1 following an
      interval of 0 is a "try again" kludge without producing an infinite loop.
      BTW, I recommend a close look at del. It is an innocent-looking but powerful
      little object. I use it a lot to tell me that nothing has happened - for
      example when a markov chain has found a deadend and failed to produce an
      output.
      Cheers,
      Gary Lee Nelson
      TIMARA Department
      Oberlin College
      www.timara.oberlin.edu/GaryLeeNelson
    • Mar 17 2006 | 4:43 pm
      See my post on this. The issue is (or may be) that we may always want and
      output. If drunk (or Dronk) is being used to generate notes and trigger
      rhythms, change will introduce a gap in time. In my workaround, I
      illustrated a "try again" method.
      Cheers,
      Gary Lee Nelson
      TIMARA Department
      Oberlin College
      www.timara.oberlin.edu/GaryLeeNelson