Forums > MaxMSP

otudp or udpreceive

September 19, 2007 | 9:08 am

hello, Michael,
I use a Kroonde of la Kitchen, for my old Mac OS X Max/MSP 4.5 it
works fine, but for my new MacBook Core Duo Intel. OS 10.4.8 max/MSP
4.6, it doesn’t work, I read from website that the "otudp" is
obsolete, then I have replaced the "otudp" with "udpreceive" it still
doesn’t work, can I download a new UB "otudp" for MacBook from
CNMNAT? where? thanks

best

Shing-kwei

On Sep 19, 2007, at 3:04 AM, mzed wrote:

>
> Quote: carlo-laurenzi wrote on Tue, 18 September 2007 11:22
> —————————————————-
>> Does Threefates has a limit in handling tuples amounts? 1024,
>> 2048?…
>
>
> Eventually it will run out of memory, but it can do at least 100000.
>
> mz
>
> –
> || michael f. zbyszynski — molecular gastronimist
> || http://www.cnmat.berkeley.edu/
> || http://www.mikezed.com/
>
>
>
>


September 19, 2007 | 2:17 pm

Sadly, CNMAT no longer supports otudp (because Cycling ’74 has released udpsend/udprecieve).

-Brian

> —– Original Message —–
> From: tzeng
> Subject: [maxmsp] Re: otudp or udpreceive
> Date: Wed, 19 Sep 2007 17:08:44 +0800
>
>
> hello, Michael,
> I use a Kroonde of la Kitchen, for my old Mac OS X Max/MSP 4.5 it
> works fine, but for my new MacBook Core Duo Intel. OS 10.4.8
> max/MSP 4.6, it doesn’t work, I read from website that the
> "otudp" is obsolete, then I have replaced the "otudp" with
> "udpreceive" it still doesn’t work, can I download a new UB
> "otudp" for MacBook from CNMNAT? where? thanks
>
> best
>
> Shing-kwei
>
> On Sep 19, 2007, at 3:04 AM, mzed wrote:
>
> >
> > Quote: carlo-laurenzi wrote on Tue, 18 September 2007 11:22
> > —————————————————-
> >> Does Threefates has a limit in handling tuples amounts? 1024, 2048?…
> >
> >
> > Eventually it will run out of memory, but it can do at least 100000.
> >
> > mz
> >
> > –
> > || michael f. zbyszynski — molecular gastronimist
> > || http://www.cnmat.berkeley.edu/
> > || http://www.mikezed.com/
> >
> >
> >
> >
>

>


September 19, 2007 | 3:01 pm

I switched to udpsend/udprecieve with no problems BUT some messages get lost
in a wireless connection. I use it on a LAN with an ethernet hub,

On 9/19/07 10:17 AM, "Brian Willkie" wrote:

> Sadly, CNMAT no longer supports otudp (because Cycling ’74 has released
> udpsend/udprecieve).
>
>
> -Brian

Cheers
Gary Lee Nelson
Oberlin College
http://www.timara.oberlin.edu/GaryLeeNelson


September 19, 2007 | 6:37 pm

Hi Gary,

Just to clarify, while it may not contribute to Shing-kwei’s problem, the issue with udpsend is that it lacks a way to post messages sent to its port. Therefor one cannot register a client built in Max with SuperCollider (i.e. one cannot recieve messages back from scsynth after sending a "/notify 1" message to it). otudp supported this behavior. Sadly Cycling ’74 has thus far been unwilling to address this issue.

-Brian

> —– Original Message —–
> From: "Gary Lee Nelson"
> To: Max
> Subject: Re: [maxmsp] Re: otudp or udpreceive
> Date: Wed, 19 Sep 2007 11:01:59 -0400
>
>
> I switched to udpsend/udprecieve with no problems BUT some messages get lost
> in a wireless connection. I use it on a LAN with an ethernet hub,
>
>
> On 9/19/07 10:17 AM, "Brian Willkie" wrote:
>
> > Sadly, CNMAT no longer supports otudp (because Cycling ’74 has released
> > udpsend/udprecieve).
> >
> >
> > -Brian
>
>
> Cheers
> Gary Lee Nelson
> Oberlin College
> http://www.timara.oberlin.edu/GaryLeeNelson
>
>

>


September 19, 2007 | 7:29 pm

Can you stick a udpreceive on the same port number and get the messages that way?

mz


September 19, 2007 | 7:56 pm

Nope. I get an error that udprecieve can’t bind to that port (presumably because udpsend already has – or vice versa).


September 19, 2007 | 8:01 pm

I’m sure I’m misunderstanding something here, but can’t you just have SC
send an OSC message back on a different port?

AB


September 19, 2007 | 8:14 pm

Quote: andrewb@cycling74.com wrote on Wed, 19 September 2007 13:01
—————————————————-
> I’m sure I’m misunderstanding something here, but can’t you just have SC
> send an OSC message back on a different port?
>
> AB
>
—————————————————-

It is a part of the User Datagram Protocol (udp) that replies can be addressed to a sending port unless otherwise specified. Udpsend should be able to handle reply packets, or specify an alternate reply-to port.

That being said, I have no trouble having multiple udpsend and udpreceives bound to the same port… and the help file does it. Both of my Intel Macs, Max 4.6.3, OS 10.4.10.

mz


September 19, 2007 | 8:17 pm

>From the SC documentation (Server-Command-Reference:

/notify register to receive notifications from server
int – one to receive notifications, zero to stop receiving them.

If argument is one, server will remember your return address and send you notifications. if argument is zero, server will stop sending you notifications.

"remember your return address" means it sends messages back to the port that sent out the "/notify 1" command. So the short answer is no, there is no way to have the server direct notifications somewhere else.

> —– Original Message —–
> From: "andrew benson"
> Subject: Re: [maxmsp] Re: Re: otudp or udpreceive
> Date: Wed, 19 Sep 2007 13:01:15 -0700
>
>
> I’m sure I’m misunderstanding something here, but can’t you just
> have SC send an OSC message back on a different port?
>
> AB

>


September 19, 2007 | 8:22 pm

All I can say is that the last time I tried it, I couldn’t get it to work. But if it works on your machines, perhaps it’s worth trying again.

Thanks,
Brian


September 19, 2007 | 8:36 pm

Actually, it works for me in a Max-only context.

When I started playing with SC, I found your troubles. To wit, I created a server:

(
s = Server(myServer, NetAddr("127.0.0.1", 58009));
s.boot;
)

And then udpreceive in Max would not bind to port 58009. Like so:

udpreceiver: binding to port 58009
• error: udp.recv: bind to port 58009 unsuccessful.
there is probably something already bound to this port.


September 19, 2007 | 8:39 pm

Quote: mzed wrote on Wed, 19 September 2007 13:36
—————————————————-
>
> there is probably something already bound to this port.
>
—————————————————-

Message cut in half.

I’m a bit of an SC noob, could somebody point me towards examples of using OSC to communicate between Max and SC?

Also, I’d rather Cycling added an output to udpsend than having to revive otudp. ^_^

mz


September 19, 2007 | 10:55 pm

Hi folks,

Please keep your subjects consistent, this thread has gotten spread all over the forum.

Cheers

-A


September 20, 2007 | 12:15 am

There is no UB otudp. udpreceive should work, could you be more specific about how it fails?

Or, you could try contacting la Kitchen. ^_^

mz

Quote: tzeng wrote on Wed, 19 September 2007 02:08
—————————————————-
> hello, Michael,
> I use a Kroonde of la Kitchen, for my old Mac OS X Max/MSP 4.5 it
> works fine, but for my new MacBook Core Duo Intel. OS 10.4.8 max/MSP
> 4.6, it doesn’t work, I read from website that the "otudp" is
> obsolete, then I have replaced the "otudp" with "udpreceive" it still
> doesn’t work, can I download a new UB "otudp" for MacBook from
> CNMNAT? where? thanks
>
> best
>
> Shing-kwei
>
> On Sep 19, 2007, at 3:04 AM, mzed wrote:
>
> >
> > Quote: carlo-laurenzi wrote on Tue, 18 September 2007 11:22
> > —————————————————-
> >> Does Threefates has a limit in handling tuples amounts? 1024,
> >> 2048?…
> >
> >
> > Eventually it will run out of memory, but it can do at least 100000.
> >
> > mz
> >
> > –
> > || michael f. zbyszynski — molecular gastronimist
> > || http://www.cnmat.berkeley.edu/
> > || http://www.mikezed.com/
> >
> >
> >
> >
>
>
—————————————————-


September 21, 2007 | 12:52 am

Thanks! I’ll double check.
SK.
—– Original Message —–
From: "Andrew Pask"
To:
Sent: Thursday, September 20, 2007 6:55 AM
Subject: [maxmsp] Re: Re: Re: Re: otudp or udpreceive

>
> Hi folks,
>
> Please keep your subjects consistent, this thread has gotten spread all
> over the forum.
>
> Cheers
>
>
> -A
>
>
>


October 31, 2007 | 1:17 pm

hej tzeng and others!

you posted this under the subject:chord randomizer:

Two weeks ago I have posted a topic about " otudp vs. udpreceive" There were
many feedbacks, thanks everybody.
Although I don’t understand many communication’s terminology, but later I
find my solution as : I just put "udpreceive" direct to " route /kroonde" (
without OpensoundControl and it works fine!)

I have the same problem but for me this doesn’t work! the max window just prints: net.recv.udp: OSC expected type string.Dropping message for address…

?????
Thank you!


Viewing 16 posts - 1 through 16 (of 16 total)