Can live.number display more than 2 decimal points?

Learn about building and using Max for Live devices.
Post Reply
donovandigital
Posts: 12
Joined: Tue Aug 21, 2012 5:02 pm

Can live.number display more than 2 decimal points?

Post by donovandigital » Sun Nov 04, 2012 11:26 pm

If so, could somebody please post an example?


Many thanks in advance

Joe

stringtapper
Posts: 6302
Joined: Sat Aug 28, 2004 6:21 pm

Re: Can live.number display more than 2 decimal points?

Post by stringtapper » Mon Nov 05, 2012 1:57 am

Whatever you're doing in that bit of code is crashing Max 6.0.7 for me every time I paste it into a patcher.

:?
Unsound Designer

donovandigital
Posts: 12
Joined: Tue Aug 21, 2012 5:02 pm

Re: Can live.number display more than 2 decimal points?

Post by donovandigital » Mon Nov 05, 2012 3:25 am

I am in 5 (latest m4l), crashes here too

synnack
Posts: 2053
Joined: Fri Mar 02, 2007 10:55 pm
Location: Boston, MA
Contact:

Re: Can live.number display more than 2 decimal points?

Post by synnack » Sat Dec 08, 2012 10:37 pm

crashes Max 6.1 too...
MBP | Live 9 Suite | Max for Live | Push | MOTU Ultralite | iPad | Analog Modular Synths | Moog Voyager
aka "Tempus3r" | Music | Blog | Twitter | Soundcloud

Image

emmanuel_2
Posts: 127
Joined: Fri Sep 11, 2009 7:54 am
Location: Paris
Contact:

Re: Can live.number display more than 2 decimal points?

Post by emmanuel_2 » Sun Feb 24, 2013 5:30 pm

You should set the custom unit style to something like %0.6f if you want 6 digits, here is an example with 3:

<pre><code>
----------begin_max5_patcher----------
303.3ociRssaBCCC84juhJKs25pJrAB1uxzTUJ3BAklTk3VAB0+8kKsCl1XZ
ujDe7wGGejuxYPs4L5fr2xdOiwtxYrHT.fMEyfVw4cJgKRCTxArP22FXkmxO
HrZQK9nzcBZ2Qo9PkE2QoV855hx7rkaCmKVVFuVUTl8wWkX8BRnsB0hZUT5E
S4j6iMxTe54EysvzSJjnKcXRe.xyfFkQ362rl9OkT6Y4tWLOXp1H5xITmX.2
WIHxJq6I71K2jwL4LgQW0illY3Y76mf4eUY9Oy4NZrze3ceirxnO7e41qkoQ
Bdpr3kleihivtzTuZ8iTftj79so7ib9sq34HO5ufnqa.sNoQGshfM3WaNYrg
vn7f28SgQuGr3fblezZ.g0ulP9cjdaZFOuYMvC8Yj+4Lw6pq
-----------end_max5_patcher-----------
</code></pre>

With %0.111111f you're basically asking for a lot of numbers after the dot ;-) We'll look into making it not crash though.
ej

Post Reply