Kinect + MAX + Synapse

May 23, 2013 at 1:39am

Kinect + MAX + Synapse

Hello.

I’m working on a project that involves a Kinect, Max Msp and synapse (a programme for sending tracking information to max). My goal is to create an interactive window.

I don’t know if anyone knows anything about the programme Synapse, but i have a few questions. (if you don’t know the programme and you know other software or other solutions i would be happy to hear them!

My question is, how can I get both x and y axis at the same time send and imported into MAX/MSP/Jitter?

Now with the programme Synapse i can only get the x axis or the y axis or the z axis seperately in MAX.

For what i want to do i need to use both x and y (so i can determine a point on both x asis and y axis, which will trigger a video if somehone holds his hand in front of it).

I will post the synapse patch (i downloaded from the internet). THE FILES ARE TO BIG FOR THE ATTACHEMENT. so here’s the link to the website: http://synapsekinect.tumblr.com/post/6307790318/synapse-for-kinect and also the link where you can download the workfiles for max : https://github.com/jpbellona/Kinect-Via-Synapse

Anyone has any idea, or maybe a patch in which this does work or maybe even better software then synapse?

Thanks in advance!

#250389
May 23, 2013 at 5:14am

Synapse sends both x y and z, you need to use route and unpack to parse the osc stream.

#250414
May 23, 2013 at 6:26am

Nat is correct. The Kinect can provide you all the data simultaneously. And Synapse should provide it.

If you are interested, there are also native objects available for Max called jit.openni and dp.kinect.

 

#250422
May 23, 2013 at 8:18am

Synapse is also a bit special in the way it works, you need to send it a “keepalive” signal continuously in order to keep receiving data.

Make sure you fully read this page: http://synapsekinect.tumblr.com/post/6307752257/maxmsp-jitter

#250444
May 23, 2013 at 9:19am

also you may have a look @SimpleKinect:

it is as easy to use as Synapse, but has more features (doesn’t need Psi-Pose, counts people..)

http://deecerecords.com/kinect/

#250447
May 24, 2013 at 12:36am

Thanks for the answers!

I also am working with the programme Kinect Via Synapse. This programme lets me choose which of the axis I want to send to MAX. But I can only choose one at the time.

Should I create a new patch in MAX which can receive both x and y axis or should I try to make the Kinect Via Synapse working so that both x and y axis can be received in MAX?

Thanks.

#250554
May 24, 2013 at 2:55am

That’s not quite right strangebird, like the others said – you can. Or at least, for me it works

I just ripped a bit of functionality out of a kinect patch I have – just the bits I think might be useful for you – I hope this helps. I wasn’t able to test it because I don’t have my kinect connected, but it should work.

Look inside the subpatcher [p Set Up Joint coordinate Sending] how to make sure all coordinates are sent – there are a few other things in there too which you may find useful.

Let us know if it works!

 

<pre><code>

– Pasted Max Patch, click to expand. –

</code></pre>

 

#250561
May 24, 2013 at 6:24am

Thanks man! It does work and you made me really happy.

Now i need to figure out the exact coordinates for triggering events, but i’m sure that with enough experimenting i will find the right way.

#250573
May 24, 2013 at 7:45am

:-)

#250586
May 24, 2013 at 8:03am

But could you please tell me one more thing. Can’t find it anywhere on the internet.

I have posted a small part of my patch in the attachment.

My question is : what do i need to enter in the object below the number object so that a video is triggered when it’s between those two values? You can find this question also pasted in the patch.

Because >200 200 attribute)

Thanks.

Attachments:
  1. TRY.maxpat
#250588
May 24, 2013 at 8:23am

One way:

<pre><code>

– Pasted Max Patch, click to expand. –

</code></pre>

#250591
Dec 9, 2013 at 11:40am

I have tried Synapse on both OS 10.7.5 and Mavericks and it simply crashes every time I try to run it… It doesn’t get to any start window at all. Crashes all around.

Any thoughts on this? Can I run the Synapse app from anywhere, does the ‘data’ folder need to be anywhere in particular? I have tried half a dozen tutorials to get OpenNI, NI-Mate, jit.FreeEnect, jit.openni and simply nothing is working… super frustrated monday :)

I am operating the 1414 model with a power connector though I’m also wondering if the power connector is faulty somehow (though it does supply enough to get the green light blinking).

I am only seeing ‘Xbox NUI Motor’ under ‘Hub’ under ‘USB’ in the System reference. I’m still confused as to whether I should see three items listed or just the one?

I have also had trouble with the ‘port libusb-devel’ and ‘port libusb +universal’ actions when attempting to install libs etc on OS 10.7.5 and have never had a successful run with that so far.
On Mavericks I ran an install tutorial flawlessly (seemingly) and still no love.

Any thoughts?

#275232
Jan 16, 2014 at 8:57am

@MSTJEAN,

I’ve noticed Synapse would crash for me IF I moved Synapse.app executable away from the ‘data’ folder.
If I keep the the ‘data’ folder and Synapse.app together, it opens anywhere (without having to be in the ‘Applications’ folder).

Maybe that helps? I am running Mavericks (10.9.1).

Nick

#278379

You must be logged in to reply to this topic.