bitfocus / companion-module-generic-osc

Companion Module
MIT License
3 stars 14 forks source link

Add ability to use functions in send float values. #31

Open smokey-live opened 5 months ago

smokey-live commented 5 months ago

I'm trying to adjust OSC values from either a button or a rotary dial. I can successfully read the current value from the device I'm trying to adjust into a custom fader but I need to be able to add or subtract from that value to send a new value. For example, if the value in the device is 50, I'd want the rotary dial to add to that value by 1 or subtract by 1. Because the device wouldn't understand +1 or -1 I need to be able to perform a function on a variable to accomplish this.

Attached is what I'm trying to do that is not currently supported.

433091650_10163428425658047_6431871678851576902_n