Forums > Max For Live

Decimal place resolution of live.numbox

July 23, 2010 | 9:13 pm

Hello,

I am wondering if there is any way to increase the decimal place resolution of live.numbox. I have it set to float, at a range between 0. and 1., but I am only able to get 0.01 as the lowest possible number. Is there a place where the resolution of live.numbux is set? Am I missing something obvious?

Best, Jeremy


July 29, 2010 | 1:09 pm

Display mode float is just a convenience, for anything specific you can use the custom display mode, then the syntax is the same as the one for sprintf. Here is a version with 3 digits. Hope this helps.

– Pasted Max Patch, click to expand. –

July 30, 2010 | 12:23 pm

Emmanuel,

I like the use of sprintf syntax in custom mode very much. One little issue.

When using the + character to show both positive and negative signs for numbers, it always displays zero as being positive. It would be great if this didn’t happen and would help toward emulating some of Live’s display knobs.

– Pasted Max Patch, click to expand. –

Thanks much for all the hard work. (I’ve got a list of some other issues/wishes that I’ll clean up with examples and post/send somewhere now that I have some time. Is there a better place to send this list, or is the forum the best?)

Dave Linnenbank


August 5, 2010 | 11:59 pm

You were close:

– Pasted Max Patch, click to expand. –

If you have some issue with examples, steps to reproduce you can either write on the forum or to support.


August 6, 2010 | 9:27 pm

Hi, Emmanuel.

Thanks for correcting my syntax. Even in this example, though, zero is always displayed as positive ("+0") unless and until the live.numbox is already at zero and you then manually type 0 into the object. On my computer (10.5.8; Max 5.1.4), only then does the zero lose the positive sign ("0").

Here is your example with some comments for reproducing this….

– Pasted Max Patch, click to expand. –

As always, thanks, Emmanuel.

Dave Linnenbank


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