hello everybody,
I am sure there is a way to set the range of a channel in Vex.
eg.
int seed = ch(“seed”);
then I'll find in the UI a range from 0 to 1. Currently, I dig into the “edit parameters interface” to change it.
Any Vex solution?
Cheers
S
How to set a Channel range in Vex
3045 1 0- Simoleo
- Member
- 2 posts
- Joined: Jan. 2017
- Offline
- BabaJ
- Member
- 2126 posts
- Joined: Sept. 2015
- Offline
You mean the ability to change the UI parameter range dynamically?
If so, no you can't do it with vex, you have to use python.
And I had the need to do that before and the effort wasn't worth it, meaning, unless my approach with python wasn't very good, I remember it was more work to get the change to update then simply changing the parameter manually.
Even better solution, was to put in vex code ‘out of range’ checks and a pop up message if it's critical that you don't enter values with the parameter that might adversely affect your setup.
If so, no you can't do it with vex, you have to use python.
And I had the need to do that before and the effort wasn't worth it, meaning, unless my approach with python wasn't very good, I remember it was more work to get the change to update then simply changing the parameter manually.
Even better solution, was to put in vex code ‘out of range’ checks and a pop up message if it's critical that you don't enter values with the parameter that might adversely affect your setup.
-
- Quick Links