Forums > Max For Live

set range of live.numbox with an argument or an msg?

March 13, 2010 | 2:28 pm

hey…

the range of live.numbox is always limited to 127.. i know how to change it in the inspector.. but the problem is..
the max range of the numbox must be the total time of a sample..

i use info~ to get the total time served in a floatbox…


March 13, 2010 | 3:51 pm

If you click on the @ sign at the bottom of the inspector it will show you the messages you need to set each attribute, in this case "_parameter_range" is what you need.

lh


March 13, 2010 | 7:09 pm

You are not allowed to change the range of a live.numbox via a message. Doing so is likely to break your device presets/automation.


March 13, 2010 | 8:42 pm

and don’t forget you have to use float mode if you want more than 127 values, even if they are integers actualy.

olivier


March 13, 2010 | 10:16 pm

256 values actually ;-)


March 13, 2010 | 10:41 pm

oops,

Thanks Emmanuel for correcting me ;-)

olivier


March 29, 2013 | 7:35 am

I realise this thread is 3 years old, but I’d like to highlight my interest in this limitation being abolished.

"Doing so is likely to break your device presets/automation" – that’s not really applicable in a lot of cases. In fact, if you’ve got a dynamically changing range, why would you want to automate the number in the first place?


March 30, 2013 | 11:07 pm

What’s wrong with using a scale object after the live.numbox? That’ll let you dynamically scale *and* automate.


March 31, 2013 | 2:16 am

Very true. But then the number box you’re altering isn’t representing the outgoing data any more. You’d have to create an additional object after the [scale] object to represent the data. But why use live.numbox then?

To get the visual aesthetic of a live.numbox while still allowing for a range-modifiable number object, I laid a live.numbox with transparent font under a standard Max number box with transparent border and background. This replicates the standard mode of live.numbox fine.

Don’t get me wrong, it’s all purely cosmetic consistency between the UI. I realise similar functionality can be replicated using the standard object sets. I was just hoping I had missed an option within the inspector of the live.objects to allow this kind of thing.


August 19, 2013 | 7:31 pm

If you click on the @ sign at the bottom of the inspector it will show you the messages you need to set each attribute, in this case "_parameter_range" is what you need.

lh

Yes! Works perfectly!
And for the others messages like type, unit style etc?????
Thank you in advance! :)


August 19, 2013 | 10:59 pm

If you click on the @ sign at the bottom of the inspector it will show you the messages you need to set each attribute, in this case "_parameter_range" is what you need.

For me, this parameter is set to hidden and I can’t access it through the attribute.


September 27, 2013 | 5:38 pm

As of a few days ago (6.1.3), you can select the hidden parameter, ctrl+c to copy, then paste in a text editor and the hidden parameter name will appear.

They will probably "fix" this.


Viewing 12 posts - 1 through 12 (of 12 total)