Additional feature for a counter


    Jun 09 2014 | 1:49 am
    Hello,
    I need to navigate between 2 int values both incrementally and directly to the min and max values. I use 4 buttons for control, say DEC INC MIN MAX.
    I have a patch that does this but I would like to add a feature. After jumping to MIN, pushing MAX should not go to the maximum value but to the last value before MIN (and vice versa)
    I am asking for help for the same reason as I have ended up using a patch of a non looping counter from the forums (thank you Chris Muir) in my work so far, as it is soo much better than what I could have come up with..
    Thank you in advance!
    carloskleiber

    • Jun 09 2014 | 2:45 am
      hi, this might not be exactly what you asked for, but should be easy for you to mod for your needs:
    • Jun 09 2014 | 8:59 am
      Perfect! Thank you very much!
      And you are right: it makes more sense like this.
    • Jun 13 2014 | 11:27 am
      Hello Raja, there were some issues with your counter - it would add or substract 2 instead of 1 in certain situations for instance - , so I tried to mod it but it was easier to come up with a new one, it is a bit ugly patching but seems to work ok :)
    • Jun 13 2014 | 5:29 pm
    • Jun 13 2014 | 5:34 pm
      apologies, i must not have looked close enough through my patching... did it a bit quickly.
      glad you figured out your own solution.
      christopher's also looks brilliant(the simpler the better!). edit: speaking of the patch he had there before :p
      glad i could help, even if just a little :)