Hi List,
I had develop an 3d motion tracking application and i will extend it with osc to get an 3d music controller.
i'm not familiar with dealing OSC messages . i will use pd as an OSC server and my 3d_mtrack application as an OSC client.
Could anyone give me an example to get an OSC Server in pd? Does anyone have experience with an OSC-Client in C and could give an implementation example?
My program is written in C. It's an Client -/ Server App.I got the tracking position with 2 webcams at each client which send the coordinate's with UDP to the SERVER where i transform the coordinates to an 3d vector with coordinate range from 0 to 1.I visualize it with opengl and it works in realtime.
I have the pd externals with OSCx and the OSC-Kit.
I'm in hurry, because that's an student project and it should be ready the next week.
Thanks in advance
Marco
hi marco,
i use liblo from steve harris. for your OSC-Client in C. http://plugin.org.uk/liblo/
it's pretty easy to do a OSC server in pd. just look at the help file of OSCx. also if you know memento from Frank Barknecht it will be even more easy.
patrick
----- Original Message ----- From: "Marco Kuhn" kuhn_marco@web.de To: pd-list@iem.at Sent: Sunday, July 03, 2005 11:44 AM Subject: [PD] controlling pd with OSC
Hi List,
I had develop an 3d motion tracking application and i will extend it with osc to get an 3d music controller.
i'm not familiar with dealing OSC messages . i will use pd as an OSC server and my 3d_mtrack application as an OSC client.
Could anyone give me an example to get an OSC Server in pd? Does anyone have experience with an OSC-Client in C and could give an implementation example?
My program is written in C. It's an Client -/ Server App.I got the tracking position with 2 webcams at each client which send the coordinate's with UDP to the SERVER where i transform the coordinates to an 3d vector with coordinate range from 0 to 1.I visualize it with opengl and it works in realtime.
I have the pd externals with OSCx and the OSC-Kit.
I'm in hurry, because that's an student project and it should be ready the next week.
Thanks in advance
Marco
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
I had solved the Problem, I had used liblo for the connection.
Thanks MArco
Am Sonntag, 3. Juli 2005 11:44 schrieb Marco Kuhn:
Hi List,
I had develop an 3d motion tracking application and i will extend it with osc to get an 3d music controller.
i'm not familiar with dealing OSC messages . i will use pd as an OSC server and my 3d_mtrack application as an OSC client.
Could anyone give me an example to get an OSC Server in pd? Does anyone have experience with an OSC-Client in C and could give an implementation example?
My program is written in C. It's an Client -/ Server App.I got the tracking position with 2 webcams at each client which send the coordinate's with UDP to the SERVER where i transform the coordinates to an 3d vector with coordinate range from 0 to 1.I visualize it with opengl and it works in realtime.
I have the pd externals with OSCx and the OSC-Kit.
I'm in hurry, because that's an student project and it should be ready the next week.
Thanks in advance
Marco
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Hello, I'm playing with the comport object, I'm reading data that is send by a PIC on ttyS1
I've been troubleshooting this since the beginning: I had strange characters showing up in minicom, and unregular sequences of numbers (with some repetition but never exactly the same) in PD. after double checking the output on the windows program hypterterm I found that I in fact DID print the message 'hello world' from the pic. I found that I had to use "minicom -l" for pass-trough of charachters, either that, or modify my program to print characters in hex format ( I used ascii on the pic side as well) like 0x48 for a 'hello world' . The comport object in pd also expects characters in hex format. Is there a way to enable similar pass-trough for certain characters in the comport object? just printing ascii chars on the pic side is way more comfortable, and I'll have to do a "decimal to ascii" patch as well ( since the comport object in turn converts what I send in hex to decimal?) it would even be nicer if there would be a way to directly capture in ascci.
any hints on this?
bye!
Matthijs.
any hints on this?
well, not having too much experience with the comport object, i'd suggest that if you want to do some high-level string operations, have a look at python, pyext and pyserial ... unlike pd, python has a data type called "string" ;-)
t