Forums > MaxMSP

Max output to C++

December 6, 2007 | 10:25 am

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


December 6, 2007 | 12:47 pm

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.


December 6, 2007 | 4:10 pm

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


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