## Calculating 'momentum'/swing in CHOPS

### Calculating 'momentum'/swing in CHOPS

I am trying to create the feel of 'momentum' in CHOPS as a value rises.

I want the movement on each beat/button press to accelerate from a value and then slow down its rate of acceleration until it reaches then next value. A triggered pulse up and down is simple enough to create and appears in lots of tutorials, but this triggered pulse up with a changing rate has me stuck.

I have tried using a button or beat chop to a COUNT CHOP with a filter/lag but it is not quite creating the effect. Or perhaps I have not laid it out quite right. If I was more able with mathematics I'm assuming an alternate approach would be to do it with a formula.

Any tips here gratefully recieved.
GavinG

Posts: 8
Joined: Sun Apr 07, 2019 7:32 pm

### Re: Calculating 'momentum'/swing in CHOPS

have you tried the Spring CHOP?

is that the effect you had in mind?

another option, as you said, would be to look up the mathematical formula online, and code it in python or with an Expression CHOP. These mathematical options might look a bit intimidating at first, but often are not overly complex to put together.
Attachments
SpringCHOP.toe
FaustoB

Posts: 64
Joined: Mon Jan 08, 2018 8:33 am
Location: Sydney, NSW

### Re: Calculating 'momentum'/swing in CHOPS

I hadn't tried that CHOP - that's exactly what I'm after! Thanks so much. I've added it to a timeline CHOP to get the climbing momentum effect. But..

Is there a simple way to stop the value descending as the oscillator falls/button is unpressed? So the overall value doesn't pulse backwards but only climbs?
Attachments
SpringCHOP.toe
GavinG

Posts: 8
Joined: Sun Apr 07, 2019 7:32 pm

### Re: Calculating 'momentum'/swing in CHOPS

I had a look at your file, I'm not 100% sure that I understood what you are trying to do,
but you could try a momentary button, connected to a count CHOP, connected to the spring CHOP.
example attached.
Attachments
SpringCHOP momentary.toe
FaustoB

Posts: 64
Joined: Mon Jan 08, 2018 8:33 am
Location: Sydney, NSW

### Re: Calculating 'momentum'/swing in CHOPS

Ah, this is a great solution! Thanks so much!
GavinG

Posts: 8
Joined: Sun Apr 07, 2019 7:32 pm