I am trying to unpack some data from OSCulator, and I am sure I routed it right, because I’m getting the data. The [unpack] object just doesn’t seem to be doing what I thought it should do.
Here’s how it looks. (I wont post the patch because it would be useless without the OSCulator inputs i’m using)
[OSC-route /balance] – [print]
[unpack 1 2 3 4 5 6 7]
The first print (coming off of [OSC-route /balance] displays some data like this:
print: 0.000656 0.0004 0.009357 0.004956 0.01537 0.497672 0.506628
in the max window.
However, the second print, attached to various outlets of the[unpack] seems to give 0 every time.
Could it be because it’s converting to integers? I tried [unpack 0.1 0.1 0.1 0.1 0.1 0.1 0.1 ] and still got 0 every time. Not sure what is happening.
Thanks in advance!
Fixed. Once I changed to [unpack 0.1 0.1 0.1 0.1 0.1 0.1 0.1 ] the values came out, but were too small to be seen in a number object without changing some parameters.
Feel free to remove from board or leave it here for future sufferers.
Log in to reply
Let us tell you about notable Max projects, obscure facts, and creative media artists of all kinds.