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

Mar 13, 2010 at 2:28pm

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

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…

#49129
Mar 13, 2010 at 3:51pm

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

#176520
Mar 13, 2010 at 7:09pm

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.

#176521
Mar 13, 2010 at 8:42pm

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

olivier

#176522
Mar 13, 2010 at 10:16pm

256 values actually ;-)

#176523
Mar 13, 2010 at 10:41pm

oops,

Thanks Emmanuel for correcting me ;-)

olivier

#176524
Mar 29, 2013 at 7:35am

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?

#176525
Mar 30, 2013 at 11:07pm

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

#176526
Mar 31, 2013 at 2:16am

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.

#176527
Aug 19, 2013 at 7:31pm

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! :)

#259371
Aug 19, 2013 at 10:59pm

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.

#259383
Sep 27, 2013 at 5:38pm

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.

#266488

You must be logged in to reply to this topic.