## RFE: count CHOP increment/decrement...

Send us your requests for enhancements (RFEs)

### RFE: count CHOP increment/decrement...

it would be handy to have the count CHOP set up so that, if it got a positive input, it would increment but, on a negative input, decrement. good for building continuous knobs etc.

rod.

rodberry

Posts: 935
Joined: Wed Nov 14, 2007 1:51 pm
Location: Hobart, Tasmania, Australia

### Re: RFE: count CHOP increment/decrement...

Has this been solved yet? I am trying to get the count chop to increase when I press one button and decrease when I press another, seems simple enough, but I can't figure it out.
dgogg

Posts: 16
Joined: Thu Jan 26, 2012 11:45 am

### Re: RFE: count CHOP increment/decrement...

It would simplify things up !
Kreative

Posts: 8
Joined: Mon Mar 26, 2012 2:25 pm

### Re: RFE: count CHOP increment/decrement...

A simple "work-around".. hope this helps...
Attachments
count_workarnd.tox
Increase/Decrease Count based on input

nabhan

Posts: 34
Joined: Wed Jan 21, 2009 12:56 pm
Location: Singapore

### Re: RFE: count CHOP increment/decrement...

Hi Nabhan,

I am struggling a little getting your tox to work... how do I have one button increase and another decrease the same channel?

Cheers,

O.
oliverellmers

Posts: 19
Joined: Sat Dec 22, 2012 10:04 pm

### Re: RFE: count CHOP increment/decrement...

figured it out - here's an updated version of your .tox for all of you our there struggling with the same problem!
Attachments
upDown_buttons.tox
oliverellmers

Posts: 19
Joined: Sat Dec 22, 2012 10:04 pm

### Re: RFE: count CHOP increment/decrement...

Another quick way to do this actually, is to have two separate Count CHOPs.
One for each button.
They both count up.

Then take their two outputs, and subtract them in a Math CHOP.

If you want any clamping etc, you'll have it do it separately after with a Limit CHOP.

Cheers,
Rob.

rob
Staff

Posts: 605
Joined: Tue Nov 13, 2007 12:14 am

### Re: RFE: count CHOP increment/decrement...

Good example.

I managed to drop it down to a Logic CHOP Or and a Math subtract feeding the Count CHOP.

Also sometimes I create a 1-cell table and read-write it from one-liners in two Panel Execute DATs.
Attachments
upDown_buttons.tox
ze0time

Posts: 13
Joined: Sat Mar 26, 2011 10:56 am

### Re: RFE: count CHOP increment/decrement...

Cheers guys, both methods make sense!
oliverellmers

Posts: 19
Joined: Sat Dec 22, 2012 10:04 pm