[Csnd] Manual is wrong on OSC host selection
Date | 2019-05-20 04:33 |
From | Pete Goodeve |
Subject | [Csnd] Manual is wrong on OSC host selection |
Attachments | None |
Date | 2019-05-20 09:47 |
From | john |
Subject | Re: [Csnd] Manual is wrong on OSC host selection |
Sounds like a side effect of the change from liblo to drect code. Victor? ==J On Sun, 19 May 2019, Pete Goodeve wrote: > I seem to be a magnet for glitches ATM...! > > I went to try the OSC example files (OSCmidircv.csd & OSCmidisend.csd) > under Haiku, and it didn't work... Got "WARNING: OSCsend failed to send > message ..." from the send side. Over in Linux, they worked fine. > > To bypass all the degugging I went through, I eventually > found that the "localhost" setting in OSCmidisend.csd is not valid! > The code uses the 'inet_aton' call, which just translates a *numeric* > IP into a binary word. It can't handle text hostnames at all! > When I replace 'localhost' with a numeric IP, it works fine in Haiku too. > > It seems that it just happens that Linux selects a 'locahost' connection > for *any* supplied text string, so it accidentally works there. If you try > to connect to any other machine by its name, it fails. > > The problem is that the manual page explicitly uses a remote hostname, > which can't possibly work! I'm not sure what it takes to do a DNS lookup, > but there's nothing like that in the current code. > > I think a major manual correction is needed. > > -- Pete -- > > Csound mailing list > Csound@listserv.heanet.ie > https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND > Send bugs reports to > https://github.com/csound/csound/issues > Discussions of bugs and features can be posted here > Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here |
Date | 2019-05-20 22:53 |
From | Pete Goodeve |
Subject | Re: [Csnd] Manual is wrong on OSC host selection |
Attachments | None |
Date | 2019-05-21 02:26 |
From | Pete Goodeve |
Subject | Re: [Csnd] Manual is wrong on OSC host selection |
Attachments | None |
Date | 2019-05-21 07:43 |
From | Victor Lazzarini |
Subject | Re: [Csnd] Manual is wrong on OSC host selection |
The rationale is that liblo does not perform well in sending many messages. This was discovered a couple of years ago. Apart from this minor issue of name lookup, the change has worked very well and we are not reverting it. The solution to this issue is to fix the code to make the DNS translation if needed. Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy Maynooth University Ireland > On 21 May 2019, at 02:26, Pete Goodeve |
Date | 2019-05-21 07:59 |
From | Tarmo Johannes |
Subject | Re: [Csnd] Manual is wrong on OSC host selection |
Hi, Actually I have experienced the opposite - sending many messages with OSCSend in one cycle fails but with OSCSend_lo works. I will test to be sure and start another thread with an example. Tarmo T, 21. mai 2019 09:43 Victor Lazzarini <Victor.Lazzarini@mu.ie> kirjutas: The rationale is that liblo does not perform well in sending many messages. This was discovered a couple of years ago. Apart from this minor issue of name lookup, the |
Date | 2019-05-21 08:08 |
From | Oeyvind Brandtsegg |
Subject | Re: [Csnd] Manual is wrong on OSC host selection |
Just to chime in, the problem with the old OSCsend was that it would tax the CPU significantly when sending messages at a high rate. The sending itself is not a very CPU intensive task, but that the audio thread was blocked from normal processing while the message was dispatched. The performance gained with the new version is indispensable IMHO. Oeyvind tir. 21. mai 2019 kl. 08:59 skrev Tarmo Johannes <trmjhnns@gmail.com>:
Oeyvind Brandtsegg Professor of Music Technology NTNU 7491 Trondheim Norway Cell: +47 92 203 205 http://www.partikkelaudio.com/ http://crossadaptive.hf.ntnu.no http://gdsp.hf.ntnu.no/ http://soundcloud.com/brandtsegg http://flyndresang.no/ http://soundcloud.com/t-emp |
Date | 2019-05-21 09:00 |
From | Victor Lazzarini |
Subject | Re: [Csnd] Manual is wrong on OSC host selection |
Oeyvind is a heavy user of OSC in Csound, so we were guided by his experiences. Still, OSCSend_lo is still there for those who want to use it. ======================== Prof. Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy, Maynooth University, Maynooth, Co Kildare, Ireland Tel: 00 353 7086936 Fax: 00 353 1 7086952 > On 21 May 2019, at 08:08, Oeyvind Brandtsegg |
Date | 2019-05-22 03:34 |
From | pete.goodeve@COMPUTER.ORG |
Subject | Re: [Csnd] Manual is wrong on OSC host selection |
Attachments | None |