Hi, you can use [unpackOSC] after [dumpOSC] But i suggest to follow this really recent discussion on Pd list to get a full overview of the OSC topic:
http://www.mail-archive.com/pd-list@iem.at/msg27266.html
cheers
Marco
Hello everyone, i'm a new subscriber to the list.
I've been working on sending OSC messages to PD using GlovePie on Windows. I found a script for GlovePie that perceives and sends OSC messages via Wiimote. At last i accomplished it with [dumpOSC] object but it's receiving the messages as packs. Is there another way to receive OSC or unpack the messages?
-- U. Can KAZAZ
When i use [unpackOSC] after [dumpOSC], PD gives an error: unpackOSC: no method for '/'
On Wed, Jul 15, 2009 at 8:50 PM, Marco Donnarumma devel@thesaddj.comwrote:
Hi, you can use [unpackOSC] after [dumpOSC] But i suggest to follow this really recent discussion on Pd list to get a full overview of the OSC topic:
http://www.mail-archive.com/pd-list@iem.at/msg27266.html
cheers
Marco
Maybe you are missing an argument after the "/" you should have something like:
[dumpOSC]
|
[unpackOSC /testone /testtwo]
|
.... .....
This is how these objects normally work, but I don't know which are the arguments sent out by the wiimote and/or your script.
M
On Wed, Jul 15, 2009 at 8:26 PM, Uluğ Can Kazaz uckazaz@gmail.com wrote:
When i use [unpackOSC] after [dumpOSC], PD gives an error: unpackOSC: no method for '/'
On Wed, Jul 15, 2009 at 8:50 PM, Marco Donnarumma devel@thesaddj.comwrote:
Hi, you can use [unpackOSC] after [dumpOSC] But i suggest to follow this really recent discussion on Pd list to get a full overview of the OSC topic:
http://www.mail-archive.com/pd-list@iem.at/msg27266.html
cheers
Marco
-- U. Can KAZAZ
Allright, that should work. Thanks for your help.
On Wed, Jul 15, 2009 at 10:34 PM, Marco Donnarumma devel@thesaddj.comwrote:
Maybe you are missing an argument after the "/" you should have something like:
[dumpOSC] | [unpackOSC /testone /testtwo] |
.... .....This is how these objects normally work, but I don't know which are the arguments sent out by the wiimote and/or your script.
M
Uluğ Can Kazaz wrote:
When i use [unpackOSC] after [dumpOSC], PD gives an error: unpackOSC: no method for '/'
That's because [unpackOSC] expects a stream of bytes from something like [udpreceive].
I think you should use [udpreceive] | [unpackOSC] | [routeOSC /something /else]
See doc/5.reference/mrpeach/routeOSC-help.pd
Or (deprecated):
[dumpOSC] | [route /something /else]
Martin
When i printed [dumpOSC], i saw that PD was receiving the messages like [/ 0 0 0 0 0...] . Then i used [unpack s 0 0 0 0] , so i think that is a practical solution and good enough for me. But it needed to be figured out which number is assigned to which axis or which button of wiimote.Basically I figured it out by moving wiimote. Thanks for all the informations you gave.
That's because [unpackOSC] expects a stream of bytes from something like [udpreceive].
I think you should use [udpreceive] | [unpackOSC] | [routeOSC /something /else]
See doc/5.reference/mrpeach/routeOSC-help.pd
Or (deprecated):
[dumpOSC] | [route /something /else]
Martin