Max output to C++

Dec 6, 2007 at 10:25am

Max output to C++

Hi, I’m new to max so please bear with me!

I want to get max to output integers on localhost (or any other way, I’m open to suggestions) and then for C++ to recieve the data for processing. I have been looking into the net.tcp.send object and osc but there is no documentation saying how to use the objects, or any step by step tutorials.

The OSC seemed to be more complicated than the mxj tcp object so I started with tcp object. There is no reference to it in any of the max documentation, however, I found an article on the Cycling 74 website which had a screenshot of the object patch. I basically copied it and ran it, but not surprisingly it printed failure.

Any advice you can give me will be very much appreciated.

Thanks,

Alex

#34908
Dec 6, 2007 at 12:47pm

On 06 Dec 2007, at 11:26, Alex Matthews wrote:

>
> Hi, I’m new to max so please bear with me!
>
> I want to get max to output integers on localhost (or any other
> way, I’m open to suggestions) and then for C++ to recieve the data
> for processing. I have been looking into the net.tcp.send object
> and osc but there is no documentation saying how to use the
> objects, or any step by step tutorials.
>
> The OSC seemed to be more complicated than the mxj tcp object so I
> started with tcp object. There is no reference to it in any of the
> max documentation, however, I found an article on the Cycling 74
> website which had a screenshot of the object patch. I basically
> copied it and ran it, but not surprisingly it printed failure.
>
> Any advice you can give me will be very much appreciated.

hi,
for a similar purpose i have put together a little example class
(java) to work with max’s [mxj] object.
it demonstrates a way to send raw bytes using udp, though – might
still help you to sort out your problem.

http://www.esbasel.ch/Downloads/UdpSend+RecvRaw.zip

volker.

#118372
Dec 6, 2007 at 4:10pm

great! thanks very much. I’ll have a look.

#118373

You must be logged in to reply to this topic.