Accelerometers => OSC => UDP => Max / Msp => ?? => DMX => Green Hippo

Mayou's icon

Hello,

Here is my situation :

I have one sensor which can provide acceleration values (3 axes) and magnetism values (3 axes too) and so 3 angles values (Yaw, Pitch, Roll regarding a set reference).

When my sensor is "ON", I can receive datas (Wireless) in my computer via an OSC server. (adjustable frequency from 25 Hz to 200 Hz) and send it to max via UDP. So I am now in max with 9 values received at the time with an adjustable sampling rate. (Let's say 100 Hz)

Now I decide to implement a simple patch which is detecting collision. Let's say I can do it and it works fine. (on X axis for example). I would like to send some messages to a Green Hippo server which works with DMX messages to display some pictures and videos. (Which are on the server).

The idea would be to make a little patch which send a different message one collision after another. So my Idea is to simply use a incremental solution which makes "+1" at each collision and then starts again when it has reached 100 for example. I can do that to.

Then I would like to know what is the best way to communicate with the server with DMX messages for example. Shall I have to send Midi (midiout, ctlout,..) to the server and how (interface)? or shall I convert collisions in Jitter DMX messages to talk with the server and how ? other ideas ?

It is more a technical solution than a programming solution that I am looking for.

I don't know the version of the green-hippo server but it accepts :

VGA / RGBHV*, SDI*, Composite Video, S-Video, RS232,
Midi*, DMX512*, DMX over Ethernet, HD-SDI*,
DVI upto 1920 x 1200.

So what is the best way to go from my OSC values (computer and max) to a green hippo server which accepts message like DMX ?

I searched through the forum but I am not really aware of Jitter (not yet ;)), and not aware of ligthing solutions like DMX, Artnet, Green hippo or Catalyst. Maybe you have some clues or some tutoriales to do it ?

Thanks a lot,

Have a nice day,

Mathieu

justin's icon

check out this excellent tutorial for DMX: https://cycling74.com/forums/sharing-jitter-dmx-tutorials

but IMO this would be easier to achieve if u kept it all in jitter, unless you're using specific features from greenhippo (pixel mapping etc...)

Mayou's icon

Thanks, its what I am currently checking but I don't understand all the tutorial as I have never worked with DMX and Green Hippo =). For the moment I have to plan what I will do and I would like to choose the right way.

I think the guys I'll work with have to use a GreenHippo server (I don't know why for the moment), but I will have to find the best way to act on pictures / videos triggering on the server from Max.

Maybe the solution is in this tutorial =)

Thanks Justin,

Mathieu

Hippo_tech's icon

Hi Mathieu

In the latest beta version of Hippotizer software 3.0.14 we do support OSC natively.

We also have a component called pin bridge plus.

This has a basic LUA scripting engine that will allow you to add the incremental solution of plus 1 every time the sensor is triggered.

please don’t hesitate to email me for more information tom(at)green-hippo(dot)com.

Thanks
Tom

Mayou's icon

Thanks for your answer Tom.

I will certainly email you soon to have some information.

Have a nice day

Mathieu