hi can anyone help?
i managed to set up flosc with pd, to receive messages from flash, but cannot change the type of message i receive in pd to float! i tried unpack, trigger, set....
Type of message received from OSC
hi can anyone help?
i managed to set up flosc with pd, to receive messages from flash, but cannot change the type of message i receive in pd to float! i tried unpack, trigger, set....
What data type do you actually have? Look in the output console for messages saying something like "no method for type squiggle" If you've got a list deconstruct it first.
[unsymbol] will (un)type to an 'anything' which you can then cast back to a float.
Use the Source.
i send from flash, throught flosc, the message /bla 20 and on pd e receive it throught oscdump.
then i use [unpack s s] plugged to 2 [symbol] boxes, getting the result [/bla] in one and [20] in the other, but afterwards i cannot convert the symbol to a number....
if i use [unpack s f] it says unpack: type mismatch
if i use [oscroute /bla] and plug to a number box it says: gatom: no method for `20`
even using [unsymbol] as you suggested is says: gatom: no method for `20`
any solution? how can i convert a symbol to a number?
ps. im working on macOsX!
thanks
Hello,
why are you using [unpack] ? osc isn't able to send lists
I've ever tried flosc but never meet this problem, maybe you've forgotten something in the description.
patco.
ok!
if i send /bla 20, i use unpack to split the symbols /bla and 20. even if i use [oscroute /bla] i can't get anything out except symbol, which i cant convert to a number, and print.
and [unsymbol] doesnt seem to work! how can i make a number out of a symbol?
it seems i cannot do anything with flosc!! does anyone have FLASHSERVER for OsX?
thanks obiwannabe! thanks megale!!
Well you cant cast to a float afaik, but you can use [atoi] to cast to a int,
see the example proof attached
I don't know how up to date this is but I find this index of objects useful
http://lists.puredata.info/pipermail/pd-list/2004-11/023740.html
Use the Source.
ok! got it! thanks obiwannabe! i think this will work!!
hmm, I've just encountered a problem like that with OSC, it just transforms IEEE floats to something that pd objects doesn't reconize, I've fixed it in the attached test patch.
stopped using flosc!!
netsend is much more reliable, faster, and you dont get unrecognizable messages!!
Oops! Looks like something went wrong!