[PD] sendOSC: handling big numbers

B. Bogart ben at ekran.org
Wed Apr 20 15:22:14 CEST 2005

heya! comments inline:

ggkarman at 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??


>>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 at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20050420/59c97c89/attachment.pgp>

More information about the Pd-list mailing list