Leap MoDULAtion

A Max For Live device to control any Ableton Live parameter moving hands and fingers in 3D space using the Leap Motion.

New in version 0.2:

  • device is now based on Ircam’s leapmotion external

  • new mapping method

  • both Mac and Windows compatible (haven't still tested the Windows version, any feedback would be appreciated)

LeapModulation_02-MAC.zip
zip
LeapModulation_02_WIN.zip
zip
gweilo's icon

A brilliant idea, I've been waiting for something like this! Unfortunately it crashes Live 8.4.1 on OS X 10.6.8. I'll keep checking for updates!

LSka's icon

Hi Gweilo,
the device is built upon Max 6.1 and Ableton Live 9.
I'll investigate if it's possible to make a Live 8 compatible version.

gweilo's icon

Thanks for your quick reply, LSKA. I actually plan to upgrade Max and Live soon, and I'm looking forward to try out your device.

MBM's icon

It doesn´t work for me. I´ve tried to download aka.leapmotion but it gives me problems. I am with Max 6.13, Ableton Live 9 and Mountain Lion. What could be wrong? Thank you very much!

MBM's icon

This is exactly what Max Windows appears in: "aka.leapmotion: unable to load object bundle executable
2013-10-07 21:42:59.173 Max[654:c07] Error loading /Applications/Max 6.1/patches/extras/aka.leapmotion.mxo/Contents/MacOS/aka.leapmotion: dlopen(/Applications/Max 6.1/patches/extras/aka.leapmotion.mxo/Contents/MacOS/aka.leapmotion, 262): no suitable imag
e found. Did find:
    /Applications/Max 6.1/patches/extras/aka.leapmotion.mxo/Contents/MacOS/aka.leapmotion: mach-o, but wrong architecture"

LSka's icon

This kind of error seems to be related to 64bit support. Are you running Ableton or Max in 64bit mode?

MBM's icon

Yes, both of them in 64bit mode. I was suspected about it. Thank you very much, and congratulations for your idea, I like it very much. Do you know Geco?

LSka's icon

The only thing I can suggest you is to try to compile aka.leapmotion for 64 bit architecture. You can find the sources here.

Yes, I have seen Geco and it seems really interesting, especially regarding gesture support.
It outputs MIDI data based on gestures, while I was much more interested in generating continous control data for devices, and the possibilities of thus creating complex, subtle and somehow unpredictable patterns, rather than quantized values.

But I'l soon give it a try!

Thanks for your feedback!

MBM's icon

:-)

gusadel's icon

Hi MBM.

Have you solved the problem ? I get the same message. The aka.leapmotion works perfect on my MaxMSP 6.1.3 (64bit mode) without Ableton Live 9.0.6 (64bit mode) opened at the same time.

Any suggestions ?

Gus.

aka.leapmotion: unable to load object bundle executable
2013-10-08 20:00:16.109 Max[1892:f07] Error loading /Users/studiomosiello/Library/Application Support/Cycling '74/temp64-Max/mxt/aka.leapmotion.mxo/Contents/MacOS/aka.leapmotion: dlopen(/Users/studiomosiello/Library/Application Support/Cycling '74/temp64
-Max/mxt/aka.leapmotion.mxo/Contents/MacOS/aka.leapmotion, 262): no suitable image found. Did find:
    /Users/studiomosiello/Library/Application Support/Cycling '74/temp64-Max/mxt/aka.leapmotion.mxo/Contents/MacOS/aka.leapmotion: mach-o, but wrong architecture
Warning: you have multiple files in your search path with the name aka.leapmotion.mxo

MBM's icon

Hi, no, I´ve not solved it. I don´t know compile. But at least aka.leapmotion works in your Max/MSP. It doesn´t in my MacPro :-(

gusadel's icon

Well

Have you tried to copy aka.leapmotion.mxo into the same folder of the aka.leapmotion.maxhelp file ?

LSKA ! Tell us something ! Fatti vivo ! dacci una mano !

Gus.

MBM's icon

Yes, I´ve tried it, and doesn´t work. Thank you anyway.

gusadel's icon

Ok. Solved. Ableton Live must be 32 bit version + MaxMSP 64 bit.

LSka's icon

@Gusadel so can you confirm it is working for you in Live 32bit?

Unfortunately, I don't have the programming skills to dig into akamatsu's code and find a better solution for getting the external to work... I've tried to build aka.leapmotion against the latest SDK's but I get this error in Max Window
aka.leapmotion: unable to load extern, object has no 'main' function

gusadel's icon

I confirm. It is working in Live 32bit.

Gus.

gweilo's icon

Hi LSKA,
I Just upgraded to the newest versions of Max4Live 6 and Live 9, both the 64 bit versions and your device works fine. Keep up the good work :)

Lex.

MBM's icon

Hi, Gweilo, could you explain how did you do for that it works fine in Max? I can´t do it. Thank you very much in advance.

leapformax's icon

Guys you could try for me the beta of leapformax

www.leapformax.com

Stephane Morisse's icon

Works fine with OSX 10.8.5 live 9.12 and Max 6.18 in 32 bits mode.

Stephane Morisse's icon

Just made a mod for it to add rsliders to scale the output of each finger and palms independently from the settings float window. Do you want it ?

LSka's icon

Sure! would you mind sharing it here? or if you prefer to send me a mail at ls@lska.org

Stephane Morisse's icon

Of course I share it. Just asked if you cared. BTW, it seems the Leapmotion has a hard time tracking the Y axis (vertical). So I changed the minimum input scale value for all the Y coordinates from 10 to 30. That seemed to ease things a bit on the lower part but this axis is still the less precise one. Feel free to play with the values (Leap motion drivers V2.05).

leapmoDULAtionMOD.amxd.zip
zip
LSka's icon

Hi all,
I have updated the device: http://www.lska.org/leap-modulation/
waiting your opinions!

cheers,
LSKA

Stephane Morisse's icon

I've tried it very quickly and the tracking seems much smoother... Will test it further and tell you. Since when has this Ircam's external been available ?

LSka's icon

Hi Stephane,
thanks for the feedback. I found this external a couple months ago, but the page http://ismm.ircam.fr/leapmotion/ is dated nov, 7 2014.

eggsyntax's icon

Hi LSKA,

Thanks so much for this, it's terrific stuff! The only problem that I have is that I'm unable to record automation data for any parameter mapped from LeapModulation's "map" buttons. So for example, suppose I map left-palm-X to the volume of a softsynth (added to the same track, immediately to the left of LeapModulation). Then I can play notes on the softsynth, changing the volume throughout by moving my left hand. But if I try to record (whether I'm recording in a session clip or directly to the arrangement), the notes record but the volume changes don't.

Is there any way to get around this that you know of? Is it a bug, or a known limitation with some part of the toolchain?

Thanks again! -Egg

Published

Creative Commons License

Author