Hi list, just a simple question,
I am working with osc, and i have to send messages to pd, I am using OSCroute to route messages.
Next is happening to me: where i should be receiving the variable, i get this on the pd console: error: gatom: no method for '1'
The message is something like /route/1
I guess that the number is being mapped as a symbol and not a number, how can I convert it? Or, what else can be?
Thanks.
Ricardo
Hi Ricardo,
have a close look at the help file. Probably just a "format" problem
like /route "space" 1 or something like that.
If that does not help, you should post your patch
Cheers
Luigi
Am 16.04.2009 um 08:53 schrieb Ricardo Dueñas Parada:
Hi list, just a simple question,
I am working with osc, and i have to send messages to pd, I am using
OSCroute to route messages.Next is happening to me: where i should be receiving the variable, i
get this on the pd console: error: gatom: no method for '1'The message is something like /route/1
I guess that the number is being mapped as a symbol and not a
number, how can I convert it? Or, what else can be?Thanks.
Ricardo _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Hallo, Ricardo Due?as Parada hat gesagt: // Ricardo Due?as Parada wrote:
I am working with osc, and i have to send messages to pd, I am using OSCroute to route messages.
Next is happening to me: where i should be receiving the variable, i get this on the pd console: error: gatom: no method for '1'
The message is something like /route/1
I guess that the number is being mapped as a symbol and not a number, how can I convert it?
Probably that's the reason. You can convert number-symbols to integers with [atoi] from Zexy, or alternatively rewrite your OSC receiver setup to something like "/route/one" or put the number into the data part of the OSC message i.e. "/route 1"
Frank
[atoi] did the job, thank you.
Ricardo
2009/4/16 Frank Barknecht fbar@footils.org
Hallo, Ricardo Due?as Parada hat gesagt: // Ricardo Due?as Parada wrote:
I am working with osc, and i have to send messages to pd, I am using OSCroute to route messages.
Next is happening to me: where i should be receiving the variable, i get this on the pd console: error: gatom: no method for '1'
The message is something like /route/1
I guess that the number is being mapped as a symbol and not a number, how can I convert it?
Probably that's the reason. You can convert number-symbols to integers with [atoi] from Zexy, or alternatively rewrite your OSC receiver setup to something like "/route/one" or put the number into the data part of the OSC message i.e. "/route 1"
Ciao
Frank
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list