Possible to have Range/Enum set by live.tab?

mbira's icon

I have a live.dial that is displaying 1-16 by using float: range 1.-16.

I would like to be able to dynamically change the range with live.tab so that for example I could have 1-5, 1-9, etc.

Is this possible?

Valery_Kondakoff's icon

Actually you can send messages '_parameter_range 1 5', '_parameter_range 1 9' etc to live.dial object to change the range dynamically.

mbira's icon

Thank you. Do you know where I can find this sort of information in the future so I don't have to ask here? Searching for "parameter_range" in the live.dial reference doesn't bring anything up.

Valery_Kondakoff's icon

In general you can control with messages most of the object attributes which are exposed in Inspector. Here is a trick to find exact message syntax: just open object Inspector, choose attribute you want to control with message, select it with your mouse and press Cmd+C to copy it to clipboard. It is copied as xml, which can be pasted somewhere to view or edit (in my example I just pasted it in comment box). Here is where you can find the exact syntax of the message. HTH!

Reinhard Jordan's icon

Thanks for the hint.
I have a live.dial to call presets with I this way can offer other preset names and the number of presets with.
But when the live.dial is mapped to a midicontroller, it always calls the initially given five presets: When you set it to 3 presets, the third preset is called three times and when giving ten presets, presets 6 to 10 are never called.
Anyone an idea how to solve this issue? Or a workaround?
Regards, Reini

Reinhard Jordan's icon

I ended up storing the dial with 127 possible presets and calling them with the exact controllervalue…