Max/MSP + Flosc + Flash crashes

Aug 12, 2008 at 7:09am

Max/MSP + Flosc + Flash crashes

Hello,

I’m working with a patch that reads out the wii remote (tk.wii).
This patch send the information of the wii remote through a flosc server (Flosc-0.3.1) to Flash.

When I’m simulation the output of the Wii remote everything works fine. But if I’m sending out real data of the wii remote the Flosc Server crashes and so does Max/MSP.

Message Flosc server:
C:\flosc-0.3.1>java Gateway 1250 3000
Attempting to start OSC / Flash Gateway server
OscServer created…
TcpServer created…
Exception in thread “Thread-0″ java.lang.ClassCastException: java.lang.String cannot be cast to [B
at OscServer.parseOscPacket(OscServer.java:149)
at OscServer.parseOscPacket(OscServer.java:139)
at OscServer.run(OscServer.java:71)

Did someone experienced the same problem and what can I do about it? Any idea?

Grz,

Nicolette

Windows XP, Max/MSP 4.5, Flash CS3, Flosc-0.3.1

#39240
Oct 8, 2008 at 4:44am

Hi,

I don’t have an answer but I am trying to get flash and OSC working and in my searches I came across an updated version of FLOSC posted on another board.

not sure if this will help but here is the link:

http://code.google.com/p/flosc/

Apparently you need at least Java 1.6 for it to run

#137864

You must be logged in to reply to this topic.