OSCroute as single external [Was: Re: [PD] port used by sendOSC]

Hans-Christoph Steiner hans at eds.org
Wed Dec 21 00:18:54 CET 2005


On Wed, 21 Dec 2005, Frank Barknecht wrote:

> Hallo,
> Hans-Christoph Steiner hat gesagt: // Hans-Christoph Steiner wrote:
>
>> It was possible before to compile the OSC objects as single externals, the
>> Pd-extended.app have included them like this for a long while.  Maybe it
>> didn't work on GNU/Linux.  Was there a problem with the OSCroute file that
>> I setup?
>
> No, nothing was wrong, OSCroute always built fine in the past. What I
> would like to achieve is a clearer separation of OSCroute, which is
> just a simple, but very useful Pd message external, with nothing
> specific to OSC about it at all actually, and the UDP networking and
> scheduling code in OSCx. Even when somebody starts doing a new
> implementation of the networking code, OSCroute will be a pretty
> important external and it doesn't need to change much.
>
> So basically all I did was remove the OSC-common.h header from
> OSCroute.c, as that is also used in the other OSC externals, to make
> OSCroute stand-alone and to make it possible to move it anywhere else
> in the future.
>
>> I say leave this code as is, for the most part, except to get it
>> building properly and to fix bugs.  OSCx (this current OSC lib) is
>> kind of a hack.  It would be nice to see some clean OSC objects,
>> perhaps with the networking handled by a separate object.
>
> OSCroute isn't a hack, it's a pretty normal Pd external, it just has
> collected a bit of dust, which I'm trying to shake off.  For that I
> cleaned up the code a bit, removed a lot of commented Max code and
> some practically unused variables and some code paths, that were just
> taken if TRUE == FALSE. This wasn't a lot of work actually.

I mean to say that the OSCx lib is kind of a hack because its basically 
just Pd ports of the command line OSC apps, sendOSC and dumpOSC, instead 
of being objects specifically designed for Pd.  I think that the interface 
could be much nicer, and how it fits into Pd.

.hc


> Ciao
> -- 
> Frank Barknecht                 _ ______footils.org_ __goto10.org__
>
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>

 	zen
 	   \
 	    \
 	     \




More information about the Pd-list mailing list