|
From: Stephen S. <rad...@gm...> - 2008-11-20 20:43:41
|
heh, personally I would concentrate on the API and let people scratch their own itches for building OSC interfaces. :) But a simple program with LibLo would take a few seconds to write. Well, here, I attached one. But people should be aware that putting OSC in the middle of the haptics servoloop is a really abysmal way to do things. It's never going to be fast enough for haptic feedback, and it seems Pd for example doesn't particularly enjoy getting OSC messages 1000 times / second. What you _really_ want instead is a way to control a haptics loop that is running in a separate process. Which is why I wrote Dimple, http://idmil.org/software/dimple (I'll soon be adding libnifalcon support..) Steve notes, this program takes arguments: ./falcon_osc --host <client_host> --port <client_port> --listen_port <server_port> Sends /falcon/position messages 1000 times/second (on a good day), and sets force when it receives /falcon/force. Both messages have 3 float arguments for x, y, z. On Thu, Nov 20, 2008 at 2:37 AM, Kyle Machulis (qDot) <ky...@no...> wrote: > So, I've gotten a couple of requests to get libnifalcon running with > SuperCollider and ChucK. However, I've only built one program so far > with OSC, and it only had one way communication. Since I know there are > a couple of people who are familiar with OSC on this list... What's the > usual method for setting up full duplex comm using OSC in a situation > like this? Both ends run a client/server setup? I really don't need TCP > here, seems like async UDP should be fine. > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Libnifalcon-devel mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libnifalcon-devel > |