hi list, here's an issue I have with OSC:
[send /addr 1000000] | | [sendOSC 1024]
what's transmitted here is not an integer but the string "1e+006"
any workaround to transmit numbers bigger than a million ?
I have no problem sending and receiving big numbers up to approx 10E32 (which is the maximum handled with floats, if bigger my OSCdump reports #Inf) in a loopback with pd 0.38 & OSCx 0.16-2 and windows.
Im working on an OSC sender port in an external application, and i have tested pd's OSCdump against those type tags: int, float, char, bool, timetag, string, symbol, rgba_color, midi_message. Those that i couldnt get working were: double,int64... I guess your problem must be a pd's OSC implementation issue, because OSC is supposed to be able to handle with this. Maybe something to do with types implemented in the OSC you are using, or else a typetag issue (sorry, i havent used typetags to send OSC messages from pd).
But anyhow you should be able to handle 10E6...
... Jesus, a string?
- John
There are some other shortcomings in pd's implementation of OSC which could be added to the wishlist: -being able to use adresses with several depths in one OSCroute (i.e. synth/modulation/lfo) this could be very helpful, instead of needing several OSCroute objects (it can be painful if you have a big adress space). -being able to use '*' (eg /node/*/position/ would mean get the position of all nodes id0,id1,id2...) greg
I have no problem sending and receiving big numbers up to approx 10E32 (which is the maximum handled with floats, if bigger my OSCdump reports #Inf) in a loopback with pd 0.38 & OSCx 0.16-2 and windows.
Im working on an OSC sender port in an external application, and i have tested pd's OSCdump against those type tags: int, float, char, bool, timetag, string, symbol, rgba_color, midi_message. Those that i couldnt get working were: double,int64... I guess your problem must be a pd's OSC implementation issue, because OSC is supposed to be able to handle with this. Maybe something to do with types implemented in the OSC you are using, or else a typetag issue (sorry, i havent used typetags to send OSC messages from pd).
But anyhow you should be able to handle 10E6...
hi list, here's an issue I have with OSC:
[send /addr 1000000] | | [sendOSC 1024]
what's transmitted here is not an integer but the string "1e+006"
any workaround to transmit numbers bigger than a million ?
... Jesus, a string?
- John
heya! comments inline:
ggkarman@musicologia.com wrote:
There are some other shortcomings in pd's implementation of OSC which could be added to the wishlist: -being able to use adresses with several depths in one OSCroute (i.e. synth/modulation/lfo) this could be very helpful, instead of needing several OSCroute objects (it can be painful if you have a big adress space).
yeah, I need this for pixelTANGO Franz Hildgren is working on it.
-being able to use '*' (eg /node/*/position/ would mean get the position of all nodes id0,id1,id2...) greg
handy... hmmm... What do you think Franz?
Also we're hoping to impliment OSC parameter discovery into pixelTANGO, hopefully built into memento with a pool that stores all commun names even if they have arbitrary (/pt/1/pt.fader/alpha) names. Need OSC to do what we want first...
What is the best way to deal with OSC queries in PD, a two-way socket communication object would be handy... netclient??
B>
I have no problem sending and receiving big numbers up to approx 10E32 (which is the maximum handled with floats, if bigger my OSCdump reports #Inf) in a loopback with pd 0.38 & OSCx 0.16-2 and windows.
Im working on an OSC sender port in an external application, and i have tested pd's OSCdump against those type tags: int, float, char, bool, timetag, string, symbol, rgba_color, midi_message. Those that i couldnt get working were: double,int64... I guess your problem must be a pd's OSC implementation issue, because OSC is supposed to be able to handle with this. Maybe something to do with types implemented in the OSC you are using, or else a typetag issue (sorry, i havent used typetags to send OSC messages from pd).
But anyhow you should be able to handle 10E6...
hi list, here's an issue I have with OSC:
[send /addr 1000000] | | [sendOSC 1024]
what's transmitted here is not an integer but the string "1e+006"
any workaround to transmit numbers bigger than a million ?
... Jesus, a string?
- John
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list