Skip to main content

osc slider control help

Comments

5 comments

  • Carl

    ah ha floats between 0 and 1 - yep that totally works.  Thank you!

    1
  • mrcidavies

    Hi. This might be the issue:

    Assignment settings

    Each assignement you configure has a set of settings, as you can see in the assignments table of the Controls window.

    For OSC assignments, you can edit:

    • The Range: this setting appears on sliders or spinboxes for instance. By setting a Min and a Max, you can override the range of the interface element in HeavyM. For example if you set the range to 1 - 15 for the Thickness of the Border effect, when you move the fader you have assigned to it the values will only vary between 1 and 15 no matter how hard you move your fader!

     

    Source: https://heavym.zendesk.com/hc/en-us/articles/4402781178642-Controlling-HeavyM-with-a-mobile-or-tablet-via-OSC

     

    0
  • Carl

    hi - i appreciate your response.  I am aware of that feature.  If the opacity slider goes from 0 to 100 and my fader sends integer values 0 to 100, why would i set the range '1 to 15'.  It would make more sense to send the integer value representing the slider value i wanted unless i needed to like compress values somehow (like the fader was 0 to 1000 and i needed it to be 0 to 100).  In this case there's a one-to-one relationship of fader values to opacity slider values.  

    I've already read that page (i mentioned that in my original post) - while it's helpful in setting up the basic connection for touchosc, it makes no mention on how heavyM handles different data types -- there's not even an example in that document of sending a continuous control.  So yea, what i need to know simply isn't covered in the document.

    0
  • Support

    Hi all,

    To control a slider precisely in HeavyM, try sending Float values instead of Integers: 0,00 will correspond to the minimum and 1,00 to the maximum (and you still get 100 steps in between these limits). By default, the "minimum value" is the minimum value of the slider in HeavyM, but you can change it with the "min" Range setting. Same for the maximum value ("max").

    For instance, if I put min=0 and max=10 on a slider in HeavyM, sending 0,00 via OSC will put the slider at 0 and sending 1,00 will set it to 10.

    Hope that helps! The behavior of OSC in HeavyM has changed quite a bit since HeavyM 1 (and we've also made some adjustments in the last few HM2 versions). We'll try to make the tutorial clearer with your input!

    Have a nice day.

    0
  • Support

    Hi Carl, you're right, we'll try to update the tutorial with more examples. You're not the first person to ask about how HeavyM 2 reacts to different Controls since we've made changes.

    Have a nice day!

    0

Please sign in to leave a comment.