Hi, I am making a simple patch bay sort of patch to help our group be able to share our data over OSC. I am using the flatspace object entry which creates a grey field in which you can enter text, in play mode, that then you can use as variable, control information or whatever.
This is nice because I want my patch to be able to be used by:
1. people who don't work in PD much
2. people who don't want to ctrl+E to go to edit mode and type a new port number into the receive field, then ctrl+E back again, but instead to simply enter the number push Return and go...
I already have a "send" area, working fine...one can enter IP addresses, and ports to send to, and the messages are sent.
With the receive area if I use the udpreceive object with a pre-established port number it works fine (it receives the messages - and I mean both internally, in my machine, and over a network, no problems)
the issue is that I want to make the udprecieve object accept a variable so that I can assign an input field to it to make my patch user friendly, especially as we are not all running pd-based systems, even if pd is managing our network!
example:
[udpreceive 9010]
works fine, but
[udpreceive $1]
does not, even if this variable has been established elsewhere
any advice?
thx,
Jorge