[ANSWERED] Limit scale value from 0.00 to 1.00
-
Hi I wonder if anyone can help?!
I'm sending data from one macbook to another (because OpenNI tracker/depth camera won't work on newer macs as we know!) and need to convert the value scale to 0.00 to 1.00 in order to make a parameter (morph index) respond correctly in my MORPH FC plugin. Unfortunately if I set my scale min to 0 and scale max to 1 of my send control value field I can only ever get 2 values: 0 or 1. I need 100 values going from 0.00 to 1.00.
Is there a solution?
Thanks in advance, David
-
Is your input type / output type set to int instead of float?
-
can you run the full scale value through a Scale Value actor set to 1% ?
-
@juriaan no they are set to float
-
@juriaan Thanks, yes, that works! The problem remains, though, that the SEND CONTROL actor I use to send to Ableton is set to INTEGER and I can't figure out how to change it to FLOAT. So the value sticks on zero. Can I change the 'value type' of the SEND CONTROL actor? Or is there another actor I can use to connect midi between Ableton and Izzy?
Thanks, David
-
-
@vidasonik said:
scale min to 0 and scale max to 1
Here you are telling this side of the system to expect values from 0 thru 1.0, it can't scale anything because it has no reference point.
These min and max settings require that they exist on both sides of a link between actors. If on the first side you set min= 0 and max = 1, Isadora will expect values between 0and1 to be output, then on the other end of the link if min is set to = 10 and max = 30, the values from 0 to 1 will be scaled to 10-30.
This works in the same way as the Limit Value Scale actor.
I don't know what you full range of incoming values are, but if you use a Limit Value Scale actor, you should be able to scale to 0-1 or 0-127 depending on where you want to send that data.