XML Feeds

.

[java-dev] Help! Need to format list for udp ASAP!

Owen Green owen at owengreen.net
Fri Feb 15 04:07:50 MST 2008


Have you tried iterating over the list, and sending a stream of ints to 
the mxj object instead?

-- 
Owen

Seejay James wrote:
> Hi all, I need to ASAP be able to format a list of numbers to go thru
> the mxj.udp.send object. The patch is ready, it will send a list of
> about 400 RGB values in DMX format to a set of boards that will run
> LED's. Everything is fine with the lists and all but the format comes
> through as ASCII instead of the desired BYTES as numbers from 0 -
> 255. I have great washes of colors from a cool jit.bfg and some other
> manipulations, the only problem is the formatting of the lists!!
> 
> It *has* to be the udp.send, so that it's wireless over Ethernet,
> otherwise I'd use jit.net.send which works great.
> 
> So-----HOW do you tell mxj.net.send to send a list of numbers (a 1 as
> a start code, followed by a bunch of RGB triplet bytes, one triplet
> for each LED) to go out AS IS without coming out as ASCII -- the
> values, plus spaces, etc..? What am I missing?
> 
> We can go below 256 and use atoi or iota or whatever if need be, but
> I'm sure there is a different fix...
> 
> This is for (what could be) a really nice LED installation in a
> wedding coming up this weekend... it will be gorgeous if we can get
> past this damn formatting hurdle!!
> 
> THANK YOU -- Can you tell I'm desperate??
> 
> --CJ
> 
> 
> 
> 
> _______________________________________________ java-dev mailing list
>  java-dev at cycling74.com 
> http://www.cycling74.com/mailman/listinfo/java-dev
> 




More information about the java-dev mailing list