Hi, I have a much more complicated problem with interpreting parsed data further down in the forum, but this is a simpler problem I’ve encountered whilst playing around trying to solve the more complicated problem myself.
I need to filter out all values returned as a 32 integer coming out of a zl.group object before it goes into the unpack object?
I have a stream of serial data, that is being converted to ascii, then grouped, then converted back to integer before going to an unpack object. It is returning allot of 32′s, which I’m assuming is the commas between the packets of ascii data… so I want to ignore or filter out the 32′s before the unpack object.
Sorry I’m new to max, I’m sure there is a simple object that gets rid of certain numbers.
Thank you very much for any help you can provide
Use the second outlet to find all numbers that aren’t 32.
zl.filter can also do it.
32 is spacebar btw. You can use the [key] object to find out what everything is.
great! Thank you both very much for your help!!
depending on what the patch is like it could be useful to use the number 32 to chop the stream, in fact. Have that [sel 32] bang the zl group, for instance.
C74 RSS Feed | © Copyright Cycling '74