<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><br class=""></div><div class="">i actually also wanted to use UNITY for sending OSC, but could not find time to work it out, so pls let me know it you found how to do it…</div><div class=""><br class=""></div><div class="">Cheers!</div><div class="">Michael</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 10 Feb 2019, at 10:56, Scott R. Looney <<a href="mailto:scottrlooney@gmail.com" class="">scottrlooney@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">OK thanks Christof! [oscparse] seems to do the trick, and formats it as a list that i can break up. and it seems i have [netreceive] working properly after all, so that was my error thinking it was broken. it is a bit picky and seems to work better if i send it a message as to what port to listen to rather than defining it as an argument initially. <div class=""><br class=""></div><div class=""><br class=""></div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Feb 10, 2019 at 1:03 AM Christof Ressi <<a href="mailto:christof.ressi@gmx.at" class="">christof.ressi@gmx.at</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">> > > patch with their [udpreceive] which worked fine. trying that same<br class="">
> > > patch in PD however, made all the data print out as integer ASCII<br class="">
> > > values rather than Unicode text characters. i tried two other Unity<br class="">
> > > OSC projects and they behaved the same way.<br class="">
> > ><br class="">
> > > so, at the least, i need a convenient way to change all the ASCII<br class="">
> > > integer numbers in a data stream to ASCII characters.<br class="">
<br class="">
IIRC, in max, updreceive outputs osc messages while in the Pd objects iemnet/udpreceive or [netreceive -u -b] output the raw udp packet as a list of bytes. You need another object to parse the data. Pd vanilla has [oscparse], but personally i prefer the mrpeach/unpackOSC resp. osc/unpackOSC externals.<br class="">
<br class="">
> Gesendet: Sonntag, 10. Februar 2019 um 09:39 Uhr<br class="">
> Von: "Scott R. Looney" <<a href="mailto:scottrlooney@gmail.com" target="_blank" class="">scottrlooney@gmail.com</a>><br class="">
> An: pd-list <<a href="mailto:pd-list@lists.iem.at" target="_blank" class="">pd-list@lists.iem.at</a>><br class="">
> Betreff: Re: [PD] trying to set up OSC between Unity and PD via [netreceive] or [iemnet/udpreceive]<br class="">
><br class="">
> nope - doesn't work. absolutely no output at all from [netreceive -u -b]<br class="">
> whereas i do get results from [iemnet/udpreceive]. i'm pretty convinced<br class="">
> that on the Mac anyway the UDP functionality of [netreceive] is basically<br class="">
> broken, at least in regards to responding to .Net's Sockets UDP sending<br class="">
> methods anyway.<br class="">
> <br class="">
> On Sun, Feb 10, 2019 at 12:20 AM Roman Haefeli <<a href="mailto:reduzent@gmail.com" target="_blank" class="">reduzent@gmail.com</a>> wrote:<br class="">
> <br class="">
> > The equivalent to [iemnet/udpreceive] is [netreceive -u -b].<br class="">
> ><br class="">
> > Roman<br class="">
> ><br class="">
> > On Sat, 2019-02-09 at 23:40 -0800, Scott R. Looney wrote:<br class="">
> > > hey folks, i'm trying to set up a OSC communication between Unity and<br class="">
> > > PD. the eventual goal is that an iOS app will be sending data to PD<br class="">
> > > to control various parameters. this isn't a libpd issue as i do not<br class="">
> > > want to run a PD patch in Unity. i only want the remote<br class="">
> > > communication.<br class="">
> > ><br class="">
> > > so far i've tried Kalimba which works perfectly with [netreceive] in<br class="">
> > > the Unity Editor. it looks like this is because it uses TCP and not<br class="">
> > > UDP for its connection. however due to its age (6 years or so)  the<br class="">
> > > resulting Xcode project does not build correctly. i'm assuming it's<br class="">
> > > likely an old libpd issue, but not sure.<br class="">
> > ><br class="">
> > > so, i've tried a few other OSC Unity based projects and none of them<br class="">
> > > work with [netreceive] in any way (including in UDP mode). i did find<br class="">
> > > a few that work with [iemnet/udpreceive]. one of them had a demo Max<br class="">
> > > patch with their [udpreceive] which worked fine. trying that same<br class="">
> > > patch in PD however, made all the data print out as integer ASCII<br class="">
> > > values rather than Unicode text characters. i tried two other Unity<br class="">
> > > OSC projects and they behaved the same way.<br class="">
> > ><br class="">
> > > so, at the least, i need a convenient way to change all the ASCII<br class="">
> > > integer numbers in a data stream to ASCII characters. ideally i'd<br class="">
> > > love to have a Unity OSC demo that can send data to PD reliably,<br class="">
> > > using TCP or UDP. any help appreciated!<br class="">
> > > _______________________________________________<br class="">
> > > <a href="mailto:Pd-list@lists.iem.at" target="_blank" class="">Pd-list@lists.iem.at</a> mailing list<br class="">
> > > UNSUBSCRIBE and account-management -><br class="">
> > > <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank" class="">https://lists.puredata.info/listinfo/pd-list</a><br class="">
> > _______________________________________________<br class="">
> > <a href="mailto:Pd-list@lists.iem.at" target="_blank" class="">Pd-list@lists.iem.at</a> mailing list<br class="">
> > UNSUBSCRIBE and account-management -><br class="">
> > <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank" class="">https://lists.puredata.info/listinfo/pd-list</a><br class="">
> ><br class="">
> _______________________________________________<br class="">
> <a href="mailto:Pd-list@lists.iem.at" target="_blank" class="">Pd-list@lists.iem.at</a> mailing list<br class="">
> UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank" class="">https://lists.puredata.info/listinfo/pd-list</a><br class="">
><br class="">
<br class="">
<br class="">
<br class="">
_______________________________________________<br class="">
<a href="mailto:Pd-list@lists.iem.at" target="_blank" class="">Pd-list@lists.iem.at</a> mailing list<br class="">
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank" class="">https://lists.puredata.info/listinfo/pd-list</a><br class="">
</blockquote></div>
_______________________________________________<br class=""><a href="mailto:Pd-list@lists.iem.at" class="">Pd-list@lists.iem.at</a> mailing list<br class="">UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" class="">https://lists.puredata.info/listinfo/pd-list</a><br class=""></div></blockquote></div><br class=""></div></body></html>